Qwen Video · Video

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

  1. Create: POST /v1/videos
  2. Get: GET /v1/videos/{id}
  3. 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.

StatuscodeWhen
400invalid_requestParameter validation failed; the model-specific validation message is in message.
400content_policy_violationThe prompt or material was blocked by content rules.
400model_not_foundNot a supported video model.
402insufficient_quotaInsufficient balance.
403model_not_allowedThe model is not in the key's allowlist.
429task_limit_reachedThe number of concurrent tasks reached the limit.
404not_foundUnknown 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".