CQTAI
Vidu · Video

Text to VideoNEW

📌 What is this:Generate a video from a text description.
💡 When to use:Use to turn a text idea straight into a clip; sending no image / video material means text-to-video.

Endpoints

UsageMethodPath
Submit taskPOST/api/cqt/generator/vidu
Query ResultGET/api/cqt/info/vidu?id={taskId}
⏱ Recommended polling interval:Generation takes ~1-3 min; poll every 10-15s until status = succeeded / failed.

Sub-models

Sub-models that support this mode. The tiers column is credits/sec (generateAudio → = audio tier, videoUrls → = with-reference-video tier). Resolutions / durations not listed are rejected at submit (no charge).

modelUsageMaterialsDuration (sec)Tier price (credits/sec)
vidu-q3-proQ3 Pro high quality (text / image)None (text only)1~10540P=31.3 / 720P=78.2 / 1080P=93.8 / 2K=112.6 / 4K=135.1
vidu-q3-turboQ3 Turbo fast; all three modesNone (text only)1~10540P=25 / 720P=37.5 / 1080P=43.8 / 2K=52.6 / 4K=63.1
vidu-q2Q2 (text / reference)None (text only)1~10720P=32 / 1080P=47 / 2K=70 / 4K=105

Request Parameters

ParamTypeRequiredDescription
modelstringRequiredSub-model: vidu-q3-pro / vidu-q3-turbo / vidu-q2 (see the sub-model table below)
promptstringRequiredVideo description (required for text-to-video)
negativePromptstring—Negative prompt (optional)
durationinteger—Duration (sec), range depends on the sub-model (see table), default 5
resolutionstring—540P / 720P / 1080P / 2K / 4K (available tiers depend on the sub-model), default 720P (or the lowest tier if 720P is unavailable); 2K / 4K are upscaled
aspectRatiostring—Aspect ratio, e.g. 16:9 / 9:16 / 1:1
enhancePromptboolean—Whether to auto-enhance the prompt (optional)
seedinteger—Random seed (optional)
returnFirstFrame / returnLastFrame / returnFrameAtSecondboolean / boolean / number—Also return the first / last / given-second frame image of the result video (optional), 1 credit per frame

Request Example

curl -X POST https://api.cqtai.com/api/cqt/generator/vidu \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "vidu-q3-pro",
    "prompt": "a young woman in a red raincoat walking through a rainy neon-lit city street at night, cinematic tracking shot",
    "duration": 1,
    "resolution": "540P",
    "aspectRatio": "16:9"
  }'
# -> { "code":200, "data":"<taskId>" }

Response Example

{
  "code": 200,
  "msg": "success",
  "data": {
    "id": "0e5fcf15865a415cab3d51651344b25e",
    "resultUrl": "https://cdn.novapi.ai/vidu/1791957397878_78a231983c7d4b3a9a90439d8cc3e505.mp4",
    "status": "succeeded",
    "errorMsg": null,
    "createTime": "2026-10-14 13:55:41",
    "completeTime": "2026-10-14 13:56:39"
  }
}

Response Fields

FieldTypeDescription
codenumberStatus code; 200 means success
msgstringStatus message; "success" on success
data.idstringTask ID (taskId); use it to poll GET /api/cqt/info
data.statusstringTask status: succeeded / failed / otherwise still processing
data.resultUrlstringURL of the generated video; returned when status = succeeded, null otherwise
data.errorMsgstring | nullFailure reason; null on success
data.createTimestringTask creation time
data.completeTimestring | nullTask completion time; null until finished