##All APIs require Bearer Token authentication##
Get API Key:
Visit API Key Management Page to get your API Key
Add to request header when using:
Authorization: Bearer YOUR_API_KEYModel name
wan2.5-image-to-video "wan2.5-image-to-video"
Prompt describing what kind of video to generate, limited to 2000 tokens
2000"A cat playing the piano"
Reference image URL list for first-frame image-to-video feature
Note:
1 image10MB.jpeg, .jpg, .png (transparent channels not supported), .bmp, .webp[360, 2000] pixels.png, .jpg)1["https://example.com/image1.png"]Specifies the duration of the generated video (seconds)
Note:
5 and 10, representing 5 seconds and 10 seconds respectivelyduration, with actual charges based on the generated video duration in seconds5
Video quality, defaults to 720p
Description:
480p: Lower quality, lower price720p: Standard quality, standard price, this is the default1080p: High quality, higher price"720p"
Whether to enable intelligent prompt rewriting. When enabled, a large language model will optimize the prompt. This is particularly effective for prompts that lack detail or are too simple. Default value is true
true
HTTPS callback address after task completion
Callback Timing:
Security Restrictions:
2048 charactersCallback Mechanism:
10 seconds3 retries on failure (retries after 1 second/2 seconds/4 seconds)"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.5-image-to-video"
Specific task type
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Video task detailed information
Task output type
text, image, audio, video "video"
Usage and billing information