WAN 2.6 (Reference-to-Video)

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

All models
Parameters

Whether to generate audio. Supported by wan2.6-r2v-flash.

Text prompt. Refer to references as character1, character2, etc. by order.

Video length in seconds.

Add a watermark.

Reference image URLs. Combined image_urls + video_urls count must be 1-5.

Reference video URLs. Combined image_urls + video_urls count must be 1-5.

Mapped with resolution to DashScope parameters.size.

Enable prompt rewriting.

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.6-reference-to-video",
  "input": {
    "audio": true,
    "duration": 5,
    "shot_type": "single",
    "watermark": false,
    "resolution": "1080p",
    "aspect_ratio": "16:9",
    "prompt_extend": true
  }
}'