gemini-omni-flash-api

gemini-omni-flash-api is a skill for Codex from PracticalSwan/agent-skills. It costs 107 tokens per session (6,734 once invoked), scanned A, a copy of gemini-omni-flash-api, MIT.

A workflow for using Google's Gemini Omni Flash model to create and edit videos from text, images, or existing video. Gemini Omni Flash is an artificial-intelligence model that generates or changes media from instructions.

In plain words
What is it for?
Use it for text-to-video generation, image-to-video animation, transitions between two images, extending a video, and editing or refining an existing video.
Why use it?
It provides a documented way to handle several video-generation tasks through Google's software library, while noting regional limits on video uploads.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it for text-to-video generation, image-to-video animation, transitions between two images, extending a video, and editing or refining an existing video.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/gemini-omni-flash-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PracticalSwan/agent-skills --skill gemini-omni-flash-api
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gemini-omni-flash-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/practicalswan/agent-skills/gemini-omni-flash-api/github.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/gemini-omni-flash-api)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/gemini-omni-flash-api"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/gemini-omni-flash-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gemini-omni-flash-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/gemini-omni-flash-api"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/gemini-omni-flash-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,734 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00107 $0.06734
Opus 5 $0.00053 $0.03367
Sonnet 5 $0.00021 $0.01347
Haiku 4.5 $0.00011 $0.00673

Measured 4d ago against content hash ca86653ad453, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

gemini-omni-flash-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/upload_file.py, scripts/video/generate_video.py, scripts/video/inspect_video.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to gemini-omni-flash-api — 55 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

gemini-omni-flash-api/SKILL.md · 502 lines

How it starts

The opening of the file, as written. The whole thing — 502 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

    • Directly run the appropriate utility (scripts/video/generate_video.py or scripts/upload_file.py).
    • Configure settings like --aspect-ratio (e.g. 16:9, 9:16), --resolution (360p, 720p, 1080p, 4k; default: 720p), and --duration (any integer between 3 and 10 seconds, e.g. 3, 5, 10). Note: 4k requests take longer to generate.

Read the full file on GitHub · 502 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed ca86653ad453
  2. 6d ago First seen · 502 lines · 107 tokens per session scan A 3b06c9ca07fd

Subscribe to this mod's changes

gemini-omni-flash-api is a skill published in the GitHub repository PracticalSwan/agent-skills (14 stars, last pushed 5d ago), licensed MIT. It adds 107 tokens to every session and 6,734 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to gemini-omni-flash-api, differing in 55 lines, and is treated as a copy.

Related

Other skills, from other repositories

microservices-expert

Expert-level microservices architecture, patterns, service mesh, and distributed systems. Use when the user mentions distributed systems, service mesh, or architecture, or when the task involves Microservices Principles, Architecture Patterns, Communication, or Data Management.

personamanagmentlayer/pcl · 52 tokens

api-design-expert

Expert-level API design principles, REST, GraphQL, versioning, and API best practices. Use when the user mentions REST, GraphQL, API versioning, or API security, or when the task involves API Design Principles, API Styles, or Documentation.

personamanagmentlayer/pcl · 57 tokens

fastapi-expert

Expert-level FastAPI development for high-performance Python APIs with async support. Use when the user mentions Python, API, async, REST, OpenAPI, or Pydantic, or when the task involves FastAPI Features.

personamanagmentlayer/pcl · 49 tokens

grpc-expert

Expert-level gRPC, Protocol Buffers, microservices communication, and streaming. Use when the user mentions Protocol Buffers, microservices, RPC, or streaming, or when the task involves gRPC Fundamentals, Communication Patterns, or Production Features.

personamanagmentlayer/pcl · 53 tokens

graphql-expert

Expert-level GraphQL API development with schema design, resolvers, and subscriptions. Use when the user mentions API, apollo, schema, resolvers, subscriptions, or relay, or when the task involves Schema Design, Queries and Mutations, Apollo Server 4, or DataLoader for N+1 Prevention.

personamanagmentlayer/pcl · 67 tokens

openapi-expert

Expert-level OpenAPI/Swagger specification for API design, documentation, and code generation. Use when the user mentions swagger, API specs, REST, API design, or documentation, or when the task involves OpenAPI Specification, Webhooks, or Polymorphism.

personamanagmentlayer/pcl · 57 tokens