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.
就緒
$0.14每次運行·~71 / $10
The glowing whale slowly swims through the night sky, casting blue light over the boy and the bus stop. The boy raises his hand in wonder; the ocean waves move quietly below, and the camera tilts upward from his face to the whale.
Gemini Omni Flash Image-to-Video animates an input image into a short video with synchronized audio. Upload an image, describe how it should move or change, then generate a landscape or portrait video from 3 to 10 seconds.
Image-to-video generation
Animate a still image into a short video.
Synchronized audio
Generate audio together with the video output.
Prompt-guided motion
Describe camera movement, subject motion, scene changes, pacing, and audio direction.
Simple aspect ratio control
Choose 16:9 for landscape videos or 9:16 for portrait videos.
Short-form video output
Generate clips from 3 to 10 seconds for quick creative iteration.
| Parameter | Required | Description |
|---|---|---|
| image | Yes | Input image URL to animate. |
| prompt | Yes | Text prompt describing how the image should move or change. |
| aspect_ratio | No | Output aspect ratio: 16:9 or 9:16. Default: 16:9. |
| duration | No | Output duration in seconds. Range: 3 to 10. Default: 8. |
16:9 for landscape video or 9:16 for portrait video.3 to 10 seconds.Pricing is $0.14 per second of generated video.
| Duration | Price |
|---|---|
| 3s | $0.42 |
| 5s | $0.70 |
| 8s | $1.12 |
| 10s | $1.40 |
16:9 for landscape scenes and 9:16 for vertical mobile content.Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/google/gemini-omni-flash/image-to-video with your input as JSON. The endpoint returns a prediction id. Start polling the result endpoint around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. On completed, read URLs from data.outputs. Examples for Gemini Omni Flash Image To Video below.
# Submit the prediction
curl --fail-with-body --connect-timeout 10 --max-time 60 \
-X POST "https://api.wavespeed.ai/api/v3/google/gemini-omni-flash/image-to-video" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"image": "https://example.com/your-input.jpg",
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"aspect_ratio": "16:9",
"duration": 8
}'
# Wait at least 2 seconds, then poll. Safe GET requests may be retried.
curl --fail-with-body --connect-timeout 10 --max-time 30 \
--retry 4 --retry-all-errors --retry-delay 1 \
-X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# Start at 2 seconds and increase the interval for long-running tasks.
# Stop on completed, failed, cancelled, or timeout.// npm install wavespeed
const { Client } = require('wavespeed');
const apiKey = process.env.WAVESPEED_API_KEY;
if (!apiKey) throw new Error('Set WAVESPEED_API_KEY');
const client = new Client(apiKey);
try {
const result = await client.run("google/gemini-omni-flash/image-to-video", {
"image": "https://example.com/your-input.jpg",
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"aspect_ratio": "16:9",
"duration": 8
}, {
timeout: 3600,
pollInterval: 2.0,
});
console.log(result.outputs);
} catch (error) {
console.error('Generation failed:', error);
process.exitCode = 1;
}# pip install wavespeed
import os
from wavespeed import Client
client = Client(api_key=os.environ["WAVESPEED_API_KEY"])
try:
output = client.run(
"google/gemini-omni-flash/image-to-video",
{
"image": "https://example.com/your-input.jpg",
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"aspect_ratio": "16:9",
"duration": 8
},
timeout=3600.0,
poll_interval=2.0,
)
print(output["outputs"])
except Exception as error:
raise SystemExit(f"Generation failed: {error}") from errorGemini Omni Flash Image To Video is a Google model for video generation from images, exposed as a REST API on WaveSpeedAI. 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. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates production-oriented Python, JavaScript, and cURL examples with timeouts, transient-error handling, and safe GET retries. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/google/google-gemini-omni-flash-image-to-video.
Gemini Omni Flash Image To Video starts at $0.14 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `prompt`, `image`, `aspect_ratio`, `duration`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/google/google-gemini-omni-flash-image-to-video.
Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.
Commercial usage rights depend on the model's license, set by its provider (Google). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.