Vidu Q3 Pro - Text to Video
viduq3-pro-text2video
Vidu Q3 Pro - Text to Video efficiently generates high-quality audio-video content with stronger motion and richer scene expression
Endpoints
Section titled “Endpoints”POST /v1/queue/viduq3-pro-text2video # Create taskGET /v1/queue/viduq3-pro-text2video/requests/{request_id}/status # Check statusGET /v1/queue/viduq3-pro-text2video/requests/{request_id}/response # Get resultPUT /v1/queue/viduq3-pro-text2video/requests/{request_id}/cancel # Cancel taskRequest parameters
Section titled “Request parameters”curl --request 'POST' 'https://odirouter.ai/model/v1/queue/viduq3-pro-text2video' \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --location \ --data-raw '{ "prompt": "A clean studio shot of a red apple on a white table, soft natural light.", "duration": 5, "resolution": "720p", "audio": true, "seed": 0, "aspect_ratio": "16:9"}'Text prompt describing the video to generate
Limit: Up to 5000 characters
Video duration in seconds
Options: 1 - 16
Default: 5
Random seed. If omitted or set to 0, a random seed is used automatically
Aspect ratio of the generated video
Options: 16:9, 9:16, 3:4, 4:3, 1:1
Default: 16:9
Output resolution
Options: 540p, 720p, 1080p
Default: 720p
Whether to enable direct audio-video generation
false: Outputs a silent video
true: Outputs a video with speech and background audio
Options: true, false
Default: true
Pass-through parameter for custom payload data
Limit: Up to 1048576 characters
Note: Temporarily unavailable
Off-peak generation mode
true: Off-peak generation
false: Immediate generation
Note 1: Off-peak mode consumes fewer credits
Note 2: Tasks are processed within 48 hours, unfinished tasks are auto-canceled with credit refund
Note 3: You can also cancel off-peak tasks manually
Options: true, false
Default: false
Whether to add a watermark
true: Add watermark
false: No watermark
Note 1: Current watermark content is fixed and AI-generated, disabled by default
Note 2: You can retrieve watermarked content via watermarked_url
Options: true, false
Default: false
Watermark position in the frame
1: Top-left
2: Top-right
3: Bottom-right
4: Bottom-left
Default: 3
Watermark image URL. If omitted, the default AI-generated watermark is used
Metadata identifier in JSON string format, passed through without modification
{
"Label": "your_label",
"ContentProducer": "yourcontentproducer",
"ContentPropagator": "your_content_propagator",
"ProduceID": "yourproductid",
"PropagateID": "your_propagate_id",
"ReservedCode1": "yourreservedcode1",
"ReservedCode2": "your_reserved_code2"
}
If empty, default metadata generated by vidu is used
Callback URL. Set callback_url when creating the task, request method is POST
Response parameters
Section titled “Response parameters”{ "request_id": "task_01hxyz...", "response_url": "https://odirouter.ai/model/v1/queue/viduq3-pro-text2video/requests/task_01hxyz.../response", "status_url": "https://odirouter.ai/model/v1/queue/viduq3-pro-text2video/requests/task_01hxyz.../status", "cancel_url": "https://odirouter.ai/model/v1/queue/viduq3-pro-text2video/requests/task_01hxyz.../cancel", "queue_position": 0}| Field | Type | Description |
|---|---|---|
request_id | string | Task ID used for all follow-up operations. |
response_url | string | URL to fetch the final result. |
status_url | string | URL to query task status. |
cancel_url | string | URL to cancel the task. |
queue_position | int | Current queue position. |