Spiral gives your agent every tool with one account. Browse the tools →

How to Add the Gemini Omni Video Skill to Your AI Agent

Video skillUse when the user explicitly asks for Gemini Omni, Omni Flash or Google's Omni video model: text-to-video, image-to-video, reference-to-video or editing a short video with Gemini Omni. Covers finding the tools, duration format, edit-video preparation, prompt structure, media role tags, audio behavior, text rendering, timing, and how to prepare source media.

How to add Gemini Omni Video to your agent

Pick the way that suits you. Each takes about two minutes.

Save SKILL.md into your agent's skills

  1. Download the skill

    Claude Code, and other agents that read Agent Skills, load it from this folder when they start.

    mkdir -p ~/.claude/skills/gemini-omni-video
    curl -fsSL https://spiral.ai/skills/gemini-omni-video/SKILL.md -o ~/.claude/skills/gemini-omni-video/SKILL.md
  2. Connect Spiral

    The skill runs its tools through Spiral. Send your agent this message once to set it up.

    set up https://spiral.ai/SKILL.md

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init
  2. Read the skill

    Built-in skills are on for every organization: the CLI prints this one with all its files.

    spiral agent-skills get gemini-omni-video --json

Read it from the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Fetch the skill

    The answer holds SKILL.md and every other file of the skill, in path order.

    curl https://api.spiral.ai/v1/skills/gemini-omni-video \
      -H "Authorization: Bearer $SPIRAL_API_KEY"

Then ask your agent for the task: it loads Gemini Omni Video when a request matches the skill's description.

When to use (description)

Use when the user explicitly asks for Gemini Omni, Omni Flash or Google's Omni video model: text-to-video, image-to-video, reference-to-video or editing a short video with Gemini Omni. Covers finding the tools, duration format, edit-video preparation, prompt structure, media role tags, audio behavior, text rendering, timing, and how to prepare source media.

Instructions

Gemini Omni Video

Use this skill only when the user explicitly asks for Gemini Omni Flash or Google's Omni video model. Generic video requests and generic best-quality video stay with model-recommendations.

Finding the tools

Gemini Omni Flash has four modes: text to video, image to video, reference to video and edit video. Gemini Omni 1.2 Flash · Video Generation generates (3 to 15 seconds) from a text prompt, first and last frames, or reference images and videos; Gemini Omni 1.2 Flash · Video Generation is the same model on Vertex. Gemini Omni 1.1 Flash · Video Editing edits a short source video (3 to 10 seconds). Prefer the newest version unless the user named one. Read the tool's input schema, estimate the cost of the input, then run it.

Duration

Gemini Omni Flash supports explicit short output durations (up to about 15 seconds; check the schema of the version you run).

  • Check the schema for the duration field, its range and its type (number of seconds vs a string) before setting it.
  • If the user asks for a longer single output, explain that this model is short-form and offer to create multiple clips and stitch them, or choose another model with a longer supported duration after checking its schema.

Action density must match duration:

  • 3-5s: one simple action or one clean camera move.
  • 5-8s: one action with anticipation or a small two-beat change.
  • 8-10s: two or three clear beats, ideally timestamped.
Resolution

Generation modes may accept an optional resolution; check the schema for the values offered.

  • Use the lowest resolution for quick, low-cost drafts and storyboard iterations, then rerun the chosen draft at the final resolution.
  • Use the highest resolutions only when the user asks for high-resolution or final delivery output; they cost more per second.
  • Estimate the cost of an input with the chosen resolution and duration before quoting a price. For an edit run, include the source video in the sample input so the estimate uses its real length.
Prompting Principles

By default, Gemini Omni Flash may create a few different shots to make the clip feel like a short narrative. If the user asks for one uninterrupted moment, include a direct single-scene constraint such as In a single unbroken scene, In a single continuous shot, or No scene cuts.

Use short negative constraints to avoid unwanted elements: No dialogue, No embellishments, No extra sound effects.

