Qwen Video · Introduction
Qwen video generation uses the qwen gateway; select the concrete video model with the request body model field. Based on the Wan 3.0 / Wan 2.7 / Wan 2.5 preview, HappyHorse and Vidu families, covering text-to-video / image-to-video / reference-to-video / video editing. The submit endpoint returns a id; video jobs are asynchronous and require polling. • Wan 3.0 (all-in-one): a single model name handles text / image / reference-to-video, decided automatically from the request payload (pass a reference image for image-to-video, first/last frame for keyframes, nothing for text-to-video); the name contains no t2v/i2v/r2v token. Comes as standard wan3.0-video and high-speed wan3.0-video-prime (same capability, faster, ~1.5x price); supports 480P / 720P / 1080P (default 1080P); duration 2-30 (pass -1 for smart duration). • Wan 2.7: text-to-video, image-to-video with optional audio, reference-to-video, video editing; 720P / 1080P. wan2.7-i2v supports three tasks: first-frame, first+last frame (pass lastFrameUrl), and video continuation (pass a .mp4/.mov in imageUrls). • Wan 2.5 preview: text-to-video (wan2.5-t2v-preview), image-to-video (wan2.5-i2v-preview, audio on by default); 480P / 720P / 1080P; duration only 5 / 10. • HappyHorse 1.0 / 1.1: text / image / reference to video and video editing (happyhorse-1.0/1.1-t2v / -i2v / -r2v, video-edit 1.0 only). 720P / 1080P; duration 3-15; r2v accepts multiple reference images (<=9). • Vidu (vidu/viduq3-pro_img2video): image-to-video. Note: account not enabled / allowlist closed — currently unavailable.
This page has been rewritten for the unified API: create with POST /v1/videos, poll with GET /v1/videos/{id}, authenticate with Authorization: Bearer <key>, errors use the OpenAI format. See the video guide for the common parts. Video guide
How to call
- Create:
POST /v1/videos - Get:
GET /v1/videos/{id} - Download:
GET /v1/videos/{id}/content
Creating returns a video object right away (status: queued). Poll GET /v1/videos/{id} until status is completed or failed; when done, url is the result address, and you can also download it with GET /v1/videos/{id}/content.
Capability map
💰 See the pricing page for prices →
Common errors
Errors use the OpenAI format; decide by the status code and error.code.
| Status | code | When |
|---|---|---|
| 400 | invalid_request | Parameter validation failed; the model-specific validation message is in message. |
| 400 | content_policy_violation | The prompt or material was blocked by content rules. |
| 400 | model_not_found | Not a supported video model. |
| 402 | insufficient_quota | Insufficient balance. |
| 403 | model_not_allowed | The model is not in the key's allowlist. |
| 429 | task_limit_reached | The number of concurrent tasks reached the limit. |
| 404 | not_found | Unknown task id or it belongs to another account; downloading before completion returns video_not_ready. |
If a task fails after it was submitted, the get call returns status: failed with error. Keys on the old-format list receive the old MiniMax response format on the same URL; see the video guide.
Tip: after saving your API Key via Authorize, every capability page supports "Try it".