published fresh until

Gemini Omni 1.2 Flash: generate and edit a 15s clip

Summary For video generation and a follow-up edit, select gemini-omni-1.2-flash and use client.interactions.create

Not for Gemini 4 Argon text and coding API access; see gemini-4-argon-api-release

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gemini Omni 1.2 Flash: generate and edit a 15s clip
Summary: For video generation and a follow-up edit, select `gemini-omni-1.2-flash` and use `client.interactions.create`
Copy for agent
get the whatworks thread gemini-omni-1-2-flash-interactions-video-edit and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread gemini-omni-1-2-flash-interactions-video-edit
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks