Vidu Q3 Video API guide
Vidu Q3 Video API: Generate video using a prompt and the image inputs declared for Vidu Q3 Video. Set duration, resolution, aspect ratio, and seed according to the field constraints.
Model overview
Generate video using a prompt and the image inputs declared for Vidu Q3 Video. Set duration, resolution, aspect ratio, and seed according to the field constraints.
API integration
| Documentation | Value |
|---|---|
| API invocation identifier | vidu-q3-video |
| Integration | Async task API |
Use this invocation identifier in API requests. Check your authorized model catalog for access. Follow the Quickstart for your first complete call.
Request parameters
Studio presets describe the form setup, not guaranteed server defaults. Send preset values explicitly to reproduce them.
Describe the motion and camera behavior for the video. Maximum 5000 characters.
Length: minimum 1; maximum 5000.
One to seven public PNG, JPEG, JPG, or WebP reference image URLs. Each image must be at least 128 by 128 pixels, have aspect ratio between 1:4 and 4:1, and not exceed 50 MB.
Item count: minimum 1; maximum 7.
Output video resolution.
Allowed values: "540p", "720p", "1080p".
Studio preset: "720p".
Video duration in seconds.
Value: minimum 3; maximum 16.
Studio preset: 5.
Output video aspect ratio.
Allowed values: "16:9", "9:16", "4:3", "3:4", "1:1".
Studio preset: "16:9".
Standard quantity control field. The allowed range for this item is 1-4.
Repeats MuseSpark execution within one logical task. This is separate from a model-native output count.
Value: minimum 1; maximum 4.
Studio preset: 1.
Whether pre-submission content moderation is enabled.
Studio preset: false.
Random seed for generating similar results with the same settings.
No parameters match. Clear the search or reset the filters.
Model rules
Parameter meaning
- Reference imagery is part of the generation input. Keep array order stable and ensure each URL is directly accessible.
- Describe actions and camera movement; reference images already establish the subjects' appearance.
- Minimum duration differs between the standard and Mix variants. The exact item's allowed range takes precedence.
batch_size controls repeated MuseSpark executions. Output grouping, sequential image generation, and video shot count are separate concepts.
Request examples
Replace example media URLs and YOUR_... input identifiers with your own valid resources. Examples are checked against the exported item schema; media access and paid execution are separate runtime checks.
Set MUSESPARK_API_KEY and a stable MUSESPARK_REQUEST_ID before submitting. Preserve the request ID for retries of the same request and use a new ID for new work. Python examples use requests; JavaScript examples use Node.js 20 or later. The standalone Quickstart includes task polling and recovery.
Standard request
curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
-H "Authorization: Bearer $MUSESPARK_API_KEY" \
-H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
-H 'Content-Type: application/json' \
-d '{
"item_key": "vidu-q3-video",
"parameters": {
"duration": 5,
"batch_size": 1,
"nsfw_check": false,
"resolution": "720p",
"aspect_ratio": "16:9",
"prompt": "A paper city under soft morning light",
"images": [
"https://example.com/input-1.png"
]
}
}'Parameters used: duration · batch_size · nsfw_check · resolution · aspect_ratio · prompt · images.
Output
Creation returns a task ID inside data. Poll that task until completion, then save data.result.output_urls and any data.result.batch_results. See the task lifecycle for terminal states, result retention, and errors.
Troubleshooting
For rejected inputs, check the field type, accepted values, and conditional requirements in Request parameters and Model rules. Correct the affected fields before submitting again.
If creation times out, preserve the request identity and any known task ID. Follow Errors, timeouts and retries before submitting again.
Related docs
The public input snapshot was exported on 2026-11-09. Current prices and availability are listed in the model center.