Gemini Omni 1.1 Flash API
Complete API reference for Google Gemini Omni 1.1 Flash video generation models.
Model Variants
This API supports four model variants:
Quick Comparison
Shared Endpoint
All Gemini Omni 1.1 Flash variants use the video task endpoint:
POST /api/v1/video/task
Gemini Omni 1.1 Flash Text to Video
Required Parameters
Example Request
javascript
Gemini Omni 1.1 Flash Image to Video
Required Parameters
Optional Parameters
Example Request
javascript
Gemini Omni 1.1 Flash Video Edit
Required Parameters
Note: Video Edit does not support aspect_ratio or duration. Do not include either parameter in the request.
Example Request
javascript
Gemini Omni 1.1 Flash Reference to Video
Reference images and videos are optional and may be used separately or together.
Required Parameters
Optional Reference Inputs
Example Request
javascript
Response Format
Initial Response
All models return a task_id for polling:
json
Polling Response
Poll GET /api/v1/video/{taskId} to check status:
json
Status Values
submitted: Task accepted and waiting to be processedprocessing: Video generation in progresssucceed: Video generation completedfailed: Video generation failed
Best Practices
- Prompt Direction: Describe subjects, actions, camera movement, lighting, and scene progression clearly.
- Required Settings: Always provide a supported resolution and, except for Video Edit, a supported aspect ratio and duration.
- Image Inputs: Use stable, publicly accessible URLs for start, end, and reference images.
- Video Edit Input: Verify that the source video is between 3 and 10 seconds before submitting it.
- Reference Limits: Submit no more than 10 images and 3 videos, and keep every reference video at or below 3 seconds.