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
| Usage | Method | Path |
|---|---|---|
| Submit task | POST | /api/cqt/generator/vidu |
| Query Result | GET | /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).
| model | Usage | Materials | Duration (sec) | Tier price (credits/sec) |
|---|---|---|---|---|
| vidu-q3-pro | Q3 Pro high quality (text / image) | None (text only) | 1~10 | 540P=31.3 / 720P=78.2 / 1080P=93.8 / 2K=112.6 / 4K=135.1 |
| vidu-q3-turbo | Q3 Turbo fast; all three modes | None (text only) | 1~10 | 540P=25 / 720P=37.5 / 1080P=43.8 / 2K=52.6 / 4K=63.1 |
| vidu-q2 | Q2 (text / reference) | None (text only) | 1~10 | 720P=32 / 1080P=47 / 2K=70 / 4K=105 |
Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | Required | Sub-model: vidu-q3-pro / vidu-q3-turbo / vidu-q2 (see the sub-model table below) |
| prompt | string | Required | Video description (required for text-to-video) |
| negativePrompt | string | — | Negative prompt (optional) |
| duration | integer | — | Duration (sec), range depends on the sub-model (see table), default 5 |
| resolution | string | — | 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 |
| aspectRatio | string | — | Aspect ratio, e.g. 16:9 / 9:16 / 1:1 |
| enhancePrompt | boolean | — | Whether to auto-enhance the prompt (optional) |
| seed | integer | — | Random seed (optional) |
| returnFirstFrame / returnLastFrame / returnFrameAtSecond | boolean / 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
| Field | Type | Description |
|---|---|---|
| code | number | Status code; 200 means success |
| msg | string | Status message; "success" on success |
| data.id | string | Task ID (taskId); use it to poll GET /api/cqt/info |
| data.status | string | Task status: succeeded / failed / otherwise still processing |
| data.resultUrl | string | URL of the generated video; returned when status = succeeded, null otherwise |
| data.errorMsg | string | null | Failure reason; null on success |
| data.createTime | string | Task creation time |
| data.completeTime | string | null | Task completion time; null until finished |