Model IDDocumentation Index
Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt
Use this file to discover all available pages before exploring further.
Vidu Q2 Pro Reference-to-Video API Usage Guide
Overview
Authentication
All API requests require authentication using your API key. Include it in the Authorization header:Submit Video Generation Request
Base URL
Endpoint
Request Format
Request Parameters
| Parameter | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
prompt | string | Yes | Text prompt (max 2000 characters) describing the desired video. | - | Max 2000 chars |
images | array | No | Reference images. Max 7 images (or 4 if video inputs are used). | - | Max 7 images |
videos | array | No | Input video for reference. Max 1 video (up to 8s) or 2 videos (up to 5s each). | - | Max 1-2 videos |
duration | integer | No | Video duration in seconds. | 5 | Min: 1, Max: 10 |
seed | integer | No | Random seed. If not set, a random seed is used. | null | - |
Response
Check Request Status
Endpoint
Response
Request Status Values
| Status | Description |
|---|---|
queued | Request is waiting in the queue |
processing | Video is currently being rendered |
success | Video generation completed |
failed | Generation failed (check logs for details) |
cancelled | Request was manually cancelled |
Tips for Better Results
- Use References: Provide at least one image or video input, as this is a reference-to-video model.
- Mind the Limits: Do not exceed the maximum of 7 images (or 4 if combined with video) and follow the video reference duration limits.