1. Core Capabilities & Hard Limits
- Model Code:
gemini-omni-1.2-flash(via Interactions API + Files API) - Resolutions & Ratios:
360p,720p(default),1080p,4kin16:9(default) or9:16. - Duration Rules:
- Text-to-Video / First-Frame-to-Video:
3s–15s(default10s). - First + Last Frame Transition:
3s–10smax (pass the same image twice for a seamless loop). - Video Extension:
3s–10sper turn (default10s), up to30scumulative (appends to the end using up to the last10sas lookback; prepending/middle-insert not supported). - Video Editing: Source clips up to
15s. - Reference Asset Limits:
- Reference Images: Up to 6 images—supported in R2V generation, video editing, and prompt-based extension (leave
taskunset when extending with reference images). - Reference Videos: Supported only when generating a new video (not editing/extension). Up to 3 clips for
3s–10sgenerations, max 1 clip for11s–15s(ideal clip length ~3s; audio in reference videos is ignored). - Important Restrictions & Caveats:
- Regional block: Uploading videos for editing, extension, or reference is not available in the EEA, Switzerland, UK, and some US states (multi-turn editing/extending model-generated videos via
previous_interaction_idworks). - Unsupported parameters: System instructions,
temperature,top_p, stop sequences, and separate negative-prompt fields are not supported—put negative instructions directly in the prompt. - Watermarking: All outputs include invisible SynthID watermarks.
2. Binding Uploaded Media (Natural Language Only)
Do NOT use deprecated tags like <FIRST_FRAME>, <LAST_FRAME>, <IMAGE_REF_N>, <VIDEO_REF_N>, or [# Sources ...]. Bind assets purely in natural language by upload order:
- Starting frame:
"Use this image as the starting frame. The camera slowly pushes in as neon signs flicker on." - Start + End keyframes (
3s–10s):"Use the first image as the starting frame and the second image as the final frame, smoothly transitioning from day to night." - Multiple reference images (preventing literal start-frame lock): > "A studio fashion sequence: the woman from the first image holds the leather bag from the second image while walking across the set shown in the third image. Use the given images as character, prop, and environment references rather than literal starting frames."
- Image + Video reference: > "The violinist shown in the reference image performs on a dimly lit stage using the bow movement and camera framing from the reference video."
3. Essential Prompting Rules
A. Single Continuous Shot vs. Default Multi-Shot
By default, Omni Flash tries to cut between multiple shots. If you want one unbroken shot, you must state it explicitly:
"In a single unbroken scene","In a single continuous shot", or"No scene cuts".
B. Keep Video Edits Short & Surgical
Overly descriptive edit prompts cause unintended drift. State the single change and end with "Keep everything else the same."
- Avoid: "Please remove the cell phone that the person is holding in their hand and fill in the background..."
- Use: "Make the phone invisible. Keep everything else the same."
C. Audio Control (Preserve vs. Regenerate)
- Prompt the soundscape explicitly: "Sound design: Gentle breeze, distant bird chirps. No dialogue.", "Include calm background music", or "The video has a high energy techno beat."
- Editing audio rule: If the input video has an audio stream, Omni preserves/adapts it by default. To regenerate all audio from scratch, you must strip the audio stream (
--strip-audioviaffmpeg) before uploading.
D. Timestamps & Extensions
- Use natural cues ("After 3 seconds, a woman enters...", "Every 2s cut to a new frame") or bracketed timecodes (
[0-5s],[5-10s],[10-15s]). - When extending (
"Extend this video..."or"The scene continues..."), timestamps in the extension prompt start at0s= beginning of the new segment. - You cannot extend an uploaded video with active speech to add new spoken dialogue (use multi-turn
previous_interaction_idinstead).
E. Negatives & On-Screen Text
- Add concise negatives at the end:
"No dialogue","No embellishments","No extra sound effects". - Quote exact on-screen/diegetic text:
there is a storefront that says: "All you need AI".
4. Copy-Pasteable Templates
Template A: Single Continuous Shot
Continuous, unbroken [camera move/feel, e.g., handheld / slow dolly-in] shot of [subject] in [environment]. [Micro-details, expression, lighting, dust/wind reaction]. No scene cuts. Sound design: [ambient SFX / music style]. [No dialogue / No extra sound effects].Template B: Multi-Beat Timeline (up to 15s)
[0-5s] [Opening shot size + angle, subject, action, lighting]
[5-10s] [Camera move or transition, evolving action]
[10-15s] [Closing wide/close-up beat + audio swell]Template C: Surgical Video Edit
[Single concise change, e.g., Transform the style to Japanese anime / Replace the coat with the red coat from the reference image]. Keep everything else the same.Template D: Prompt-Based Extension with Reference Image (task omitted)
Extend this video: [the person in the reference image enters through the doorway]. [Describe how the camera continues or cuts, and how the music/audio evolves].