Listed rates are the highest rates across available channels. Your request is billed at the selected channel’s rate, locked when the request starts, and may cost less.
Gemini Omni Flash 1.1
gemini-omni-flashGoogle AI StudiovideoGemini Omni Flash 1.1 — generally available video generation and editing with audio, 3–10 second output, 360p–4K resolution, and first/last-frame interpolation. Video output is billed separately at approximately $0.10/s.
per second
$0.10
Delivery
Async generation
Provider routes
1
Capabilities
Vision
Providers
Choose a route to view its rates and API example.
API example
Connect with your existing OpenAI-compatible SDK.
video.ts
// Start a generation
const start = await fetch('https://router.202ai.xyz/v1/videos/generations', {
method: 'POST',
headers: {
authorization: `Bearer ${process.env.MACAW_API_KEY}`,
'content-type': 'application/json',
},
body: JSON.stringify({
model: 'gemini-omni-flash',
prompt: 'A close-up of raindrops on a window, soft focus, slow motion.',
aspect_ratio: '16:9',
resolution: '1080p',
duration_seconds: 8,
}),
}).then(r => r.json());
// Poll until done — usually 1–3 minutes
let task = start;
while (task.status === 'pending' || task.status === 'running') {
await new Promise(r => setTimeout(r, 5000));
task = await fetch(`https://router.202ai.xyz/v1/videos/generations/${start.id}`, {
headers: { authorization: `Bearer ${process.env.MACAW_API_KEY}` },
}).then(r => r.json());
}
if (task.status === 'succeeded') {
// Download the file
const video = await fetch(`https://router.202ai.xyz${task.video_url}`, {
headers: { authorization: `Bearer ${process.env.MACAW_API_KEY}` },
});
// → pipe video.body to disk or play in a <video> tag
}