Gemini Omni Flash Text to Video API

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

google/gemini-omni-flash/text-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

Model terkait

Parameter lengkap, skema keluaran, dan harga terkini

Pasar API model AISatu platform untuk semuanyaPaling populerKetentuanJelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.
prompt *Prompttextarea—≤ 5000 chars
aspect_ratioAspect Ratioselect16:916:9 | 9:16
durationDurationselect83 | 4 | 5 | 6 | 7 | 8 | 9 | 10

Parameter lengkap, skema keluaran, dan harga terkini

Pelajari lebih lanjutSatu platform untuk semuanyaJelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.
videosarray<string>

API

Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

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 aerial view of a coastal city at golden hour, moving traffic, ocean reflections, atmospheric haze, photorealistic.",
    "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 aerial view of a coastal city at golden hour, moving traffic, ocean reflections, atmospheric haze, photorealistic.",
            "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 aerial view of a coastal city at golden hour, moving traffic, ocean reflections, atmospheric haze, photorealistic.",
      "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);

Dokumentasi API

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.

Model terkait

xAI Grok Imagine Video v1.5 Text to Video
Teks ke videoX Ai

xAI Grok Imagine Video v1.5 Text to Video

x-ai/grok-imagine-video-v1.5/text-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.840 / per proses
MiniMax H3 Text to Video
Teks ke videoMinimax

MiniMax H3 Text to Video

minimax/h3/text-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.650 / per proses
ltx-2.5/text-to-video
Teks ke videoLtx 2.5

ltx-2.5/text-to-video

ltx-2.5/text-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.500 / per proses
Kling Omni Video O3 Standard Text-To-Video
Teks ke videoKling

Kling Omni Video O3 Standard Text-To-Video

kwaivgi/kling-video-o3/text-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.420 / per proses
Kling 3.0
Teks ke videoKling

Kling 3.0

kwaivgi/kling-v3.0/text-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.420 / per proses
Kling V2.6 Text to Video API
Teks ke videoKling

Kling V2.6 Text to Video API

kwaivgi/kling-v2.6/text-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.210 / per proses
Seedance 2.0 Mini Text to Video
Teks ke videoDoubao

Seedance 2.0 Mini Text to Video

doubao/seedance-2.0-mini/text-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.378 / per proses
Seedance 2.5 Text-to-Video
Teks ke videoDoubao

Seedance 2.5 Text-to-Video

doubao/seedance-2-5/text-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $1.155 / per proses