Gemini Omni 1.1 Flash Full Parameter Overview
- Full parameter reference for all five Gemini Omni 1.1 Flash video modes
- Five modes are available: text-to-video, image-to-video, reference-to-video, video edit, and video extend.
quality: Text/Image/Reference support four tiers and default to 720p. Edit/Extend also support auto and default to auto.duration: Generation modes use integer 3-10 (default 3); Edit only accepts auto; Extend uses integer 3-10 as appended seconds.aspect_ratio: Default is auto. Generation modes also support 16:9 and 9:16; Edit and Extend only accept auto.- The model generates synchronized native audio automatically.
- Write negative requirements directly in prompt.
- Asynchronous processing: query task status
- Generated links remain valid for 24 hours; save them promptly.
Authorizations
##All endpoints require authentication using a Bearer Token##
Get your API Key:
Visit the API Key management page to obtain your API Key
Add it to the request header:
Body
Choose the model ID that matches the task and input media:
gemini-omni-1.1-flash-text-to-videogemini-omni-1.1-flash-image-to-videogemini-omni-1.1-flash-reference-to-videogemini-omni-1.1-flash-video-editgemini-omni-1.1-flash-video-extend
gemini-omni-1.1-flash-text-to-video, gemini-omni-1.1-flash-image-to-video, gemini-omni-1.1-flash-reference-to-video, gemini-omni-1.1-flash-video-edit, gemini-omni-1.1-flash-video-extend "gemini-omni-1.1-flash-text-to-video"
Text prompt describing the generation, edit, or extension goal.
"A glass marble rolls down a wooden track and splashes into water."
Image URLs: Image-to-Video requires 1-2 first/last-frame images; Reference-to-Video requires up to 10 images; Video Edit and Video Extend accept up to 10 optional reference images.
1 - 10 elementsVideo URLs: Reference-to-Video accepts up to 3 clips of up to 10 seconds; Video Edit requires one clip up to 10 seconds; Video Extend requires one clip up to 30 seconds.
1 - 3 elementsVideo resolution
Supported values:
360p: landscape 640×360 / portrait 360×640720p: landscape 1280×720 / portrait 720×12801080p: landscape 1920×1080 / portrait 1080×19204k: landscape 3840×2160 / portrait 2160×3840auto: supported only by Video Edit and Video Extend; follows the input video's resolution
Defaults:
- Text-to-Video, Image-to-Video, and Reference-to-Video:
720p - Video Edit and Video Extend:
auto
Billing: Video output is billed by output tokens. For Video Edit and Video Extend, input and output video tokens are both calculated using the final output resolution.
360p, 720p, 1080p, 4k, auto "720p"
Video duration
- Text-to-Video, Image-to-Video, and Reference-to-Video: integer from
3to10seconds; default3 - Video Edit: only
autois accepted; defaultauto; output duration follows the input video - Video Extend: integer from
3to10seconds; default3; specifies the number of appended seconds
3 <= x <= 103
Default is auto. Generation modes also support 16:9 and 9:16; Edit and Extend only accept auto.
16:9, 9:16, auto "auto"
HTTPS callback URL to notify when the task completes
Callback timing:
- Triggered when the task completes (completed), fails (failed), or is cancelled (cancelled)
- Sent after billing is confirmed
Security restrictions:
- HTTPS protocol only
- Callbacks to internal IP addresses are forbidden (127.0.0.1, 10.x.x.x, 172.16-31.x.x, 192.168.x.x, etc.)
- URL length must not exceed
2048characters
Callback mechanism:
- Timeout:
10seconds - Up to
3retries on failure (retried1s /2s /4s after each failure respectively) - The callback body format matches the response of the task query endpoint
- A 2xx status code from the callback URL is treated as success; other status codes trigger a retry
"https://your-domain.com/webhooks/video-task-completed"
Response
Video task created successfully
Task creation timestamp
1757169743
Task ID
"task-unified-1757169743-7cvnl5zw"
The model name actually used
"gemini-omni-1.1-flash-text-to-video"
The specific type of the task
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status. The create endpoint returns processing.
pending, processing, completed, failed "processing"
Detailed video task information
The output type of the task
text, image, audio, video "video"
Usage and billing information