Qwen Video · Video Generation

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 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 taskId; video jobs are asynchronous and require polling. • Wan 2.7: text-to-video, image-to-video with optional audio, reference-to-video, video editing; 720P=60 credits/sec, 1080P=100 credits/sec. 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=30 / 720P=60 / 1080P=100 credits/sec; 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=90 / 1080P=160 credits/sec; except happyhorse-1.1-r2v 1080P=120. 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.

How to call

  1. Submit: POST /api/cqt/generator/qwen, returns a taskId.
  2. Query: GET /api/cqt/info/qwen?id=taskId, poll until status = succeeded.

Capability map

Common Errors

CodemsgMeaningHow to fix
451prompt_unsafe / image_unsafe / video_unsafePrompt, input image/video, or generated result was flaggedEdit the prompt or replace input assets, then retry
400invalid_requestInvalid parameter, unsupported model, or invalid valueCheck model / imageUrls / duration / aspectRatio fields
500failed / timeoutTask failed or timed out; data.errorMsg usually contains detailsAdjust based on the error and retry; contact support if it persists

Errors are returned as upstream bizCode, e.g. upstream bizCode=451, msg=prompt_unsafe.

Tip: after saving your API Key via Authorize, every capability page supports "Try it".