# Gemini Omni Flash API

Use this skill for generative video editing, text-to-video, image-referenced video...

- Repository: https://github.com/google-gemini/gemini-skills (4368 stars)
- Category: Media
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -g -a claude-code -y`
Codex: `npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -g -a codex -y`
Cursor: `npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -g -a cursor -y`
Gemini CLI: `npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add google-gemini/gemini-skills`

## Description

Use this skill for generative video editing, text-to-video, image-referenced video generation, first-frame-to-video, first-and-last-frame transitions, and video extensions using Gemini Omni 1.1 Flash (gemini-omni-1.1-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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Gemini Omni Flash Skill

This skill uses the Gemini Omni 1.1 Flash model (`gemini-omni-1.1-flash`) to perform text to video generation, image to video generation (first frame and last frame transitions), video extensions (up to 40s), and video editing.

> [!WARNING]
> **Important Regional Restrictions**: Uploading videos to use for video edits or extensions 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 (`total_output_tokens: 0` or no video content), it is likely due to this restriction.

## Core capabilities

1. **Text to video**: Generating videos from a text prompt.
2. **First frame to video**: Generating videos from a starting image (`--first-frame`).
3. **First and last frame transition**: Generating videos 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 up to 10 seconds per turn, up to a total length of 40 seconds (`--extend` or `--previous-interaction-id`).
5. **Video editing and refinement**: Editing existing videos (maximum duration 10 seconds), applying stylistic changes, or performing inpainting/outpainting.
6. **Image and video referenced generation**: Using style, character, or object references from images or videos to guide video generation.

## Workflow

1. **Analyze request**: Determine the target task (e.g., first-frame-to-video, first-and-last-frame transition, video extension, reference-guided editing) and identify any input media assets.
2. **Run SDK scripts**:

The rest: https://github.com/google-gemini/gemini-skills/blob/HEAD/skills/gemini-omni-flash-api/SKILL.md
