Gemini Omni Flash Preview
Model Overview
Setup your API Key
How to Make a Call
API Schemas
Create a video generation task and send it to the server
The text description of the scene, subject, or action to generate in the video.
Image URL, gs:// URI, or base64 data URI. Used as the first frame for image_to_video unless the prompt tags it as a reference.
Reference image URLs, gs:// URIs, or base64 data URIs. Use prompt tags such as <IMAGE_REF_0> to bind image roles.
Video URL, gs:// URI, or base64 data URI for edit workflows.
Audio URL, gs:// URI, or base64 data URI for multimodal prompting.
Gemini Interactions API id from a previous Omni generation, used for conversational edits.
Gemini Omni video task. Defaults are inferred from the supplied media inputs.
The aspect ratio of the generated video.
The length of the output video in seconds.
8Possible values: Gemini Omni video response delivery mode.
uriPossible values: Successful response.
The ID of the generated video.
60ac7c34-3224-4b14-8e7d-0aa0db708325The current status of the generation task.
completedPossible values: Successful response.
Retrieve the generated video from the server
Bearer key
<REPLACE_WITH_YOUR_GENERATION_ID>The ID of the generated video.
60ac7c34-3224-4b14-8e7d-0aa0db708325The current status of the generation task.
completedPossible values: Code Example
Last updated
Was this helpful?