Gemini Omni Flash Text to Video API
google/gemini-omni-flash/text-to-video
google/gemini-omni-flash/text-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Mô hình liên quan
Đầy đủ tham số, lược đồ đầu ra và giá hiện tại
| Chợ API mô hình AI | Một nền tảng cho mọi thứ | Phổ biến nhất | Điều khoản | Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất. |
|---|---|---|---|---|
| prompt *Prompt | textarea | — | ≤ 5000 chars | |
| aspect_ratioAspect Ratio | select | 16:9 | 16:9 | 9:16 | |
| durationDuration | select | 8 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Đầy đủ tham số, lược đồ đầu ra và giá hiện tại
| Tìm hiểu thêm | Một nền tảng cho mọi thứ | Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất. |
|---|---|---|
| videos | array<string> |
API
Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
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);Tài liệu 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
| Item | Details |
|---|---|
| Model Name | Gemini Omni Flash Text to Video API |
| Model ID | google/gemini-omni-flash/text-to-video |
| Model Architecture | Multimodal text-to-video model with synchronized audio generation |
| Input Format | Text prompt |
| Output Format | Video + Audio |
| Prompt | Describe scene, subject, motion, camera behavior, pacing, and audio direction |
| Aspect Ratio | 16:9(default), 9:16 |
| Duration | 3–10 seconds(default: 8) |
| Resolution | Not publicly specified; optimized for short-form landscape and portrait output |
| Fps | Not publicly specified |
| Latency | Not publicly specified; positioned for fast generation with no cold starts |
| Delivery | Standard video output |
| Primary Tasks | Short video generation, audio-visual scene creation, creative prototyping |
Sample Prompts
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.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.A futuristic sports car driving through a neon-lit city, dynamic tracking shot, fast pacing, dramatic engine sound and electronic background music.
💰 Pricing
| Mode | Price |
|---|---|
| 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.
Mô hình liên quan
xAI Grok Imagine Video v1.5 Text to Video
x-ai/grok-imagine-video-v1.5/text-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
MiniMax H3 Text to Video
minimax/h3/text-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
ltx-2.5/text-to-video
ltx-2.5/text-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Kling Omni Video O3 Standard Text-To-Video
kwaivgi/kling-video-o3/text-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Kling 3.0
kwaivgi/kling-v3.0/text-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Kling V2.6 Text to Video API
kwaivgi/kling-v2.6/text-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Seedance 2.0 Mini Text to Video
doubao/seedance-2.0-mini/text-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Seedance 2.5 Text-to-Video
doubao/seedance-2-5/text-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.