{"slug":"anycap-gemini-omni-video-edit","title":"anycap-gemini-omni-video-edit","summary":"Use Gemini Omni Flash Preview through AnyCap for practical short-video editing workflows. Trigger when a user wants to edit or refine an existing video with natural-language instructions, especially product replacement, object removal or replacement, relighting, restyling, preser","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-12-04T19:18:07.729358Z","repo":{"url":"https://github.com/anycap-ai/anycap","stars":51,"forks":7,"license":"MIT","updatedAt":"2026-12-04T09:29:23Z"},"bodyHtml":"<hr>\n<h2>name: anycap-gemini-omni-video-edit\ndescription: \"Use Gemini Omni Flash Preview through AnyCap for practical short-video editing workflows. Trigger when a user wants to edit or refine an existing video with natural-language instructions, especially product replacement, object removal or replacement, relighting, restyling, preserving a person/scene while changing one element, or using reference images with a source video. Covers model/schema discovery, prompt construction, AnyCap CLI command patterns, scenario-specific templates, video QA, and retry strategy for <code>gemini-omni-flash-preview</code> / <code>edit-video</code>.\"\nmetadata:\nversion: 0.6.6\nwebsite: <a href=\"https://anycap.ai\">https://anycap.ai</a>\nlicense: MIT</h2>\n<h1>AnyCap Gemini Omni Video Edit</h1>\n<p>Use this skill to edit short videos with <code>gemini-omni-flash-preview</code> via AnyCap. It is optimized for practical one-shot video edits where a source video should stay mostly unchanged and one element should change.</p>\n<p>For CLI syntax, authentication, model discovery conventions, and delivery options, read the <code>anycap-cli</code> skill when needed.</p>\n<h2>Evidence To Verify</h2>\n<p>Gemini Omni Flash Preview is a preview model, so verify the live surface before running:</p>\n<pre><code>anycap status\nanycap video models gemini-omni-flash-preview\nanycap video models gemini-omni-flash-preview schema --operation generate --mode edit-video\n</code></pre>\n<p>Also check official Google docs when model behavior matters:</p>\n<ul>\n<li>Gemini Omni Flash guide: <a href=\"https://ai.google.dev/gemini-api/docs/omni\">https://ai.google.dev/gemini-api/docs/omni</a></li>\n<li>Gemini API video overview: <a href=\"https://ai.google.dev/gemini-api/docs/video\">https://ai.google.dev/gemini-api/docs/video</a></li>\n<li>Gemini Omni Flash model card: <a href=\"https://ai.google.dev/gemini-api/docs/models/gemini-omni-flash\">https://ai.google.dev/gemini-api/docs/models/gemini-omni-flash</a></li>\n</ul>\n<p>Treat the AnyCap live schema as the source of truth for runnable CLI parameters. Treat official Google docs as the source of truth for model behavior, limitations, and prompting guidance.</p>\n<h2>Fit Check</h2>\n<p>Use Gemini Omni Flash Preview when the task is:</p>\n<ul>\n<li>edit an existing short video from natural language</li>\n<li>preserve identity, camera motion, background, hands, lighting, timing, and audio while changing one visual element</li>\n<li>swap a product or prop using one or more reference images</li>\n<li>remove or hide a visible object</li>\n<li>make narrow scene-level edits such as relighting, restyling, or text/sign changes</li>\n<li>run fast preview iterations before considering a higher-control video model</li>\n</ul>\n<p>Consider another video model or direct provider API when the task requires:</p>\n<ul>\n<li>scene extension, first/last-frame interpolation, or last-frame control</li>\n<li>precise multi-turn state using Google's <code>previous_interaction_id</code></li>\n<li>strict multi-video reasoning</li>\n<li>long-form generation beyond the live AnyCap schema</li>\n<li>output quality/resolution not exposed by the live AnyCap schema</li>\n</ul>\n<h2>Workflow</h2>\n<ol>\n<li><strong>Inspect inputs.</strong> Confirm the source video path or URL, reference images, desired edit, aspect ratio, duration, and output filename.</li>\n<li><strong>Check schema.</strong> Run the live schema command above and use only supported params.</li>\n<li><strong>Choose references.</strong> Prefer one source video. Use reference images for product, subject, style, or material details. Avoid multi-video prompting unless the live docs and task strongly justify it.</li>\n<li><strong>Write a narrow English prompt.</strong> English is the safest default. Make the target edit explicit and tell the model what to preserve.</li>\n<li><strong>Generate.</strong> Use <code>anycap video generate</code> with <code>--mode edit-video</code> and a descriptive <code>-o</code>.</li>\n<li><strong>QA the video.</strong> Use <code>ffprobe</code>, frame samples, and <code>anycap actions video-read</code>; then manually review motion, hands, object stability, and unintended changes.</li>\n<li><strong>Retry narrowly.</strong> If the output drifts, shorten the prompt, isolate the edit, and add only the missing constraint.</li>\n</ol>\n<h2>Command Pattern</h2>\n<pre><code>anycap video generate \\\n  --model gemini-omni-flash-preview \\\n  --mode edit-video \\\n  --prompt \"&lt;narrow English editing instruction. Keep everything else the same.&gt;\" \\\n  --param videos=./source.mp4 \\\n  --param images=./reference.png \\\n  --param aspect_ratio=16:9 \\\n  --param duration=10 \\\n  --param resolution=720p \\\n  --param format=mp4 \\\n  -o ./edited-output.mp4\n</code></pre>\n<p>Rules:</p>\n<ul>\n<li>Always pass the source video with <code>--param videos=...</code>.</li>\n<li>Use JSON array syntax when the schema supports multiple references:</li>\n</ul>\n<pre><code>--param images='[\"./product-front.png\",\"./product-side.png\"]'\n</code></pre>\n<ul>\n<li>Do not repeat the same <code>--param images=</code> key expecting it to append.</li>\n<li>Keep file names versioned: <code>brief-v1.mp4</code>, <code>brief-v2.mp4</code>, <code>brief-final.mp4</code>.</li>\n<li>For URLs or local files, let AnyCap upload/resolve references automatically.</li>\n</ul>\n<h2>Prompt Formula</h2>\n<p>Use this structure for edits:</p>\n<pre><code>&lt;Action only on target&gt;. Use &lt;reference image(s)&gt; as the exact reference for &lt;product/subject/style/material&gt;. Preserve &lt;identity, hands, body, clothing, background, camera motion, lighting, shadows, audio, timing&gt;. Make &lt;physical integration details&gt;. Keep everything else the same. Do not &lt;common failure modes&gt;.\n</code></pre>\n<p>Good edit prompts are short but specific. For targeted editing, include \"Keep everything else the same.\" Put negatives in the regular prompt because model-level negative prompts are not exposed for this workflow.</p>\n<p>For scenario templates, read <a href=\"references/scenarios.md\">references/scenarios.md</a>.\nFor QA and retry patterns, read <a href=\"references/qa.md\">references/qa.md</a>.</p>\n<h2>Practical Defaults</h2>\n<ul>\n<li>Default to one source video and one product/reference image.</li>\n<li>Match <code>aspect_ratio</code> to the source video unless the user explicitly wants a crop.</li>\n<li>Use the source video's duration when it fits the live schema; otherwise choose the nearest supported duration and tell the user.</li>\n<li>Use a stable, descriptive output path in the workspace.</li>\n<li>Ask for the smallest possible edit first. Big combined edits are more likely to change identity, hands, background, or camera motion.</li>\n</ul>\n<h2>Output Expectations</h2>\n<p>Return:</p>\n<ul>\n<li>the local output video path</li>\n<li>the exact command used or a concise command summary</li>\n<li>the QA checks run and what they found</li>\n<li>any caveats, such as identity drift, hand artifacts, flicker, audio changes, or schema limits</li>\n</ul>\n<p>If the edit is not good enough, provide a concrete next prompt rather than a vague \"try again.\"</p>\n","files":[{"path":"agents/openai.yaml","sizeBytes":240,"isText":true},{"path":"references/qa.md","sizeBytes":3417,"isText":true},{"path":"references/scenarios.md","sizeBytes":4818,"isText":true},{"path":"SKILL.md","sizeBytes":6072,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-12-04T19:18:28.68468Z","sha256":"6E48790903726380F9D0B9599B5569B60B9D16D1AA779B44CAE0B4C5EF514852","sizeBytes":6547},"review":null,"source":{"repositoryUrl":"https://github.com/anycap-ai/anycap","path":"skills/anycap-gemini-omni-video-edit","license":"MIT","commit":"eceb359604a9473bd5d170aaffaebe1cf37d163a","subtreeSha":"CB98BC68AF7776F7A9F185851DB930131EFA307AEDB68F4F38D87E214BA51970","lastSyncedAt":"2026-12-04T19:18:06.458326Z"},"reviewedAt":"2026-12-04T19:19:15.137097Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/anycap-ai/anycap/tree/main/skills/anycap-gemini-omni-video-edit"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install anycap-ai-anycap@llmmart"},{"target":"git","command":"git clone https://github.com/anycap-ai/anycap.git"}]}