About WAN 2.7 - Text to Video
WAN 2.7 text-to-video generates video from a text prompt with enhanced motion smoothness, superior scene fidelity, and greater visual coherence over previous versions. Supports 720P and 1080P output, durations from 2-15 seconds, multiple aspect ratios (16:9, 9:16, 1:1, 4:3, 3:4), multi-shot generation, and optional driving audio.
Ready to build with WAN 2.7 - Text to Video?
Try WAN 2.7 - Text 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-text-to-video",
"prompt": "A kitten running in a meadow, cinematic lighting, smooth camera movement.",
"aspect_ratio": "16:9",
"resolution": "1080P",
"duration": 5,
"prompt_extend": true,
"watermark": false
}'Request parameters
Every field WAN 2.7 - Text 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 500 characters. Ask for a single-shot or multi-shot video, or describe shots with timestamps, to control the shot structure. |
audio_url | stringuri | No | — | Optional audio to drive the video, 2 to 30 seconds, WAV or MP3 up to 15 MB. Without it the model generates matching audio. |
aspect_ratio | string | No | "16:9" | 16:99:161:14:33:4 |
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 |