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 google-gemini

Generates and edits videos with Gemini Omni 1.2 Flash through the official google-genai SDK. It covers text-to-video, frame-based generation, reference-guided video, extensions and editing for developers and creators.

  • Score 92
  • 5.1k stars
  • Apache-2.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/google-gemini/gemini-skills /tmp/gemini-skills && mkdir -p ~/.claude/skills && cp -r /tmp/gemini-skills/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 lets an AI assistant generate and edit videos with the Gemini Omni 1.2 Flash model (gemini-omni-1.2-flash) through the official google-genai SDK. It covers text-to-video, first-frame and two-frame transitions, reference-to-video generation, video extensions, and video editing. Helper scripts upload media with the Files API and can prepare long or high-resolution source videos with ffmpeg.

Generated videos are saved locally, for example to a media folder, and the assistant reports the output path. Users need a GEMINI_API_KEY, Python 3.10 or newer, and ffmpeg and ffprobe on the PATH. The skill is aimed at developers and creators who want scripted video generation and editing with Gemini Omni Flash. It also supports turn-by-turn edits and parallel batch runs from a prompts file.

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

What it can do

  • Text to videoGenerates videos from a text prompt, from 3s to 15s with a 10s default.
  • First frame to videoGenerates a video from a starting image passed with --first-frame.
  • First and last frame transitionCreates a 3s to 10s transition between a first and a last image.
  • Video extensionsExtends a video by 3s to 10s per turn, up to 30s total.
  • Video editingEdits an uploaded source video up to 10s, such as restyling or adding or removing objects.
  • Reference-to-videoGuides new videos with up to 6 reference images or up to 3 reference videos.
  • Turn-by-turn editingEdits or extends a prior generation by passing its previous interaction ID.
  • Parallel batch executionRuns multiple prompts from a line-by-line file concurrently with --prompts-file.

What you need

  • GEMINI_API_KEY environment variable
  • Python 3.10 or newer
  • google-genai 2.30.1 or newer
  • ffmpeg and ffprobe available in PATH

Try asking

  • Generate a 12 second video of a cat drinking tea from a text prompt
  • Make a 10 second transition from start.png to end.png at sunrise
  • Restyle my input.mp4 as Japanese anime and keep everything else the same

Good to know

  • Uploading videos for edits, extensions or references is not available in the EEA, Switzerland, the UK and some US states.
  • 4k requests take longer to generate and may need a longer --timeout.
  • Two-frame transitions are capped at 10 seconds.
  • Total extended length is capped at 30 seconds.

Security check

A

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

Checked automatically: skills/gemini-omni-flash-api/SKILL.md, skills/gemini-omni-flash-api/scripts/upload_file.py, skills/gemini-omni-flash-api/scripts/video/generate_video.py, skills/gemini-omni-flash-api/scripts/video/inspect_video.py, 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.py31 KB
  • scripts/video/inspect_video.py6 KB
  • scripts/video/prep_video.py11 KB

Alternatives to gemini-omni-flash-api

All alternatives →

Compare with intelligence-vocabulary, media-use or media_library

gemini-omni-flash-api: common questions

What video length can Gemini Omni Flash generate?

Text-to-video and first-frame generation run from 3s to 15s, with a 10s default. Two-frame transitions are limited to 3s to 10s.

Can the skill keep the original audio when editing a video?

Yes. By default the edit keeps the original audio. Passing --strip-audio regenerates all audio from scratch.

Why does a video edit return empty outputs?

The source says this is likely caused by the regional restriction on uploading videos for edits, extensions or references, shown as total_output_tokens: 0 or no video content.

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 Apache-2.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: intelligence-vocabulary, media-use, media_library, speak-summary.

gemini-omni-flash-api Install

Add to stack

Loading.