npx skills add ...
npx skills add anycap-ai/anycap --skill anycap-gemini-omni-video-edit
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 `gemini-omni-flash-preview` / `edit-video`.
npx skills add anycap-ai/anycap --skill anycap-gemini-omni-video-edit
Use this skill to edit short videos with gemini-omni-flash-preview via AnyCap. It is optimized for practical one-shot video edits where a source video should stay mostly unchanged and one element should change.
For CLI syntax, authentication, model discovery conventions, and delivery options, read the anycap-cli skill when needed.
Gemini Omni Flash Preview is a preview model, so verify the live surface before running:
Also check official Google docs when model behavior matters:
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.
Use Gemini Omni Flash Preview when the task is:
Consider another video model or direct provider API when the task requires:
previous_interaction_idanycap video generate with --mode edit-video and a descriptive -o.ffprobe, frame samples, and anycap actions video-read; then manually review motion, hands, object stability, and unintended changes.Rules:
--param videos=....--param images= key expecting it to append.brief-v1.mp4, brief-v2.mp4, brief-final.mp4.Use this structure for edits:
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.
For scenario templates, read references/scenarios.md. For QA and retry patterns, read references/qa.md.
aspect_ratio to the source video unless the user explicitly wants a crop.Return:
If the edit is not good enough, provide a concrete next prompt rather than a vague "try again."
anycap video generate \
--model gemini-omni-flash-preview \
--mode edit-video \
--prompt "<narrow English editing instruction. Keep everything else the same.>" \
--param videos=./source.mp4 \
--param images=./reference.png \
--param aspect_ratio=16:9 \
--param duration=10 \
--param resolution=720p \
--param format=mp4 \
-o ./edited-output.mp4--param images='["./product-front.png","./product-side.png"]'<Action only on target>. Use <reference image(s)> as the exact reference for <product/subject/style/material>. Preserve <identity, hands, body, clothing, background, camera motion, lighting, shadows, audio, timing>. Make <physical integration details>. Keep everything else the same. Do not <common failure modes>.