Google Gemini Omni Flash Text To Video API Documentation

Google Gemini Omni Flash Text To Video API Documentation

Playground

Try it on WaveSpeedAI!

Gemini Omni Flash Text to Video creates short AI videos with synchronized audio from text prompts, combining visual generation and audio output for fast multimodal video creation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

Gemini Omni Flash Text-to-Video creates short videos with synchronized audio from a text prompt. Describe the scene, motion, pacing, and audio direction, then generate a landscape or portrait video from 3 to 10 seconds.


Why Choose This?

  • Text-to-video generation
    Generate short videos directly from natural-language prompts.

  • Synchronized audio
    Create video with audio generated alongside the visual output.

  • Simple aspect ratio control
    Choose between 16:9 for landscape videos and 9:16 for portrait videos.

  • Short-form video output
    Generate clips from 3 to 10 seconds for quick creative iteration.

  • Standard video output
    Generated videos are returned as URLs in the standard WaveSpeed prediction response.


Parameters

ParameterRequiredDescription
promptYesText prompt describing the video to generate, including scene, motion, pacing, and audio direction.
aspect_ratioNoOutput aspect ratio: 16:9 or 9:16. Default: 16:9.
durationNoOutput duration in seconds. Range: 3 to 10. Default: 8.

How to Use

  1. Write your prompt — Describe the scene, subject, motion, camera behavior, pacing, and audio direction.
  2. Choose aspect ratio — Use 16:9 for landscape video or 9:16 for portrait video.
  3. Set duration — Choose a duration from 3 to 10 seconds.
  4. Submit — Generate the final video with synchronized audio.

Pricing

Pricing is $0.13 per second of generated video.

DurationPrice
3s$0.39
5s$0.65
8s$1.04
10s$1.30

Best Use Cases

  • Short video generation — Create brief video clips directly from text prompts.
  • Audio-video scenes — Generate videos where sound direction matters alongside the visual scene.
  • Social media content — Produce portrait or landscape clips for short-form publishing.
  • Creative prototyping — Quickly test video ideas, scene concepts, and audio-visual directions.
  • Cinematic prompt testing — Explore camera movement, pacing, mood, and atmosphere from text.

Pro Tips

  • Use descriptive prompts that include scene, subject, action, camera movement, pacing, and audio direction.
  • Include negative instructions directly in the prompt when needed.
  • Use 16:9 for landscape scenes and 9:16 for vertical mobile content.
  • Use shorter durations for quick testing and longer durations when the scene needs more time to develop.

## Authentication

For authentication details, please refer to the [Authentication Guide](/api-authentication).

## API Endpoints

### Submit Task & Query Result

<ApiTabs submitUrl={model.submitUrl} resultUrl={model.resultUrl} payload={model.defaultValues} />

## Parameters

### Task Submission Parameters

#### Request Parameters

<RequestParams params={model.params} />

#### Response Parameters

<SubmitResponse />

#### Result Request Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| id | string | Yes | - | Task ID |

#### Result Response Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., "success") |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array&lt;string \| object&gt; | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to poll for the prediction result |
| data.status | string | Status: `created`, `processing`, `completed`, or `failed` |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
© 2026 WaveSpeedAI. All rights reserved.