Gemini Omni Flash Preview Official
Gemini Omni Flash Video Generation
Generate or edit videos with Gemini Omni Flash using text, up to 10 reference images, or up to 3 input videos
POST
- Use
gemini-omni-flash-preview-officialin themodelfield - Supports text-to-video, image/reference-to-video, and video editing
- Supports up to 10 reference images or up to 3 input videos; images and videos cannot be mixed
- Video duration is limited to 10 seconds; the Playground offers 4 / 6 / 8 / 10 second presets
- Only
720presolution is supported; both16:9and9:16aspect ratios are available - Async task API: submit a task, then query by task ID
This page documents
gemini-omni-flash-preview-official. The platform routes it through the Vertex AI Interactions API with Service Account OAuth, not the Vertex AI Publisher Model predictLongRunning endpoint. It remains separate from the legacy gemini-omni-flash / gemini_omni_flash model and does not change that model’s routing or parameters.Authorizations
string
required
Use Bearer Token authentication:
Body
string
default:"gemini-omni-flash-preview-official"
required
Model name. Use
gemini-omni-flash-preview-official.string
required
Text prompt for video generation.
integer
default:"6"
Video duration in seconds. The maximum is
10; the Playground offers 4, 6, 8, and 10 second presets.string
default:"16:9"
Video aspect ratio:
16:9landscape9:16portrait
string
default:"720p"
Video resolution:
720pdefault resolution- Only
720pis supported; Veo-specific parameters are not accepted
string[]
Optional reference image URL array with up to
10 items. Omit it for text-to-video. This field cannot be combined with video_list.object[]
Optional input videos for video editing, with up to
3 items. Each object must contain video_url, for example { "video_url": "https://example.com/input.mp4" }. HTTPS URLs, data URIs, and platform-uploaded video URLs are supported. Each downloaded input video is limited to 50 MB. This field cannot be combined with image_urls.object
Optional Interactions generation controls. Supported keys include
temperature (0.0–2.0), topP / top_p (0.0–1.0), candidateCount / candidate_count, previous_interaction_id, and task (text_to_video, image_to_video, reference_to_video, or edit). When task is omitted, the platform does not invent a default; the upstream model infers the mode from the prompt and media. For edit (or video inputs without an explicit non-edit task), do not rely on aspect_ratio; the platform omits it for that path because upstream rejects aspect ratio on edit tasks.Response
string
Task ID for status polling.
string
Object type, usually
generation.task.string
Model name used for the request.
string
Task status:
queued, in_progress, completed, or failed.integer
Task creation timestamp.
string
Generated video URL when the task completes.