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.
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-apiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/gemini-omni-flash-api ~/.gemini/antigravity-cli/skills/gemini-omni-flash-apiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gemini-omni-flash-api in Antigravity CLI
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
ANo 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 →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
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.
