Wan2.7 Image to Video
- Wan 2.7 image-to-video model, supporting single-image-to-video, first-last-frame transition, and video continuation
- Async processing mode, use the returned task ID to query task status
- Generated video links are valid for 24 hours, please save them promptly
Authorizations
All APIs require Bearer Token authentication
Add to request header:
Authorization: Bearer YOUR_API_KEY
Body
wan-2.7-image-to-video: Single-image-to-video, first-last-frame transition, video continuation
"wan-2.7-image-to-video"
Generation mode
Options:
image-to-video-- Single image to video, exactly 1 image inimage_urlsfirst-last-frame-- First-last-frame transition, exactly 2 images inimage_urlsvideo-continuation-- Video continuation based onvideo_url
Notes:
- Auto-inferred from input when not specified
image-to-video, first-last-frame, video-continuation "image-to-video"
List of image URLs
Notes:
- Image-to-video: provide 1 image
- First-last-frame transition: provide 2 images, in order of first frame and last frame
["https://example.com/start.jpg"]Public URL of the input video
Notes:
- Used for video continuation mode
- Cannot be provided together with
image_urls
"https://example.com/clip.mp4"
Optional prompt for describing desired camera movement, subject actions, or scene transitions
5000"The camera slowly pushes in as the subject smiles"
Public URL of the driving audio
Notes:
- Optional, supports WAV / MP3
- Model generates background music automatically if not provided
"https://example.com/music.mp3"
Output video duration in seconds, supports integer values from 2-15
2 <= x <= 152
Output video resolution
Options: 720p, 1080p
720p, 1080p "720p"
Negative prompt describing content to avoid
500"blurry, jitter"
Random seed for reproducibility
0 <= x <= 2147483647123
Whether to enable prompt expansion. Uses model default if not specified
true
Whether to enable safety checker. Uses model default if not specified
true
Response
Task created successfully
Task creation timestamp
1757165031
Task ID
"task-unified-1757165031-uyujaw3d"
Actual model name used
Specific task type
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Asynchronous task information
Task output type
video "video"