For richer natural scenes, add concise quality guidance rather than stuffing in many plot events:

  • mention micro-detail, expression, timing, background detail, costume/material detail, and natural motion.
  • for rapid-fire concepts, specify the rhythm, e.g. show a different rare flower every 1s with upbeat music and a readable label.
Text to Video

Use the text-to-video mode when no source image/video is in scope and the user asks for a short generated clip.

Image to Video

Use the image-to-video mode when the user provides one image that should become the starting frame or main visual basis.

  • Pass the image in the image field the schema names.
  • Describe motion and camera behavior in the prompt.
  • If the image should be treated as the first frame, say that plainly in the prompt and prefer the <FIRST_FRAME> tag when useful.
Reference to Video

Use the reference-to-video mode when the user provides multiple images for character, product, style, or scene consistency.

  • Pass the images in the image-list field the schema names.
  • Keep references purposeful; do not add unrelated images.
  • In the prompt, identify roles when needed: starting frame, style reference, character reference, object reference.
  • Use image role tags when multiple uploaded images need different roles:
  • <FIRST_FRAME> means the image is the starting frame.
  • <IMAGE_REF_0>, <IMAGE_REF_1>, etc. mean reference images by index, starting from 0.
  • For complex cases, declare roles explicitly at the start of the prompt, then add a final natural-language instruction:
[# Sources <FIRST_FRAME>@Image1] [# References <IMAGE_REF_0>@Image2]
A woman <IMAGE_REF_0> walks through a neon street.
Use Image1 as the starting frame. Use Image2 as a reference for video generation.
Edit Video

Use the edit-video mode when the user supplies an existing video and wants a natural-language edit, restyle, object change, lighting change, or similar modification.

Keep edit prompts short and direct. When editing one specific aspect, end with Keep everything else the same to preserve visual consistency:

  • Make this video anime. Keep everything else the same.
  • Change the text on the sign to say "Omni Flash". Keep everything else the same.

Simplify over-detailed edit instructions before calling the model:

  • Avoid: a long paragraph describing every frame of a cat entering a room and interacting with a person.
  • Use: Add a cat that jumps onto his lap, he begins to pet it. Keep everything else the same.

Video preparation guidance:

  • Source videos must be short: check the schema for the accepted length. If the source is outside that range, ask for a different video or a segment instead of assuming one: the start, the end, or a time range the user chooses, each within the accepted length.
  • Use 720p MP4 when possible.
  • If the source has audio and the user wants fully regenerated audio, strip the audio before editing. If audio is present, the model may try to preserve or adapt it.
Audio Prompting

Gemini Omni Flash can generate audio with the video. Put audio intent in the prompt:

  • Include calm background music.
  • Audio design: soft room tone, cloth movement, quiet footsteps.
  • The character says, "..." for short dialogue.

Keep spoken text brief for short durations. For longer narration, use a separate TTS/lipsync or editing pipeline after checking the relevant schemas.

Timing Prompts

Timing cues help with scene rhythm, cuts, music moments, and rapid sequences. Natural language works (After 3 seconds, a woman enters the scene., Every 2s cut to a new frame.). Timecode syntax works well for 8-10 second clips; keep shorter clips to the beat counts under Duration:

[0-3s] The person walks into frame.
[3-6s] They stop and look toward the camera.
[6-10s] The lights brighten and the logo appears on the wall.
Text In Videos

Gemini Omni Flash can render readable text when prompted clearly, but its spelling and glyph fidelity remain probabilistic. The canonical Route on-frame text by fidelity requirement policy in the video-generation-rules Skill governs all exact-copy requests; load and follow it before choosing generation or deterministic composition here.

  • For on-screen animated words, specify the exact words and timing: One word on the screen at a time: "did, you, know, that, Omni, can, do, awesome, text?" Each word appears for 1s with a different animated style. No dialogue.
  • For environmental text where exact spelling is not the acceptance gate, name the object and intended copy: A street sign says "This is an AI generation by Omni" and a car plate says "OMN111". Inspect the rendered frames before describing it as correct.
  • When environmental text must be both exact and scene-integrated, do not automatically send it to Gemini Omni. Follow the canonical clarification policy: ask the user to choose whether the user prioritizes probabilistic scene integration or faithful deterministic overlay/end-card placement.
Limitations And Routing Notes
  • Do not pass YouTube URLs directly to Gemini Omni edit.
  • Do not attempt multi-video reasoning with this model unless the current schema explicitly supports it.
  • It is not a video-extension or interpolation model. If the user wants to extend a clip, follow the video-extend guidance in model-recommendations.
  • Use when producing a narrative video about historical figures, fictional stories, day-in-the-life pieces, educational explainers with a protagonist, brand mascot stories, and any narrative video that depends on a consistent main character across scenes. Methodology for producing multi-scene character-driven short films: covers the full 11-phase pipeline — creative brief, style reference, character sheet, scene stills, animation, voiceover, per-clip audio mix, stitching, music with proper fade technique, optional subtitles, and optional Fin card — plus approval gates, parallelization strategy, asset naming, and the prompting principles that hold across video models. Tool and model selection is delegated to model-recommendations.

  • Use whenever the inferred intent is a continuous tracking shot or a long single-take video built from chained clips, including character-following journeys ("the character walks from room to room", "follow the figure across the city"), or an AI transition between two known frames (a first-to-last-frame clip from a start image to an end image, seamless loops from one image, chains of transitions A→B→C). Frame chaining: extract last frame → feed as next input → repeat → stitch. Covers workflow modes (all-at-once vs step-by-step), prompting rules, aspect ratio discipline, last-frame quality control, stitching, character continuity (original reference on every clip through reference-to-video, the handoff frame as an extra reference only, locked character description string, locomotion-through-space rule, the rear-facing danger, corrective stills), the morphing problem and visual bridges, and prompting cheat sheets for style/audio/camera.

  • Use when a HyperFrames composition needs any motion or animation: atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

  • Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), automation envelopes drawn on a track's volume or any effect parameter, or one submix bus carrying a chain, a fader and an automation clock for several tracks at once (`<hf-audio-group>`). Don't use for sourcing or generating audio (finding music or SFX, making a voiceover: `model-recommendations`), or for clip timing or track layout (`hyperframes-core`).

