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 First-Last-Frame-to-Video API Usage Guide
Overview
Vidu Q2 Pro is a first-last-frame-to-video model designed to generate 720p video content transitioning between a specified starting and ending frame, guided by a descriptive text prompt. It supports custom durations up to 8 seconds. This model is hosted externally by Vidu and accessible via the GMI Cloud request queue.Authentication
All API requests require authentication using your API key. Include it in the Authorization header:Request Parameters
| Parameter | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
first_frame_image | string | Yes | Image URL to be the first frame of the generated video. | - | 1 image |
last_frame_image | string | Yes | Image URL to be the last frame of the video. | - | 1 image |
prompt | string | Yes | Text prompt (max 2000 characters) describing the desired video. | - | Max 2000 chars |
duration | integer | No | Video duration in seconds. | 5 | Min: 1, Max: 8 |
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
- Provide Clear Frames: Ensure the first and last frame images have consistent subjects and lighting for smoother transitions.
- Logical Prompts: Describe how the transition between the two states should occur.