Gemini Omni Flash Text to Video API

google/gemini-omni-flash/text-to-video

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.

Examples

Parameters

NameTypeDefaultConstraintsDescription
prompt *Prompttextarea≤ 5000 charsText prompt describing the video to generate.
aspect_ratioAspect Ratioselect16:916:9 | 9:16Aspect ratio of the generated video.
durationDurationselect83 | 4 | 5 | 6 | 7 | 8 | 9 | 10Duration of the generated video in seconds.

API

Call this model through one unified REST API. Get a key on the API Keys page.

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/google/gemini-omni-flash/text-to-video" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
    "aspect_ratio": "16:9",
    "duration": 8
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/google/gemini-omni-flash/text-to-video",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
            "aspect_ratio": "16:9",
            "duration": 8
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/google/gemini-omni-flash/text-to-video", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
      "aspect_ratio": "16:9",
      "duration": 8
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

Documentation

Gemini Omni Flash Text to Video API

Fast text-to-video generation with synchronized audio, no cold starts, and cost-efficient short-form output.

Gemini Omni Flash Text to Video is a multimodal text-to-video model designed to generate short AI videos with synchronized audio from natural-language prompts. It is optimized for fast creative iteration, reliable production readiness, and affordable per-second pricing, making it a strong choice for developers and teams building short-form video workflows.

🚀 Key Features

  • Text-to-video generation: Create short videos directly from a natural-language prompt without requiring source footage.
  • Synchronized audio: Generate visual content and matching audio together for more complete multimodal outputs.
  • No cold starts: Well-suited for production environments and frequent invocation where responsiveness matters.
  • Simple aspect ratio control: Supports 16:9 for landscape and 9:16 for portrait video generation.
  • Short-form optimization: Generate clips from 3 to 10 seconds, ideal for rapid testing and creative iteration.
  • Affordable pricing: Transparent per-second pricing helps control costs across prototyping and scaled content generation.

🛠️ Technical Specifications

ItemDetails
Model NameGemini Omni Flash Text to Video API
Model IDgoogle/gemini-omni-flash/text-to-video
Model ArchitectureMultimodal text-to-video model with synchronized audio generation
Input FormatText prompt
Output FormatVideo + Audio
PromptDescribe scene, subject, motion, camera behavior, pacing, and audio direction
Aspect Ratio16:9(default), 9:16
Duration3–10 seconds(default: 8
ResolutionNot publicly specified; optimized for short-form landscape and portrait output
FpsNot publicly specified
LatencyNot publicly specified; positioned for fast generation with no cold starts
DeliveryStandard video output
Primary TasksShort video generation, audio-visual scene creation, creative prototyping

Sample Prompts

  1. A cinematic sunset beach scene with gentle waves, a woman walking along the shoreline, slow camera pan, calm pacing, soft ambient ocean sounds and distant seagulls.
  2. A vertical street-food video at night in Tokyo, steam rising from fresh ramen, handheld camera movement, energetic pacing, lively city ambience and cooking sounds.
  3. A futuristic sports car driving through a neon-lit city, dynamic tracking shot, fast pacing, dramatic engine sound and electronic background music.

💰 Pricing

ModePrice
Base Price$0.13 / second
3-second video$0.39
5-second video$0.65
8-second video$1.04
10-second video$1.30

💡 Best Use Cases

  • Social media content: Generate portrait or landscape short videos for mobile-first and short-form publishing channels.
  • Creative prototyping: Test scene ideas, pacing, camera motion, and audio direction before full production.
  • Advertising and e-commerce: Produce lightweight promotional clips, product teasers, and campaign concepts efficiently.
  • Audio-visual storytelling: Create scenes where sound design is important alongside visual composition and motion.

🔗 Related Models

  • Google Gemini Omni Flash Reference To Video: Better suited for workflows that build videos from reference inputs or visual guidance.
  • Google Gemini Omni Flash Video Edit: Designed for editing or refining existing video content.

Related models

xAI Grok Imagine Video v1.5 Text to Video
Text to VideoX Ai

xAI Grok Imagine Video v1.5 Text to Video

Generate 1-15 second videos from text prompts at 480p, 720p, or 1080p.

from $0.840 / per run
MiniMax H3 Text to Video
Text to VideoMinimax

MiniMax H3 Text to Video

MiniMax H3 Text to Video generates coherent 2K videos from text prompts, with flexible 4-15 second duration and six selectable aspect ratios for cinematic scenes, creative videos, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

from $0.650 / per run
Kling Omni Video O3 Standard Text-To-Video
Text to VideoKling

Kling Omni Video O3 Standard Text-To-Video

Kling Omni Video O3 is Kuaishou's advanced unified multi-modal video model with MVL (Multi-modal Visual Language) technology. Text-to-Video mode generates cinematic videos from text prompts with subject consistency, natural physics simulation, and precise semantic understanding. Supports audio generation. Ready-to-use REST API, best performance, no coldstarts, affordable pricing.

from $0.420 / per run
Kling Omni Video O1 Text-To-Video
Text to VideoKling

Kling Omni Video O1 Text-To-Video

Kling Omni Video O1 is Kuaishou's first unified multi-modal video model with MVL (Multi-modal Visual Language) technology. Text-to-Video mode generates cinematic videos from text prompts with subject consistency, natural physics simulation, and precise semantic understanding. Ready-to-use REST API, best performance, no coldstarts, affordable pricing.

from $0.420 / per run
Kling 3.0
Text to VideoKling

Kling 3.0

Kling 3.0 delivers high-quality text-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.

from $0.420 / per run
Kling V2.6 Text to Video API
Text to VideoKling

Kling V2.6 Text to Video API

Kling 2.6 delivers top-tier text-to-video generation with smooth motion, cinematic visuals, strong prompt adherence, and native audio for ready-to-share clips. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.

from $0.210 / per run
Seedance 2.0 Mini Text to Video
Text to VideoDoubao

Seedance 2.0 Mini Text to Video

Seedance 2.0 Mini Text to Video is ByteDance's faster, lower-cost text-to-video model for cinematic multi-shot videos. It generates narrative sequences from text prompts with AI camera control, consistent characters across scenes, 480P / 720P / 1080P / 4K output, 4-15s duration, and flexible aspect ratios. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

from $0.380 / per run
Seedance 2.5 Text-to-Video
Text to VideoDoubao

Seedance 2.5 Text-to-Video

Seedance 2.5 delivers next-generation high-quality video generation with text-to-video, multiple aspect ratios, 480p/720p/1080p resolution options, and AI-synchronized audio generation. It features improved prompt following, camera control, and motion quality.

from $1.16 / per run