gemini-omni
它能做什么
这项技能生成短 AI 视频片段,并通过对话进行编辑。适合希望用简单的请求修改片段、而不必重新开始的视频创作者。
适用场景
- ✓当你想用简单的请求修改已生成的片段,而不是重新生成时。
- ✓当你需要带有合成音频或屏幕文字的短片段时。
- ✓当你想要带有特定时间点画面的片段时。
技能链接
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/gemini-omni/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我把这段视频里的手机去掉,但保持其他内容不变。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会生成一段短片段,并保留对它的引用。后续请求会直接编辑同一片段,因此每次修改都会建立在上一次的基础之上。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Gemini Omni Flash (Google DeepMind)
Gemini Omni is Google DeepMind's video generation and editing model family. The OpenMontage direct adapter uses the generally available Gemini Omni 1.1 Flash model (gemini-omni-1.1-flash) through the Gemini Interactions API. Its implemented baseline generates 3–10 second clips at 720p/24fps with synthesized audio. Its differentiator in the OpenMontage fleet is stateful conversational editing: each stored generation returns an interaction_id, and a follow-up call with previous_interaction_id edits that video in place — no other wrapped provider can refine a clip without regenerating it.
OpenMontage wraps it as gemini_omni_video (native Gemini API, no gateway). It shares GOOGLE_API_KEY/GEMINI_API_KEY with google_imagen and google_tts — one key, three capabilities. Paid tier only: ~$0.10 per second of output video (exactly 5,792 output tokens/sec at $17.50/1M, before input and any text/thought output).
Other documented routes are available when the direct Google key is not the chosen provider:
| Route | OpenMontage call | Important limitation |
|---|---|---|
| fal.ai | gemini_omni_fal |
T2V, I2V, reference video, and edit endpoints; no Google interaction ID is returned |
| Runway | runway_video, model: "gemini_omni_flash" |
T2V/I2V/V2V; video edits accept up to five image references |
| ComfyUI Partner Node | Not a stable 1.1 fallback in this adapter | The existing GeminiVideoOmni mapping targets the legacy preview node; migrate it separately to GeminiVideoOmniV2 before claiming Omni 1.1 support |
Use the direct gemini_omni_video route for stateful conversational editing.
Gateway routes return ordinary provider tasks and cannot preserve Google's
previous_interaction_id workflow. The fal edit endpoint can still be iterated
by feeding each output video URL into the next edit call.
When to pick it (and when not)
| Use it for | Prefer another provider for |
|---|---|
| Iterative refinement — generate, review, then edit the same clip in layers | One-shot cinematic hero clips (→ Seedance 2.0, see seedance-2-0) |
| Editing an existing/uploaded clip (restyle, add/remove objects, change text) | Clips longer than 10s or above 720p |
| On-screen rendered text and word-by-word text beats | Seed-reproducible generations (no seed support) |
| Reference-image-bound subjects/styles via prompt tags | First/last-frame interpolation (→ veo_video) |
| Timecode-scheduled multi-beat clips from one prompt | Non-English narration (English only fully supported) |
Route through video_selector for generation operations. Editing (edit_video) is a direct-tool operation — call gemini_omni_video from the registry, because the multi-turn interaction state lives outside the selector's model.
Billing and duration hints
durationis only a planning/prompt hint for the caller. The adapter does not send it to Google; express timing in the prompt or timecodes, and let the model choose the actual length. It does not cap billing.ToolResult.cost_usduses valid responseusagewhen available: input tokens are $1.50/1M for every modality, output text is $9.00/1M, and output video is $17.50/1M. Unknown/unclassified output and separately reported thought tokens use the higher $17.50/1M rate so the result cannot underreport.- Without valid usage, the fallback assumes the maximum 10-second output:
10 × 5,792 × $17.50/1M = $1.0136, plus a conservative upper estimate for prompt and available media input tokens. A shortdurationhint never reduces this fallback.
Generation prompting
Describe scene + camera + lighting + motion + audio. Official example:
Continuous, unbroken handheld shot of a fluffy tabby cat sitting on a sunny windowsill, looking out into a leafy garden. The cat's tail twitches slowly, and its ears rotate slightly toward ambient noises. Sunbeams illuminate dust motes in the air.
- Force a single shot explicitly: "In a single continuous shot," / "No scene cuts." Otherwise the model may cut between scenes.
- Negatives go in prose — there is no
negative_promptparameter: "No dialogue," "No extra sound effects." - No sampler controls: system instructions, temperature, top_p, and seeds are all unsupported. The prompt is the only lever.
- Meta-prompt for quality: "Consider micro-detail, expression and timing to create a very rich, detailed but entirely natural scen
常见问题
片段有多长?
直接生成的路径可以生成 3 到 10 秒、720p 的片段。
它需要花钱吗?
需要。这是付费选项,这项技能会给出每秒视频的预估费用。
我可以使用参考图片吗?
可以。参考图片可以在提示词中分配角色,这项技能会说明如何编写。
详情
作者的原始描述
Generate and conversationally edit short videos with stable Google Gemini Omni Flash (`gemini-omni-1.1-flash`). Use when: (1) iterating on a clip with natural-language edits instead of regenerating ("make the phone invisible, keep everything else the same"), (2) generating 3-10s 720p clips with synthesized audio, rendered on-screen text, or timecoded beats, (3) binding reference images to roles with <FIRST_FRAME>/<IMAGE_REF_N> prompt tags, (4) editing an existing uploaded video. Accessed via the `gemini_omni_video` tool using the project's GEMINI_API_KEY/GOOGLE_API_KEY — the same key as Imagen
repo: calesthio/OpenMontage
热度
- GitHub 星标
- 75k
- 排名
- #2658
- 许可证
- AGPL-3.0
- 更新时间
- 2026/10/28
评论
- …