Agent skill · creative production · google-gemini

gemini-omni-flash-api

Use this skill for generative video editing, text-to-video, image- and video-referenced video generation, first-frame-to-video, first-and-last-frame transitions, and video extensions using Gemini Omni 1.2 Flash (gemini-omni-1.2-flash) via the official google-genai SDK. Includes workflows for pre-processing/optimizing high-resolution or long source videos with ffmpeg, stripping audio for full sound regeneration, and handling turn-by-turn video editing and parallel execution.

Why this skill is useful

Includes executable scripts for video generation and editing workflows that extend the AI's capabilities beyond standard knowledge.

What it needs

Requires ffmpeg, google-genai installed locally. About 10k tokens when loaded. Last updated 2026-08-06. 3,886 stars on the source repository.

What this skill does

Gemini Omni Flash Skill This skill uses the Gemini Omni 1.2 Flash model (gemini-omni-1.2-flash) to perform text-to-video generation, image-to-video generation (first-frame and two-frame keyframe transitions), reference-to-video (R2V) generation, video extensions (3s–10s per turn, up to 30s total), and video editing. [!WARNING] Important Regional Restrictions: Uploading videos to use for video edits, extensions, or references is NOT available in the EEA, Switzerland, the United Kingdom, and some US states. If a video-to-video edit completes quickly with empty outputs (totaloutputtokens: 0 or no video content), it is likely due to this restriction. Core capabilities 1. Text to video: Generating videos (3s–15s, default 10s) from a text prompt. 2. First frame to video: Generating videos (3s–15s, default 10s) from a starting image (--first-frame). 3. First and last frame transition: Generating videos (3s–10s) interpolating between a starting image and a final image (--first-frame and --last-frame; note: --last-frame must be used with --first-frame). 4. Video extensions: Extending existing videos by 3 to 10 seconds per turn (10s default), up to a cumulative length of 30 seconds (--extend or --previous-interaction-id). 5. Video editing and refinement: Editing existing videos (uploaded source video up to 10 seconds), applying stylistic changes, or performing object addition/removal while keeping everything else consistent. 6. Reference-to-video (R2V) & image-guided editing/extension: Guiding new video generation (3s–15s) with reference images (--image, up to 6, including 15s clips) or reference videos (--video-reference, up to 3 for 3s–10s clips and max 1 for 11s–15s clips). Reference images (--image) also work during video editing and prompt-based video extension, whereas only reference videos (--video-reference) are restricted to new video generation. Workflow 1. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills google-gemini/gemini-omni-flash-api

View the source on GitHub

Browse the @skills marketplace