WAN 2.7 (Image-to-Video)

Alibaba WAN 2.7 video generation and editing via Bailian/DashScope. Text-to-video, image-to-video, reference-to-video, and video editing with synced audio, 720p / 1080p. · alibaba

All models
Parameters

Text prompt guiding the animation.

Video length in seconds.

Add a watermark.

Driving audio URL(s); the first is used for first-frame generation and is not supported with first_clip_url.

For first/last-frame generation: image_urls[0] is first_frame, image_urls[1] is optional last_frame. For first_clip_url continuation: image_urls[0] is optional last_frame.

Enable prompt rewriting.

Optional first video clip URL for video continuation (MP4/MOV). If omitted, image_urls[0] is required.

Negative prompt.

Pricing
200credits
5s
Per second40 credits/s
Result

Configure parameters and click Run to test the API.

Code Example
curl -X POST https://aivideoapi.ai/v1/videos/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan-2.7-image-to-video",
  "input": {
    "duration": 5,
    "watermark": false,
    "resolution": "1080p",
    "prompt_extend": true
  }
}'