Gemini Omni Flash Image to Video API
google/gemini-omni-flash/image-to-video
Gemini Omni Flash Image to Video animates input images into short AI videos with synchronized audio, adding motion and sound while following the source image. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Parameters
| Name | Type | Default | Constraints | Description |
|---|---|---|---|---|
| image *Image | image_upload | — | image/* · 0–1 items | Input image URL to animate. |
| prompt *Prompt | textarea | — | ≤ 5000 chars | Text prompt describing how the image should be animated. |
| aspect_ratioAspect Ratio | select | 16:9 | 16:9 | 9:16 | Aspect ratio of the generated video. |
| durationDuration | select | 8 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Duration 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/image-to-video" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image": "https://example.com/input.jpg",
"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/image-to-video",
headers=HEADERS,
json={
"input": {
"image": "https://example.com/input.jpg",
"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/image-to-video", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"image": "https://example.com/input.jpg",
"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 Image to Video API
Turn a single image into a short video with synchronized audio.
Gemini Omni Flash Image to Video is an image-to-video model that animates a source image into a short AI-generated clip while producing synchronized audio. It is designed for fast iteration, reliable performance, and cost-efficient short-form content creation, with no cold starts and simple control over motion, format, and duration.
🚀 Key Features
- Image-to-video generation: Transform a still image into a dynamic short video while following the visual structure of the source image.
- Synchronized audio: Generate audio together with the video output for more complete and immersive results.
- Prompt-guided motion control: Use a Prompt to describe subject movement, camera motion, pacing, scene evolution, and audio direction.
- Simple Aspect Ratio selection: Choose between 16:9 for landscape output and 9:16 for portrait content.
- Flexible Duration options: Generate clips from 3 to 10 seconds for rapid testing or more developed short scenes.
- No cold start: Well suited for production workflows and repeated generation tasks that require responsive performance.
🛠️ Technical Specifications
| Item | Details |
|---|---|
| Model Name | Gemini Omni Flash Image to Video API |
| Model ID | google/gemini-omni-flash/image-to-video |
| Task Type | Image-to-video |
| Model Architecture | Prompt-guided image animation model with synchronized audio generation |
| Input Format | Image URL + Prompt |
| Output Format | Video with audio |
| Image | Single input image URL |
| Prompt | Required text description of motion, camera behavior, scene changes, pacing, and audio direction |
| Aspect Ratio | 16:9(default), 9:16 |
| Duration | 3–10 seconds(default: 8) |
| Resolution | Output follows the selected Aspect Ratio and is optimized for short-form landscape or portrait video |
| Audio Capability | Native synchronized audio generation |
| Latency | Optimized for fast inference with no cold starts |
Sample Prompts
- Animate the subject walking slowly forward, with a gentle camera push-in, subtle wind moving the trees, and soft ambient wind audio.
- Make the product rotate slowly in the center frame, pull the camera from close-up to medium shot, and add clean futuristic sound design.
- Bring the city night scene to life as neon lights gradually turn on, with a smooth lateral camera move and subtle street ambience.
💰 Pricing
| Mode | Price |
|---|---|
| Base Price | $0.14 / second |
| 3s video | $0.42 |
| 5s video | $0.70 |
| 8s video | $1.12 |
| 10s video | $1.40 |
💡 Best Use Cases
- Social media content: Create short landscape or portrait clips for mobile-first and short-form publishing.
- E-commerce and product marketing: Turn product images into motion-driven promotional videos with sound.
- Creative prototyping: Quickly test motion ideas, camera behavior, pacing, and audiovisual direction from a single image.
- Campaign and brand content: Produce lightweight promotional scenes from existing visual assets without a full video shoot.
🔗 Related Models
- Google Gemini 3 Pro Image Text To Image: Suitable for generating static images from image and text inputs.
- Google Gemini Omni Flash Reference To Video: A related option for reference-based video generation workflows.
Related models
xAI Grok Imagine Video v1.5 Image to Video
Animate one input image with a text prompt into a 1-15 second video at 480p or 720p.
Vidu Q3 Image To Video
Vidu Q3 Image-to-Video turns text prompts into high-quality videos with exceptional visual fidelity and diverse motion. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Nami Wan 2.7 I2V Spicy Prime
Create a 2–15 second video from a reference image and prompt, with 720p/1080p output and optional audio guidance.
MiniMax H3 Image to Video
MiniMax H3 Image to Video animates a first-frame image into a coherent 2K video, with natural-language motion instructions and optional last-frame control for consistent motion, scene continuity, and cinematic video generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Kling Omni Video O3 Image-To-Video
Kling Omni Video O3 Image-to-Video transforms static images into dynamic cinematic videos using MVL (Multi-modal Visual Language) technology. Maintains subject consistency while adding natural motion, physics simulation, and seamless scene dynamics. Supports audio generation. Ready-to-use REST API, best performance, no coldstarts, affordable pricing.
Kling Omni Video O1 Image-to-Video
Kling Omni Video O1 Image-to-Video transforms static images into dynamic cinematic videos using MVL (Multi-modal Visual Language) technology. Maintains subject consistency while adding natural motion, physics simulation, and seamless scene dynamics. Ready-to-use REST API, best performance, no coldstarts, affordable pricing.
Kling 3.0 Standard
Kling 3.0 Standard delivers high-quality image-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.
Kling V2.6 Image to Video API
Kling 2.6 delivers top-tier image-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.