About WAN 2.7 - Image to Video
WAN 2.7 image-to-video animates a static image into video with enhanced motion smoothness, superior scene fidelity, and greater visual coherence over previous versions. Supports first-frame-to-video, first-and-last-frame-to-video, and video continuation from a starting clip with an optional last frame. Output up to 1080P with durations from 2-15 seconds, plus optional driving audio for lip-sync and action timing.
Ready to build with WAN 2.7 - Image to Video?
Try WAN 2.7 - Image to Video in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
curl -sSf -X POST https://hub.oxen.ai/api/ai/videos/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "wan-v2-7-image-to-video",
"prompt": "The camera slowly zooms in while the subject comes to life, cinematic lighting.",
"resolution": "1080P",
"duration": 5,
"prompt_extend": true,
"watermark": false
}'Request parameters
Every field WAN 2.7 - Image to Video accepts in the request body. See the API reference for response formats.
POST
https://hub.oxen.ai/api/ai/videos/generate| Field | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Text prompt for the video. Chinese and English, up to 5,000 characters. |
input_image | stringuri | No | — | First frame of the video. JPEG, PNG, BMP, or WEBP up to 20 MB. Leave empty when continuing from a video. |
tail_image_url | stringuri | No | — | Optional last frame. Same requirements as the first frame. |
input_video | stringuri | No | — | Optional clip to continue from, 2 to 10 seconds, MP4 or MOV up to 100 MB. Leave empty when starting from an image. |
audio_url | stringuri | No | — | Optional audio for lip sync and timing, 2 to 30 seconds, WAV or MP3 up to 15 MB. |
resolution | string | No | "1080P" | 720P1080P |
duration | integer | No | 5 | Range: 2 – 15 |
negative_prompt | string | No | — | What to keep out of the video. Up to 500 characters. |
prompt_extend | boolean | No | true | Let the model expand short prompts. Adds processing time. |
watermark | boolean | No | false | Add an AI-generated watermark in the bottom-right corner. |
seed | integer | No | — | Seed for reproducible generation. Range: 0 – 2147483647 |