Skip to content
LLM-friendly formats:

Video Generation (Sync)

Endpoint: POST /video/{family}/{model}/{task}

Generate video with immediate response.

Image-to-Video (i2v)

Animate a still image with motion.

Terminal window
curl -X POST "https://sync.render.weyl.ai/video/wan/default/i2v?format=720p" \
-H "Authorization: Bearer $WEYL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "she slowly turns to face the camera",
"image": "https://example.com/portrait.jpg",
"duration": 3,
"cfg": 7.0
}' \
-o output.mp4

Parameters

Required:

  • prompt - Motion description
  • image - Source image URL or data URI

Optional:

  • duration - Video length in seconds (0.5-10, default: 2)
  • cfg - Guidance scale (6-8 for WAN)
  • steps - Inference steps
  • seed - Random seed

Response

HTTP/1.1 200 OK
Content-Type: video/mp4
Content-Location: https://cdn.render.weyl.ai/v/xyz123.mp4
<video bytes>