About Gemini Omni Flash
Gemini Omni Flash is Google's omni-modal model that generates short videos with synchronized audio from a text prompt, input images, or an input video to edit. It brings multimodal creative direction into a single model, producing 3 to 10 second 720p MP4 clips.
Ready to build with Gemini Omni Flash?
Try Gemini Omni Flash in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
curl -sSf -X POST https://hub.oxen.ai/api/ai/videos/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "gemini-omni-flash-preview",
"prompt": "A single red balloon floating up into a clear blue sky, cinematic.",
"aspect_ratio": "16:9",
"duration": 8
}'Request parameters
Every field Gemini Omni Flash accepts in the request body. See the API reference for response formats.
POST
https://hub.oxen.ai/api/ai/videos/generate| Field | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Text description of the video to generate, how to animate the input images, or the edit to apply to the input video. Reference the first-frame image as @FirstFrame and reference images as @Image1, @Image2, etc. |
input_image | stringuri · nullable | No | — | Optional image to use as the video's starting frame. Reference it in the prompt as @FirstFrame. |
input_images | array<string>nullable | No | — | Optional reference images (characters, objects, styles to carry into the video). Reference them in the prompt as @Image1, @Image2, etc. |
input_video | stringuri | No | — | Optional video to edit. The prompt describes the changes to apply; unmentioned elements are preserved. Leave empty to generate a new video. |
aspect_ratio | string | No | "16:9" | 16:99:16 |
duration | integer | No | 8 | Range: 3 – 10 |