Video models
Wan 2.7 Video
On this page
Wan 2.7 Video — high-quality AI video generation.
| modelId | wan-2-7-text-to-video |
| Modality | video |
| Pricing | See this model on the Pricing page for the current per-call price (with your markup). |
Operations
| Operation | Endpoint | Description |
|---|---|---|
| Text to video | POST /api/v1/generate | Base generation from a text prompt. |
| Image to video | POST /api/v1/generate | Condition on a reference image — upload it via /api/v1/files/upload and pass the URL. |
| Poll task | GET /api/v1/task/{id}?model=wan-2-7-text-to-video | Retrieve state and result URLs. |
Input parameters
| Field | Type | Required | Values / example |
|---|---|---|---|
| prompt | textarea | required | Enter your text here... |
| negative_prompt | textarea | optional | Enter your text here... |
| audio_url | image | optional | Drag and drop or click to upload your image |
| resolution | select | optional | 720p, 1080p |
| ratio | select | optional | 16:9, 9:16, 1:1, 4:3, 3:4 |
| duration | number | optional | — |
| prompt_extend | select | optional | false, true |
| watermark | select | optional | false, true |
| seed | number | optional | Enter number... |
| nsfw_checker | select | optional | false, true |
Example request
bash
curl -X POST https://you.bot/api/v1/generate \
-H "Authorization: Bearer $YOUBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"modelId":"wan-2-7-text-to-video","input":{"prompt":"A sandcastle builds itself grain by grain on an empty beach in time-lapse. Audio: soft waves, distant seagulls.","negative_prompt":"…","resolution":"1080p","ratio":"16:9","duration":5,"prompt_extend":"true","watermark":"false","seed":0,"nsfw_checker":"true"}}'