Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

gemini-omni-flash-api

Skill by asgeirtj

Generates and edits videos with Gemini Omni 1.2 Flash through the google-genai SDK. Built for developers and creators who want text-to-video, frame-based, reference-guided, and extension workflows from an AI assistant.

  • Score 92
  • 74k stars
  • CC0-1.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gemini-omni-flash-api

Built from the published package, never by AI.

git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/Google/antigravity/skills/gemini-omni-flash-api ~/.claude/skills/gemini-omni-flash-api

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gemini-omni-flash-api in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The gemini-omni-flash-api skill uses the Gemini Omni 1.2 Flash model (gemini-omni-1.2-flash) to generate and edit videos. It covers text-to-video, first-frame and first-and-last-frame generation, reference-to-video, video extensions up to 30 seconds total, and video editing. Scripts call the Interactions API through the official google-genai SDK and save outputs to local files such as media/.

Developers and creators who work with Gemini can use it to run these workflows from an AI assistant. The skill also covers ffmpeg pre-processing for large or long source videos, stripping audio so sound is regenerated, turn-by-turn editing with previous interaction IDs, and parallel batch runs from a prompts file. Video uploads for edits, extensions, or references are not available in the EEA, Switzerland, the UK, and some US states.

Written from the project's SKILL.md and checked against it.

What it can do

  • Text to videoGenerates videos from 3 to 15 seconds long from a text prompt.
  • First frame to videoGenerates a video from a starting image passed with --first-frame.
  • First and last frame transitionCreates a transition between a first and last image, up to 10 seconds.
  • Video extensionExtends a video by 3 to 10 seconds per turn, up to 30 seconds total.
  • Video editingEdits an uploaded or generated source video of up to 15 seconds.
  • Reference-to-videoGuides generation with up to 6 reference images or up to 3 reference videos.
  • Turn-by-turn editingEdits a prior generation by passing its previous interaction ID.
  • Parallel batch executionRuns multiple prompts from a line-by-line text file concurrently.

What you need

  • Gemini API key set as GEMINI_API_KEY
  • Python 3.10 or later
  • google-genai 2.30.1 or later
  • ffmpeg and ffprobe available in PATH for some scripts

Try asking

  • Make a 12 second video of a cat drinking tea and save it to media/
  • Extend media/sunset.mp4 by 10 seconds so the sun sets below the horizon
  • Edit input.mp4 into Japanese anime style and keep everything else the same

Good to know

  • Video uploads for edits, extensions, or references are not available in the EEA, Switzerland, the UK, and some US states.
  • 4k requests take longer to generate, and the default HTTP timeout is 600 seconds.
  • The last frame option requires the first frame, and two-frame transitions are capped at 10 seconds.
  • Reference videos cannot be used for video editing or extension.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: Google/antigravity/skills/gemini-omni-flash-api/SKILL.md, Google/antigravity/skills/gemini-omni-flash-api/scripts/upload_file.py, Google/antigravity/skills/gemini-omni-flash-api/scripts/video/generate_video.py, Google/antigravity/skills/gemini-omni-flash-api/scripts/video/inspect_video.py, Google/antigravity/skills/gemini-omni-flash-api/scripts/video/prep_video.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md25 KB
  • scripts/upload_file.py14 KB
  • scripts/video/generate_video.py34 KB
  • scripts/video/inspect_video.py6 KB
  • scripts/video/prep_video.py11 KB

Alternatives to gemini-omni-flash-api

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

gemini-omni-flash-api: common questions

Which model does this skill use?

It uses Gemini Omni 1.2 Flash (gemini-omni-1.2-flash) through the Interactions API and the google-genai SDK.

Can I upload videos for editing from the UK or the EEA?

The source says video uploads for edits, extensions, or references are not available in the EEA, Switzerland, the United Kingdom, and some US states. Empty video outputs may indicate this restriction.

What output resolutions are supported?

The source lists 360p, 720p (default), 1080p, and 4k, in 16:9 or 9:16 aspect ratios.

How do I install gemini-omni-flash-api?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is gemini-omni-flash-api free?

The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.

Is gemini-omni-flash-api safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to gemini-omni-flash-api?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

gemini-omni-flash-api Install

Add to stack

Loading.