Generate 15-second videos with Gemini Omni 1.2 Flash Google released Gemini Omni 1.2 Flash on November 5, 2026, generally available on the Gemini API via the Interactions API, extending clip length to 15 seconds from 10 seconds on Omni 1.1 and cutting video output cost by about 30% at the same resolution. The model, id `gemini-omni-1.2-flash`, produces clips with native audio and supports durations from 3s to 15s, 16:9 or 9:16 aspect ratios, and 360p through 4k resolutions, with follow-up edits made through `previous_interaction_id`. Requests to `gemini-omni-1.1-flash` will route automatically to 1.2 and bill at 1.2 rates starting December 3, 2026. Generate 15-second videos with Gemini Omni 1.2 Flash By Flavio https://flaviocopes.com/about/ Tagged: AI https://flaviocopes.com/tags/ai/ Gemini Omni 1.2 Flash generates 15-second clips with audio on the Gemini API through the Interactions API, cheaper than Omni 1.1. Google shipped Gemini Omni 1.2 Flash on November 5, 2026. It is generally available on the Gemini API. The model id is gemini-omni-1.2-flash . You call it through the Interactions API. Clips go up to 15 seconds was 10 on Omni 1.1 . Output includes native audio. Video output is about 30% cheaper than 1.1 at the same resolution. On December 3, 2026, requests to gemini-omni-1.1-flash start routing to 1.2 automatically and bill at 1.2 rates. Better to switch the model id yourself now. Setup You need a paid Gemini API key. Omni has no free tier. npm install @google/genai Set GEMINI API KEY in your environment. The SDK picks it up. Text to video Create an interaction with the Omni model. The SDK exposes output video with base64 MP4 data. js import { GoogleGenAI } from '@google/genai' import as fs from 'fs' const ai = new GoogleGenAI {} const interaction = await ai.interactions.create { model: 'gemini-omni-1.2-flash', input: 'A marble rolling fast on a chain reaction style track, continuous smooth shot.', } if interaction.output video?.data { fs.writeFileSync 'marble.mp4', Buffer.from interaction.output video.data, 'base64' } Open marble.mp4 . You get a short clip with audio. Running that exact prompt against gemini-omni-1.2-flash produced a 10.03-second, 1280×720 H.264 MP4 at 24 fps with an AAC audio track 6,225,086 bytes . Here are two frames from the generated clip, at 1.5 seconds and 5.0 seconds: Same call over REST: curl -X POST "https://generativelanguage.googleapis.com/v1beta/interactions?key=$GEMINI API KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gemini-omni-1.2-flash", "input": "A marble rolling fast on a chain reaction style track, continuous smooth shot." }' On REST, read the video from steps where type is model output and the content item has type: "video" . output video is SDK-only. Control duration, ratio, resolution Pass response format . Duration is any whole second from 3s to 15s . The default is 10s . A value over 15 seconds returns an invalid argument error. If you set duration in response format , that wins over any length you wrote in the prompt. js const interaction = await ai.interactions.create { model: 'gemini-omni-1.2-flash', input: 'A single unbroken tracking shot following a paper airplane gliding through a bustling library.', response format: { type: 'video', duration: '15s', aspect ratio: '9:16', resolution: '720p', }, } Supported aspect ratios: 16:9 default and 9:16 . Resolutions: - 360p - 720p default - 1080p upscaled - 4k upscaled Draft at 360p or 720p. Upscale the keepers. Edit in a follow-up turn Generate once, then send another interaction with previous interaction id . You can edit generated clips up to 15 seconds without re-uploading the video. js const res1 = await ai.interactions.create { model: 'gemini-omni-1.2-flash', input: 'A woman playing violin outdoors.', } const res2 = await ai.interactions.create { model: 'gemini-omni-1.2-flash', previous interaction id: res1.id, input: 'Make the violin invisible.', } if res2.output video?.data { fs.writeFileSync 'edited.mp4', Buffer.from res2.output video.data, 'base64' } If you set store: false for a faster unary call, later turns cannot edit that video through previous interaction id . Large files Clips over 4MB work better with URI delivery. Set delivery to "uri" in response format , poll until the file is ACTIVE , then download. Official Python sample: python import time from google import genai client = genai.Client interaction = client.interactions.create model='gemini-omni-1.2-flash', input='A beautiful sunset.', response format={'type': 'video', 'delivery': 'uri'}, video output = interaction.output video file name = video output.uri.split '/' -1 while True: f info = client.files.get name=f'files/{file name}' if f info.state.name == 'ACTIVE': break elif f info.state.name == 'FAILED': raise RuntimeError 'Generation failed.' time.sleep 5 client.files.download file=video output.uri, download path='sunset.mp4' Pricing in short Paid tier only. From Google’s pricing page for gemini-omni-1.2-flash : | | Omni 1.1 | Omni 1.2 Flash | |---|---|---| | Max clip | 10 seconds | 15 seconds | | Video output | $17.50 per 1M tokens | $12.00 per 1M tokens | | 720p | about $0.10 per second | about $0.07 per second | Input on 1.2 is $1.50 per 1M tokens text, image, or video . | Resolution | About | |---|---| | 360p | $0.023 per second | | 720p | $0.07 per second ~$0.70 for 10s, ~$1.04 for 15s | | 1080p | $0.104 per second | | 4K | $0.209 per second | What to do before December 3 Search your repo for the old id: grep -rn 'gemini-omni-1.1-flash' . Point it at gemini-omni-1.2-flash . Re-run a few of your prompts and compare audio, duration, and file size. Keep duration and resolution in response format so costs stay predictable. Sources - Gemini Omni 1.2 Flash announcement https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemini-omni-1-2-flash/ - Generate and edit videos with Gemini Omni Flash https://ai.google.dev/gemini-api/docs/omni - Gemini Omni Flash model card https://ai.google.dev/gemini-api/docs/models/gemini-omni-flash - Gemini API pricing https://ai.google.dev/gemini-api/docs/pricing gemini-omni-1.2-flash Want me to talk about your product? You can sponsor this site https://flaviocopes.com/sponsor/ .