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 sickn33

Generates and edits short videos with the Gemini Omni Flash model using the official google-genai SDK. Covers text-to-video, first-frame animation, image-referenced generation and edits to existing clips.

  • Score 92
  • 51k stars
  • MIT
  • 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/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-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 Flash model (gemini-omni-flash-preview) through the official google-genai SDK. It covers text to video, first-frame to video, image-referenced generation, and editing existing videos up to 10 seconds long. Requests go through the Interactions API, and input images or videos are uploaded first with the Files API.

The bundle includes Python scripts for uploading media, generating videos, inspecting output with ffprobe, and preparing source clips with ffmpeg. Scripts can run batches from a prompts file or a JSON config, and outputs are saved to the local filesystem, such as media/. The source notes that these scripts upload media to Google and can incur API charges. It is aimed at developers who want to script video generation and editing with Gemini.

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

What it can do

  • Text to videoGenerates a video from a text prompt using the Gemini Omni Flash model.
  • First-frame to videoGenerates a video from a single input image used as the starting frame.
  • Image-referenced generationUses style, character or object references from images to guide a video.
  • Video editingEdits an existing video up to 10 seconds, for example applying a style change.
  • Video interpolationCreates a transition video between exactly two keyframe images.
  • Turn-by-turn editingEdits a prior generation by passing its interaction ID, without re-uploading assets.
  • Batch executionRuns multiple prompts from a text file or a JSON config concurrently.
  • Video inspectionChecks duration, resolution, frame rate and audio presence with ffprobe.
  • Video preparationTrims, resizes and reformats source videos with ffmpeg to fit generation limits.

What you need

  • GEMINI_API_KEY set in the environment
  • google-genai 2.10.0 or newer
  • Python 3.10 or newer
  • ffmpeg and ffprobe available in the system PATH

Try asking

  • Generate a 5 second video of a cat drinking tea from a text prompt.
  • Animate reference.png into a video where the waves crash against the shore.
  • Restyle input.mp4 as Japanese anime and keep the original audio.

Good to know

  • Editing applies to existing videos with a maximum duration of 10 seconds.
  • Generated durations are between 3 and 10 seconds.
  • Uploading videos for edits is not available in the EEA, Switzerland, the UK and some US states.
  • Model access, SDK requirements, limits and pricing must be checked against official documentation.

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.md17 KB
  • scripts/upload_file.py10 KB
  • scripts/video/generate_video.py21 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

Does this skill need a Gemini API key?

Yes. The source says to use GEMINI_API_KEY from the environment and to avoid command-line keys in shell history.

Can it edit long videos?

Editing is for videos up to 10 seconds. The prep_video.py script can trim longer sources to the first 10 seconds, the last 10 seconds or a custom timecode.

Do the scripts cost money to run?

The source says the scripts upload media and prompts to Google and can incur API charges, so selected media and batch size should be confirmed first.

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 MIT 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.