##All APIs require Bearer Token authentication##
Get API Key:
Visit API Key Management Page to get your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEYModel name
wan2.6-image-to-video-flash "wan2.6-image-to-video-flash"
Prompt describing the desired video, limited to 1500 characters
1500"A cat playing piano"
Reference image URL list for first-frame image-to-video generation
Note:
1 image10MB.jpeg, .jpg, .png (no transparency), .bmp, .webp[360, 2000] pixels.png, .jpg)1["https://example.com/image1.png"]Especifica la duración del video generado (en segundos)
Nota:
2~15 segundosduration, el cargo real se basa en la duración del video generado2 <= x <= 155
Video quality, defaults to 720p
Options:
720p: Standard quality, standard pricing, this is the default1080p: High quality, higher pricing"720p"
Whether to enable intelligent prompt rewriting. When enabled, uses a large model to optimize the prompt, particularly effective for simple or insufficiently descriptive prompts. Default is true
true
Model parameter configuration
Audio file URL, the model will use this audio to generate the video
Format requirements:
mp33~30 seconds15MBOverflow handling:
duration value (5 or 10 seconds), automatically truncates to first 5 or 10 seconds, remaining part is discarded"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/xxx.mp3"
Whether to generate audio, defaults to true
Options:
true: Generate video with audio, higher pricingfalse: Generate video without audio, lower pricingtrue
HTTPS callback URL for task completion
Callback timing:
Security restrictions:
2048 charactersCallback mechanism:
10 seconds3 retries on failure (retries at 1/2/4 seconds after failure)"https://your-domain.com/webhooks/video-task-completed"
Video task created successfully
Task creation timestamp
1757169743
Task ID
"task-unified-1757169743-7cvnl5zw"
Actual model name used
"wan2.6-image-to-video-flash"
Specific task type
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Video task details
Task output type
text, image, audio, video "video"
Usage and billing information