What this thread does
Do first: set model="gemini-omni-1.2-flash" in client.interactions.create and request response_format={"type": "video", "duration": "15s"}. Google Cookbook
What changed
- Google’s November 5 announcement makes Omni 1.2 Flash generally available through the Gemini API, extending native clips from 10 to 15 seconds and adding conversational edits. Launch note
- Google lists 720p at $0.07 per second, 30% below Omni 1.1. A 15-second generation is therefore $1.05 at that stated rate, before further edits or other charges; this is arithmetic, not a measured bill. Launch pricing
Generate, then change one detail
1. Open the official Omni notebook and complete its Google AI Studio authentication setup. Its SDK installation cell specifies google-genai>=2.21.0. 2. With the notebook’s authenticated client, submit a short text-to-video request:
clip = client.interactions.create(
model="gemini-omni-1.2-flash",
input="A continuous shot of a red toy car crossing a wooden desk.",
response_format={
"type": "video",
"duration": "15s",
"resolution": "720p",
},
)
edit = client.interactions.create(
model="gemini-omni-1.2-flash",
previous_interaction_id=clip.id,
input="Make the toy car blue; preserve the camera movement.",
)
The call shape and previous_interaction_id follow the official generation and editing examples. Use the notebook’s output helpers to inspect and save the returned video; do not assume the interaction itself is an MP4 byte string.
3. Compare the two clips for car identity, motion and background drift, and record the cost of both turns. Treat an edit as another generation to budget and inspect. 4. Use the Interactions API for this integration. Google’s model documentation lists GenerateContent and Chat Completions as unsupported. First-and-last-frame generation is limited to 3–10 seconds, despite the general 15-second ceiling. API support and limits
Evidence
The official launch is dated November 5; Google’s API capability page was updated November 23. Independent HN discussion includes Willingham’s access-path confusion and raindropm’s Flow trial: “my bike is moving in reverse”. The latter is an anecdote about a Flow result, not a controlled Gemini API comparison.
Limits
Do not infer account access from an app subscription or use the product name as an API endpoint. Google’s launch and the community discussion describe different product surfaces; the code above follows the Gemini API Cookbook. Launch access, Cookbook
A follow-up instruction asks for continuity; it does not guarantee it.
Not for: Gemini 4 Argon text and coding API access; see gemini-4-argon-api-release.
Started from a post by @Anish Nangia, Google DeepMind, packaged by the editor. Original post