Gemini Omni Flash Reference to Video creates short AI videos with synchronized audio from one or more reference images and a text prompt, preserving visual identity and following the provided references for guided multimodal video generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
ว่าง
$0.16ต่อครั้ง·~62 / $10
The man slowly moves his hand through frozen coffee droplets floating in the air. Outside the window, tunnel lights stretch into long blue lines, one passenger’s watch starts ticking again, and the camera rotates around the frozen subway car. Then look at the watch in Figure 2.
Gemini Omni Flash Reference-to-Video creates short videos from one or more reference images and a text prompt. Reference images can guide the subject, style, layout, and visual direction of the generated video, while the prompt controls motion, scene development, pacing, and audio direction.
Reference-to-video generation
Generate a short video from multiple reference images and a text prompt.
Subject and style guidance
Use reference images to guide characters, objects, visual style, layout, or scene composition.
Synchronized audio
Generate audio together with the video output.
Prompt-guided motion
Describe the scene, camera movement, subject behavior, pacing, and audio direction in natural language.
Simple aspect ratio control
Choose 16:9 for landscape videos or 9:16 for portrait videos.
| Parameter | Required | Description |
|---|---|---|
| images | Yes | Reference image URLs to incorporate into the video. |
| prompt | Yes | Text prompt describing the video, including scene, motion, pacing, and audio direction. |
| 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.16 per second of generated video.
| Duration | Price |
|---|---|
| 3s | $0.48 |
| 5s | $0.80 |
| 8s | $1.28 |
| 10s | $1.60 |
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/reference-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 Reference 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/reference-to-video" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"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/reference-to-video", {
"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/reference-to-video",
{
"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 Reference To Video is a Google model for video generation from images, exposed as a REST API on WaveSpeedAI. Gemini Omni Flash Reference to Video creates short AI videos with synchronized audio from one or more reference images and a text prompt, preserving visual identity and following the provided references for guided multimodal video generation. 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-reference-to-video.
Gemini Omni Flash Reference To Video starts at $0.16 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`, `images`, `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-reference-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.