Vidu Q4 API
Explore the Vidu Q4 video generation API, including implemented workflows, model IDs, pricing, billing rules, resolutions, duration, media limits, and parameters.
vidu-q4
Billed by duration at the selected rate
Model pricing
Pricing follows the current production configuration and the billing dimensions supported by each route.
Billed by duration at the selected rate
- Resolution: 540p
- $0.044154 / second
- Resolution: 720p
- $0.093214 / second
- Resolution: 1080p
- $0.117744 / second
- Resolution: 2k
- $0.186428 / second
- Resolution: 4k
- $0.382668 / second
- Audio generationWhen audio is enabled
- + $0.07359 / request
Quoted at submission and may be reconciled against actual usage.
Model information
Only provider-documented routes, capabilities, and limits implemented by this gateway are listed.
viduq4-preview
- Limits
- Images 1
- Duration
- 3–16s
viduq4-preview
- Limits
- Images 1–15 · Audio 0–3
- Duration
- 3–16s
Main parameters
Parameters come from structured model configuration; unsupported or unconfigured fields are omitted.
modelstringSubmodel ID
Default:viduq4-preview / viduq4-previewpromptstringRequireddurationintegerOutput video seconds
Default:3–16squalityenumCurrent billing
Default:540p / 720p / 1080p / 2k / 4kaspect_ratioenumCapability
Default:16:9 / 9:16 / 1:1 / 3:4 / 4:3generate_audiobooleanCapability
Default:trueimage_urlsarrayImage to video: 1 · Reference to video: 1–15
Default:Varies by routeaudio_urlsarrayReference to video: 0–3
Default:Varies by routeQuickstart
curl https://api.rokoapi.com/v1/videos/tasks -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" -d '{
"model": "vidu-q4",
"prompt": "A cinematic product shot with natural camera movement",
"generation_type": "image",
"duration": 5,
"quality": "720p",
"generate_audio": true,
"image_urls": [
"https://example.com/start.png"
]
}' curl https://api.rokoapi.com/v1/tasks/$TASK_ID -H "Authorization: Bearer $API_KEY" View API documentation Capabilities and usage guidance
Key features
- Image to video · viduq4-preview
- Reference to video · viduq4-preview
- 540p / 720p / 1080p / 2k / 4k output
- 3–16s Duration
- Generated audio output
- Audio-capable workflow
Limits
- Image to video: Images 1
- Reference to video: Images 1–15 · Audio 0–3
- Capability source: https://platform.vidu.cn/docs/api-reference/video-models/vidu-q4-preview/image-to-video
Typical use cases
Image to video
继承输入图片比例
Reference to video
Vidu Q4 Reference to video API workflow.
Frequently asked questions
Which video workflows does Vidu Q4 support?
Image to video、Reference to video
What video durations does Vidu Q4 support?
3–16s
Which output resolutions or sizes does Vidu Q4 support?
540p、720p、1080p、2k、4k
Models in this family
Explore other available variants from the same model family.
Other video models
Explore more models available through the unified asynchronous video task API.