Editorial Collage Motion
Pluviobyte/rnskill
将参考图或简要描述解码为可编辑的半色调纸张拼贴规范,默认使用 Codex 内置 imagegen 生成品牌一致的静帧和透明图层,再用本地 FFmpeg 或 HyperFrames 制作“从空背景逐件组装”的确定性动态视频。用户提到半色调拼贴、纸张拼贴、剪纸拼贴、编辑式拼贴、杂志拼贴、复古印刷拼贴、拼贴动效、拼贴动画、剪纸动画、纸片组装、逐层组装、从无到有、元素飞入拼装、定格拼贴、定格动画、Arc…
A skill your agent uses for generative video editing, text-to-video, image-referenced video generation, first-frame-to-video, first-and-last-frame transitions, and video extensions using Gemini Omni…
$ npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install google-gemini/gemini-skills gemini-omni-flash-api --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/google-gemini/gemini-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gemini-omni-flash-api .claude/skills/gemini-omni-flash-api && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "gemini-omni-flash-api" agent skill from https://github.com/google-gemini/gemini-skills/tree/main/skills/gemini-omni-flash-api into .claude/skills/gemini-omni-flash-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemini-omni-flash-api", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/google-gemini/gemini-skills/tree/main/skills/gemini-omni-flash-apiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install google-gemini/gemini-skills gemini-omni-flash-api --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/google-gemini/gemini-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/gemini-omni-flash-api .agents/skills/gemini-omni-flash-api && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gemini-omni-flash-api" agent skill from https://github.com/google-gemini/gemini-skills/tree/main/skills/gemini-omni-flash-api into .agents/skills/gemini-omni-flash-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemini-omni-flash-api", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install google-gemini/gemini-skills gemini-omni-flash-api --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/google-gemini/gemini-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/gemini-omni-flash-api .cursor/skills/gemini-omni-flash-api && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gemini-omni-flash-api" agent skill from https://github.com/google-gemini/gemini-skills/tree/main/skills/gemini-omni-flash-api into .cursor/skills/gemini-omni-flash-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemini-omni-flash-api", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/google-gemini/gemini-skills.git --path skills/gemini-omni-flash-api--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install google-gemini/gemini-skills gemini-omni-flash-api --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/google-gemini/gemini-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/gemini-omni-flash-api .gemini/skills/gemini-omni-flash-api && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gemini-omni-flash-api" agent skill from https://github.com/google-gemini/gemini-skills/tree/main/skills/gemini-omni-flash-api into .gemini/skills/gemini-omni-flash-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemini-omni-flash-api", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install google-gemini/gemini-skills gemini-omni-flash-apiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/google-gemini/gemini-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/gemini-omni-flash-api .github/skills/gemini-omni-flash-api && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gemini-omni-flash-api" agent skill from https://github.com/google-gemini/gemini-skills/tree/main/skills/gemini-omni-flash-api into .github/skills/gemini-omni-flash-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemini-omni-flash-api", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install google-gemini/gemini-skills gemini-omni-flash-api --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/google-gemini/gemini-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/gemini-omni-flash-api .opencode/skills/gemini-omni-flash-api && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gemini-omni-flash-api" agent skill from https://github.com/google-gemini/gemini-skills/tree/main/skills/gemini-omni-flash-api into .opencode/skills/gemini-omni-flash-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemini-omni-flash-api", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gemini-omni-flash-apiA skill your agent uses for generative video editing, text-to-video, image-referenced video generation, first-frame-to-video, first-and-last-frame transitions, and video extensions using Gemini Omni…
Gemini Omni Flash API is an agent skill from google-gemini/gemini-skills, published by the product's own GitHub organization. Use this skill for generative video editing, text-to-video, image-referenced video generation, first-frame-to-video, first-and-last-frame transitions, and video extensions using Gemini Omni 1.1 Flash (gemini-omni-1.1-flash) via the official google-genai SDK. Includes workflows for pre-processing/optimizing high-resolution or long source videos with ffmpeg, stripping audio for full sound regeneration, and handling turn-by-turn video editing and parallel execution.
Its SKILL.md is about 6.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `scripts/upload_file.py`, `scripts/video/generate_video.py` and `scripts/video/inspect_video.py`).
It sits in Media & Creative, covering AI video generation and Video production. It works with Google Gemini and FFmpeg. The repository describes itself as: Skills for the Gemini API, SDK and model/agent interactions. The licence is Apache-2.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 832c8f9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 4 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pipmakeFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
ai.google.devFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GEMINI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gemini Omni Flash API loads about 6.4k tokens when it runs. Until then it costs about 122 tokens; SKILL.md has 3,101 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from google-gemini/gemini-skills at commit 832c8f9, republished under its Apache-2.0 licence (© google-gemini). 3,101 words, ~6,447 tokens.
.claude/skills/gemini-omni-flash-api/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.This skill uses the Gemini Omni 1.1 Flash model (gemini-omni-1.1-flash) to perform text to video generation, image to video generation (first frame and last frame transitions), video extensions (up to 40s), and video editing.
[!WARNING] Important Regional Restrictions: Uploading videos to use for video edits or extensions is NOT available in the EEA, Switzerland, the United Kingdom, and some US states. If a video-to-video edit completes quickly with empty outputs (
total_output_tokens: 0or no video content), it is likely due to this restriction.
--first-frame).--first-frame and --last-frame; note: --last-frame must be used with --first-frame).--extend or --previous-interaction-id).Analyze request: Determine the target task (e.g., first-frame-to-video, first-and-last-frame transition, video extension, reference-guided editing) and identify any input media assets.
Run SDK scripts:
scripts/video/generate_video.py or scripts/upload_file.py).--aspect-ratio (e.g. 16:9, 9:16), --resolution (360p, 720p, 1080p, 4k; default: 720p), and --duration (any integer between 3 and 10 seconds, e.g. 3, 5, 10). Note: 4k requests take longer to generate.Retrieve and process output: Outputs are saved to the local filesystem (e.g. media/). Report back the completed media path to the user.
gemini-omni-1.1-flash) are handled via the Interactions API.interactions.create input parts array.google-genai): Requires google-genai >= 2.19.0 (Python) to support the interactions client and full video output resolution configuration (360p, 720p, 1080p, 4k). Install or upgrade using:pip install -U google-genaigoogle-genai SDK types and methods).prep_video.py, inspect_video.py, and generate_video.py (when stripping audio via --strip-audio) require ffmpeg and ffprobe binaries installed and available in your system PATH.GEMINI_API_KEY environment variable:export GEMINI_API_KEY="your-api-key"Use the following Python scripts to upload media with the Files API, prepare input videos with ffmpeg, and generate video outputs using the Interactions API.
upload_file.py: Uploads local media (images and videos) to the Files API and polls until ACTIVE. If uploading a video larger than 25MB, it prints an informative warning/tip highlighting that Gemini Omni Flash is optimized for editing 10s videos at 720p/24fps, and recommends pre-processing with prep_video.py first to speed up the upload.
./scripts/upload_file.py path/to/image.pnggenerate_video.py: Performs end-to-end video generation and downloads the output video. It detects and uploads local media references (images or videos) before calling the Interactions API. Large video assets (>25MB) will trigger informative pre-processing recommendations without blocking the upload.
Text to video:
./scripts/video/generate_video.py "A close-up of a cat drinking tea" --output media/cat_tea.mp4Output resolution options (--resolution):
Gemini Omni 1.1 Flash natively supports four output resolutions across both landscape (16:9) and portrait (9:16) aspect ratios:
360p: 640x360 (16:9) or 360x640 (9:16)720p: 1280x720 (16:9) or 720x1280 (9:16) — (default)1080p: 1920x1080 (16:9) or 1080x1920 (9:16)4k: 3840x2160 (16:9) or 2160x3840 (9:16)# High-definition (1080p)
./scripts/video/generate_video.py "A cinematic drone shot over misty mountains at sunrise" --resolution 1080p --output media/mountains_1080p.mp4
# Ultra-high-definition 4K (Note: 4K requests take longer to generate; pass --timeout if needed)
./scripts/video/generate_video.py "A macro shot of a dewdrop on a flower petal in golden sunlight" --resolution 4k --timeout 900 --output media/flower_4k.mp4Configurable request timeouts (--timeout):
Default HTTP timeout is 600 seconds (10 minutes). For computationally intensive requests — such as extending a 30s video in 4K by 10s (up to the maximum 40s total video length) — generation can take several minutes. Use --timeout 900 (or 1200) to provide an extended execution budget.
First frame to video:
./scripts/video/generate_video.py "The waves crash against the shore." --first-frame start.png --output media/waves.mp4First and last frame transition:
Provide a starting frame and an ending frame to generate a smooth transition between them (note: --last-frame must be used together with --first-frame):
./scripts/video/generate_video.py "A smooth timelapse from sunrise to sunset" --first-frame start.png --last-frame end.png --output media/interpolation.mp4Looping video (identical start and end frame):
./scripts/video/generate_video.py "A crystal orb spinning continuously in place" --first-frame orb.png --last-frame orb.png --output media/loop.mp4Image-referenced video generation:
./scripts/video/generate_video.py "A cybernetic warrior in the style of <IMAGE_REF_0>" --image reference.png --output media/warrior.mp4Video-referenced video generation:
Provide one or more reference videos (--video-reference / -vr) to guide character, object, or motion style (ideal duration is ~3s, up to 3 reference videos recommended):
./scripts/video/generate_video.py "A musician playing cello in the style of <VIDEO_REF_0>" --video-reference ref_dance.mp4 --output media/cello.mp4Video extension (extend an existing video):
Extend an existing video by up to 10 seconds (total duration up to 40 seconds):
./scripts/video/generate_video.py "The scene continues as the sun sets over the horizon" --extend media/sunset.mp4 --output media/sunset_extended.mp4Video extension with reference images and reference videos:
Prompt-based extension allows passing reference images and reference videos simultaneously:
./scripts/video/generate_video.py "Extend this video. The character in <IMAGE_REF_0> enters dancing like the dancer in <VIDEO_REF_0>." --extend media/sunset.mp4 --image character.png --video-reference dance_ref.mp4 --output media/sunset_extended_with_refs.mp4Video editing (keep original audio):
./scripts/video/generate_video.py "Transform the style to Japanese anime" --video input.mp4 --output media/anime_style.mp4Video editing (regenerate all audio from scratch):
./scripts/video/generate_video.py "Transform the style to Japanese anime" --video input.mp4 --strip-audio --output media/anime_style_new_audio.mp4Turn-by-turn video editing (edit previous interaction):
Edit a prior video generation without re-uploading assets by passing the interaction ID:
./scripts/video/generate_video.py "Change the setting to a snowy winter wonderland." --previous-interaction-id "v1_..." --output media/winter_wonderland.mp4Turn-by-turn video extension (extend previous interaction):
Extend a prior video generation by passing the previous interaction ID:
./scripts/video/generate_video.py "Extend this video. The character turns around and begins to run." --previous-interaction-id "v1_..." --output media/extended_turn.mp4Parallel batch execution (prompts file): Run multiple prompts from a line-by-line text file concurrently:
./scripts/video/generate_video.py --prompts-file prompts.txt --concurrency 3Parallel batch execution (JSON config): Execute fully configured, distinct generation and editing jobs in parallel:
./scripts/video/generate_video.py --batch jobs.json --concurrency 3Example jobs.json:
[
{
"prompt": "A smooth timelapse from sunrise to sunset.",
"first_frame": "start.png",
"last_frame": "end.png",
"resolution": "1080p",
"output": "media/interpolation.mp4"
},
{
"prompt": "Extend this video. The scene continues with the character in <IMAGE_REF_0> dancing like <VIDEO_REF_0>.",
"extend": "media/sunset.mp4",
"image": "character.png",
"video_reference": "dance_ref.mp4",
"output": "media/extended_with_refs.mp4"
},
{
"prompt": "A macro shot of a crystal orb refracting cosmic nebula colors.",
"resolution": "4k",
"output": "media/nebula_orb_4k.mp4"
},
{
"prompt": "A musician playing cello in the style of <VIDEO_REF_0>.",
"video_reference": "cello_ref.mp4",
"output": "media/cello.mp4"
},
{
"prompt": "Transform the style to Japanese anime.",
"video": "input.mp4",
"output": "media/anime_style.mp4",
"strip_audio": false,
"aspect_ratio": "16:9"
}
]inspect_video.py: Inspects a local video file (using ffprobe) to check its duration, resolution, frame rate (FPS), audio stream presence, and format details.
./scripts/video/inspect_video.py media/output.mp4To get a pre-parsed, structured JSON summary:
./scripts/video/inspect_video.py media/output.mp4 --jsonTo get the complete, unmodified ffprobe raw JSON dump:
./scripts/video/inspect_video.py media/output.mp4 --rawprep_video.py: Normalizes, trims, and formats any video file to fit standard Gemini Omni Flash generation and editing limits. It handles timecode-based trimming, optional frame rate conversion, and proportional scaling of large videos (max 1280x720 for landscape, 720x1280 for portrait) to optimize upload times without stretching. If the video is longer than 10 seconds and the script is run interactively (in a TTY), it prompts the user to select the first 10s, last 10s, or enter a custom timecode (defaulting to the first 10s).
./scripts/video/prep_video.py path/to/source.mp4or explicitly specify the start and duration:
./scripts/video/prep_video.py path/to/source.mp4 --start 0 --duration 10Trim last 10s (automatically calculates starting point based on source length):
./scripts/video/prep_video.py path/to/source.mp4 --start lastTrim 10s starting at specific timecode (MM:SS or HH:MM:SS):
./scripts/video/prep_video.py path/to/source.mp4 --start 00:03 --output media/custom.mp4Custom frame rate and resolution:
./scripts/video/prep_video.py path/to/source.mp4 --fps 30 --resolution 1920x1080Strip audio for audio regeneration:
./scripts/video/prep_video.py path/to/source.mp4 --strip-audio --output media/video_with_no_audio.mp4When editing a source video that contains audio, you must choose between keeping the original audio or regenerating all audio from scratch.
Keep original audio: By default, Gemini Omni Flash preserves the existing audio layer (though it may modify or adapt it slightly during generation). Use this when the original background music, dialogue, or sound effects are desired.
Regenerate all audio from scratch: If you want Gemini Omni Flash to re-create a brand-new audio layer tailored to the new visual style or prompt, you must upload the video with its audio stream stripped out. If any audio stream is present, Gemini Omni Flash will attempt to preserve/modify it instead of starting from scratch.
--strip-audio (or -a) when pre-processing with scripts/video/prep_video.py or executing scripts/video/generate_video.py.By default Gemini Omni Flash will try to create a video with a few different shots. It'll attempt to craft an interesting narrative based on the prompt.
If you need the output video to contain a single scene, you must prompt for that:
For 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. Sound design: Gentle breeze, distant bird chirps. No dialogue.If the generated video contains things you don't want, include simple negative prompts to avoid them:
Simple prompts work best for video editing. Overly descriptive prompts can lead to unintended changes.
The following are more examples of simple editing prompts:
When editing a specific aspect of the video, include "Keep everything else the same" to maintain visual consistency.
The following are some examples to show how to apply this technique:
In the video of the man sitting on the sofa, please add a small black cat that runs from the right side of the screen, jumps onto his lap, and then he starts to stroke its head while looking down.Add a cat that jumps onto his lap, he begins to pet it. Keep everything else the same.Please remove the cell phone that the person is holding in their hand and fill in the background so it looks like they are just holding their hand empty.Make the phone invisible. Keep everything else the same.By default the model will try to generate an appropriate audio track for a video. This might not always be what you want. You can use your prompt to describe the type of audio you want. This is especially important if you want music in your video:
You can prompt for things to happen at specific times in the video, there is no precise syntax needed and you can use natural language. This is especially useful in creating your own scene cuts, rhythm or rapid fire sequences. See the following for examples:
You can also use a timecode syntax:
[0-3s] A person is walking
[3-6s] They stop and turn around
[6-10s] They start runningYou can ask Gemini Omni Flash to pay attention to general qualities or principles of video generation:
[thing] every 1s, upbeat music, include text to label the thing.You can prompt to include text in your video and Gemini Omni will render in a way that is correct and readable. If there will be naturally occurring text in your video, even in background elements, it can help to define what it should say.
With Gemini Omni 1.1 Flash you can extend videos with prompts like, "Extend this video" or "The scene continues". You can extend videos by 10s, up to a total length of 40s.
Omni creates an extension that keeps video, motion, characters and audio coherent by using the last 10s of your original video as context. Some of the final frames in your input video will be edited to make the transition seamless.
[!TIP] Extending with References: Video extensions can be done with a prompt (e.g.,
"Extend this video","The scene continues") without setting the API'stask="extend"parameter. Omitting thetaskparameter allows passing in reference images (--image) and reference videos (--video-reference) during video extensions to introduce new characters, objects, or styles seamlessly into the extended scene. Iftask="extend"is explicitly set, multimodal references cannot be passed.
When extending, all of this guide's Omni prompting tips still apply:
"The music continues into the chorus""Show the same characters in the next scene""The person shown in the reference image enters the scene", "The dog in the reference video <VIDEO_REF_0> jumps onto the sofa""After 2s cut to a new scene with the same characters"previous_interaction_id).task="extend" parameter only when prompting alone does not work and you need to help the model understand which mode it should use, as setting the task field adds constraints (such as disabling multimodal reference inputs).You can use tags to bind uploaded media to specific generation roles. This lets you specify whether each image or video is a starting frame, a final frame, or a reference.
For simple cases where media roles are clear from the prompt, you can bind images and videos to roles directly:
<FIRST_FRAME>: use the image as the starting frame of the video, for example: <FIRST_FRAME> a woman is walking<LAST_FRAME>: use the image as the final frame of the video to transition to. Must be used with <FIRST_FRAME>, for example: <FIRST_FRAME> <LAST_FRAME> a woman is walking<IMAGE_REF_N>: use the image as a reference, for example: in the style of <IMAGE_REF_0> a woman <IMAGE_REF_1> is walking (combines style reference from the first image and subject reference from the second image). Image references start from 0.<VIDEO_REF_N>: use the video as a character or object reference, for example: the person in <VIDEO_REF_0> is playing the violin. Video references also start from 0.[!NOTE] Reference Video Guidelines:
- Duration: Ideal reference videos are ~3 seconds, though longer videos are fine. Use
prep_video.py --duration 3if you want to trim longer source files down to reference length.- Quantity: Up to 3 reference videos is ideal, though more can also be used.
The following is an example with 6 reference images:
[0-3s] A studio fashion sequence. Starting with woman <IMAGE_REF_0>, she is holding <IMAGE_REF_1>
[3-6s] Then we see the man <IMAGE_REF_2> holding <IMAGE_REF_3>
[6-10s] And finally another woman <IMAGE_REF_4> who is holding <IMAGE_REF_5> while walking.For more complex cases with multiple media inputs and multiple roles, you can use explicit prefix tags paired with natural language instructions. You should declare these sources and references at the start of your prompt.
[# Sources <FIRST_FRAME>@Image1] will use the first image as the starting frame.[# Sources <FIRST_FRAME>@Image1 <LAST_FRAME>@Image2] will use the first image as the starting frame and the second image as the final frame.[# Sources <FIRST_FRAME>@Image1 <LAST_FRAME>@Image1] will use the first image as both the first frame and the last frame, creating a video that loops.[# Sources <FIRST_FRAME>@Image1] [# References <IMAGE_REF_0>@Image2] will use the first image as the starting frame and the second image as a reference.[# Sources <VIDEO_0>@Video1] will use the video as the primary source video to edit or modify.[# Sources <PREVIOUS_VIDEO>@Video1] will use the video from the previous turn to extend.[# References <IMAGE_REF_0>@Image1] will use the first image as a reference.[# References <IMAGE_REF_1>@Image2] will use the second image as a reference.[# References <IMAGE_REF_0>@Image1 <IMAGE_REF_1>@Image2] will use both images as references.[# References <VIDEO_REF_0>@Video1] will use the first video as a reference.[# References <IMAGE_REF_0>@Image1 <VIDEO_REF_0>@Video1] will use both an image and a video as a reference.Add guiding instructions at the end of your prompt:
"Use this image as the starting frame.""Use this image as the first frame and the last frame.""Use the given image(s) as references for video generation. The images should not be used as literal initial frames.""Use the given video(s) as references. Do not use them as a source for video editing."Some examples of prompts with source and reference declarations:
[# Sources <FIRST_FRAME>@Image1] [# References <IMAGE_REF_0>@Image2] a woman <IMAGE_REF_0> is walking. Use Image1 as the starting frame. Use Image2 as a reference for the video generation.[# References <IMAGE_REF_0>@Image1 <VIDEO_REF_0>@Video1] The woman in <VIDEO_REF_0> is playing the violin shown in <IMAGE_REF_0>. Use Video1 as a character reference and Image1 as an object reference.© google-gemini, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts) in skills/gemini-omni-flash-api of google-gemini/gemini-skills.
Open the folder on GitHubat commit 832c8f9
Gemini Omni Flash API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gemini Omni Flash API this skillgoogle-gemini/gemini-skills | 4.3k | — | ~6.4k | Automated safety check: Pass | Apache-2.0 | |
| Editorial Collage MotionPluviobyte/rnskill | 1.6k | — | ~1.2k | Automated safety check: Pass | Custom licence | |
| Render Cgi Sizzlegooseworks-ai/goose-skills | 1.2k | — | ~1.4k | Automated safety check: Pass | MIT | |
| HyperFrames Video Entry Pointheygen-com/hyperframes | 59k | 3 repos | ~5.2k | Automated safety check: Pass | Apache-2.0 | |
| Vox DirectorAlisa0808/vox-director | 2.2k | — | ~5.6k | Automated safety check: Pass | MIT | |
| Video Synceternityspring/reelbench-skills | 872 | 1 repos | ~1k | Automated safety check: Notes | Apache-2.0 |
Pluviobyte/rnskill
将参考图或简要描述解码为可编辑的半色调纸张拼贴规范,默认使用 Codex 内置 imagegen 生成品牌一致的静帧和透明图层,再用本地 FFmpeg 或 HyperFrames 制作“从空背景逐件组装”的确定性动态视频。用户提到半色调拼贴、纸张拼贴、剪纸拼贴、编辑式拼贴、杂志拼贴、复古印刷拼贴、拼贴动效、拼贴动画、剪纸动画、纸片组装、逐层组装、从无到有、元素飞入拼装、定格拼贴、定格动画、Arc…
gooseworks-ai/goose-skills
Assemble a 3D-CGI app sizzle — nano-banana CGI plates (blank-glow floating phone + a CGI studio with rim-light + placeholder burst shapes; studio look and phone finish come from the recipe choices)…
heygen-com/hyperframes
Entry point for making, editing and rendering videos from HTML compositions with HyperFrames, routing each request to the right workflow.
Alisa0808/vox-director
Turn ONE topic into a finished Vox-style paper-collage explainer / ad video, end to end on the Atlas Cloud API + local ffmpeg — script, collage keyframes, motion, voice-over, music, captions, all…
eternityspring/reelbench-skills
把拉片数据和原片合成一条能直接看的视频:一边是画面,一边是这一镜的分镜信息 (镜号、起止、时长、景别、类别、运镜、画面描述、台词),镜头切了信息跟着切, 镜头表自动滚动并高亮当前这一镜。
pyang5166/gbro-collage-broll
将约 5 秒口播文稿、观点句或抽象概念做成高级 editorial halftone paper-collage / 半调纸拼贴 B-roll。用户说“collage b-roll”“纸拼贴 b-roll”“半调拼贴”“拼贴风格配画面”“用这段文稿做拼贴动画”“gbro-collage-broll”,或希望把一句文稿转成拼贴视觉隐喻时,必须使用此…
google-gemini/gemini-skills
A skill your agent uses when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice…
google-gemini/gemini-skills
A skill your agent uses when building real-time, bidirectional streaming applications with the Gemini Live API, or migrating legacy Live models (2.0/2.5/3.1) to Gemini 3.8 Live.
Works with
Categories
A skill your agent uses for generative video editing, text-to-video, image-referenced video generation, first-frame-to-video, first-and-last-frame transitions, and video extensions using Gemini Omni…. Gemini Omni Flash API is an agent skill from google-gemini/gemini-skills, published by the product's own GitHub organization.1-flash) via the official google-genai SDK.
Gemini Omni Flash API fits situations like: generative video editing; image-referenced video generation; first-frame-to-video; first-and-last-frame transitions.
Run `npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -a claude-code`. Or copy the skill folder (skills/gemini-omni-flash-api in google-gemini/gemini-skills) into .claude/skills/gemini-omni-flash-api in your project. Claude Code loads it when a task matches its description.
Run `npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -a codex`. Or copy the skill folder (skills/gemini-omni-flash-api in google-gemini/gemini-skills) into .agents/skills/gemini-omni-flash-api in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add google-gemini/gemini-skills --skill gemini-omni-flash-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gemini-omni-flash-api, .gemini/skills/gemini-omni-flash-api, .github/skills/gemini-omni-flash-api and .opencode/skills/gemini-omni-flash-api in your project.
Going by SKILL.md and its folder, Gemini Omni Flash API needs Python for the scripts in its folder, the command-line tools its instructions call (pip and make) and credentials named GEMINI_API_KEY. Our summary lists: Python 3; A credential in GEMINI_API_KEY.
SKILL.md names 1 domain. As links in the text: ai.google.dev. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Gemini Omni Flash API is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 6.4k tokens (SKILL.md is roughly 26k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Gemini Omni Flash API: Editorial Collage Motion (Pluviobyte/rnskill, 1.6k stars), Render Cgi Sizzle (gooseworks-ai/goose-skills, 1.2k stars), HyperFrames Video Entry Point (heygen-com/hyperframes, 59k stars) and Vox Director (Alisa0808/vox-director, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
google-gemini (a GitHub organization, an official publisher) maintains it in google-gemini/gemini-skills, which has 4,260 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 2026.
Source: google-gemini/gemini-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.