Questions about Gemini Omni Video

What does the Gemini Omni Video skill do?

Use when the user explicitly asks for Gemini Omni, Omni Flash or Google's Omni video model: text-to-video, image-to-video, reference-to-video or editing a short video with Gemini Omni. Covers finding the tools, duration format, edit-video preparation, prompt structure, media role tags, audio behavior, text rendering, timing, and how to prepare source media.

Which tools does Gemini Omni Video use?

It runs Gemini Omni 1.2 Flash · Video Generation, Gemini Omni 1.2 Flash · Video Generation, Gemini Omni 1.1 Flash · Video Editing through Spiral, each at the price on its tool page.

Does the Gemini Omni Video skill cost anything?

The skill is free. The tools it runs are billed pay-as-you-go from your Spiral balance at each tool's stated price, with no plan.

How does my agent know when to use Gemini Omni Video?

An agent reads each skill's description and loads its instructions when a request matches it.

How do I add Gemini Omni Video to Claude Code?

Save its files into ~/.claude/skills/gemini-omni-video/ with the commands on this page; Claude Code loads it when it starts.

Can I use Gemini Omni Video in other agents?

Yes. Any agent that reads Agent Skills folders loads the same files, and any other agent reads the skill with `spiral agent-skills get gemini-omni-video --json` or the Spiral API.

Is Gemini Omni Video on for my Spiral organization?

Yes. Built-in skills are on for every organization; an admin can turn Gemini Omni Video off on the console's Skills page.

Where is the Gemini Omni Video SKILL.md file?

At https://spiral.ai/skills/gemini-omni-video/SKILL.md, with no key needed. On the console's Skills page, Customize saves a copy you can edit as your organization's own skill.