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

Category: Video

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.

Raw file: https://spiral.ai/skills/gemini-omni-video/SKILL.md

## Tools Gemini Omni Video uses

- [Gemini Omni 1.2 Flash · Video Generation](https://spiral.ai/tools/gemini/gemini-omni-1.2-flash)
- [Gemini Omni 1.2 Flash · Video Generation](https://spiral.ai/tools/vertex/gemini-omni-1.2-flash)
- [Gemini Omni 1.1 Flash · Video Editing](https://spiral.ai/tools/vertex/gemini-omni-1.1-flash-preview)

## 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.

```bash
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.

```bash
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.

```bash
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.

```bash
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.

## Instructions (SKILL.md)

# 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/gemini-omni-1.2-flash` generates (3 to 15 seconds) from a text prompt, first and last frames, or reference images and videos; `vertex/gemini-omni-1.2-flash` is the same model on Vertex. `vertex/gemini-omni-1.1-flash-preview` 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:

```text
[# 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:

```text
[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`.

## More skills

- [Character Films](https://spiral.ai/skills/character-films)
- [Frame Chaining](https://spiral.ai/skills/frame-chaining)
- [HyperFrames Animation](https://spiral.ai/skills/hyperframes-animation)
- [HyperFrames Audio](https://spiral.ai/skills/hyperframes-audio)

## Questions about Gemini Omni Video

### 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.

