快速结论

  • Gemini Omni Flash supports Text-to-Video, Image-to-Video, R2V, and Video Edit in one workflow.
  • Use this model guide page to validate parameters with minimal request/response examples.
  • Stabilize prompts here first, then move to production API integration.

关键参数

  • model | string | 必填 | gemini-omni-flash | - | Model identifier. Use the fixed value `gemini-omni-flash`.
  • prompt | string | 必填 | - | - | Main instruction describing the subject, action, scene, and style.
  • aspect_ratio | string | 可选 | 16:9 | 16:9 | 9:16 | Video aspect ratio. Defaults to `16:9`, corresponding to landscape or portrait output.
  • duration | integer | 可选 | 6 | 6 | 10 | Output duration in seconds. Defaults to `6` and currently supports only `6` and `10`.
  • resolution | string | 可选 | 720P | 720P | Output resolution. Currently only `720P` is supported; if omitted, the default value is used.

常见错误

  • 400 invalid_request_error: 触发=Request payload misses required fields or has invalid field types.; 修复=Validate model, mode, and input schema before request.; 重试=Retry only after fixing payload; avoid blind retries.
  • 401 authentication_error: 触发=Missing Authorization header or invalid API key.; 修复=Verify Bearer token format and API key scope.; 重试=Retry after auth fix; rotate key if repeated failures continue.
  • 429 rate_limit_exceeded: 触发=Request rate, concurrency, or current quota hits upstream rate limiting.; 修复=Apply exponential backoff first, then review request rate, concurrency, and quota usage.; 重试=Use exponential backoff (e.g., 1s/2s/4s) with jitter; if it persists, reduce submission pressure.
  • 500 internal_error: 触发=Transient upstream error or internal processing failure.; 修复=Capture request id and trigger retry workflow.; 重试=Retry 2-3 times with short delays; escalate if persistent.
返回模型广场

Gemini Omni Flash

Generate fast creative video drafts through ToAPIs with a unified account and API key.

Text-to-video workflow
Creative iteration
Async task polling
Unified API access
查看 API 文档

新用户可获得 10 credits。无需信用卡。

Gemini Omni Flash video model guide visual
Fast creative video generation workflows

Video

Generation workflow

Async

Task polling

API

Production-ready

Route

Multi-model access

Try video generation through one ToAPIs account.

Start with free credits, validate prompts, then connect the async video API.

Sign up to get free credits
1

描述你的视频

描述主体、镜头、场景和风格。149 / 1200

快速提示词

高级选项

示例参数

参考图

请求预览

{
  "model": "gemini_omni_flash",
  "prompt": "A 6-second product concept clip showing a futuristic city street generated with Gemini Omni Flash, slow camera push-in, natural light, stable motion.",
  "aspect_ratio": "16:9",
  "duration": 6,
  "resolution": "720P"
}
2

你的视频结果

Gemini Omni Flash generated city concept preview shown as the default try panel result
示例结果

Gemini Omni Flash video pricing

Video models are usually priced by task, duration, or output settings. Confirm the final quote before submission.

Task-based
充值 credits

Standard task

ToAPIs 价格

Current

计价口径

task

Longer output

ToAPIs 价格

Current

计价口径

task

Final billing follows the current account pricing and submitted video parameters.

Why use ToAPIs for Gemini Omni Flash?

Use one account to compare video, image, and language models before committing to a workflow.

Async workflow

Submit generation tasks and poll status without blocking your app.

Creative iteration

Generate draft clips for ads, product stories, and social content.

Unified API access

Use the same ToAPIs key across video, image, and text models.

Integrate video generation in three steps

Plan around async task status, output duration, and credit usage.

  1. 1

    Draft the prompt

    Describe camera motion, subject, scene, and style before submitting.

  2. 2

    Submit a task

    Use the video endpoint and store the returned task ID.

  3. 3

    Poll and deliver

    Poll status, retrieve the video URL, and handle retries in your queue.

Best-fit video workloads

Ad concepts

Create rough motion concepts before moving to final production.

Product demos

Turn feature ideas into short product storyboards.

Social content

Produce high-frequency visual variations for social channels.

Gemini Omni Flash video FAQ

Is video generation synchronous?

No. Treat video generation as an async task and poll for completion.

Can I test before integrating?

Yes. Start with free credits and validate prompt quality before using the API in production.

How should I control cost?

Limit duration, queue low-priority jobs, and compare models before scaling usage.

Gemini Omni Flash API

Start building video workflows on ToAPIs

Create a key, test video prompts, and route generation tasks through one API gateway.