gemini-vision
Skill0 starsChanged 11 months agoMITView on GitHub
Generate images and videos using Gemini CLI's vision extension. Use for image generation with Nano Banana (gemini-2.5-flash-image), video generation with Veo 3, webcam capture, and image-to-image transformations. Invokes Gemini CLI commands and returns file paths.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- zouerdong/gemini-visiontheir own version, first seen Aug 18, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- zouerdong/gemini-vision★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Gemini CLI: Must be installed and configured
- Distinctive: line 24
Use this skill when the user asks to:
- Distinctive: line 27
Create AI-generated videos from images
- Distinctive: line 29
Create "nano banana" style images
- Distinctive: line 90
When the user requests image or video generation:
- Distinctive: line 156
Always report results in this format:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Gemini Vision Skill
Generate AI images and videos by invoking Gemini CLI's vision extension. This skill provides access to:
- Nano Banana (gemini-2.5-flash-image) - Image generation and transformation
- Veo 3 (veo-3.0-generate-001) - Video generation from images
- Webcam capture - Live frame capture for AI processing
Prerequisites
- Gemini CLI: Must be installed and configured
- Vision Extension: Install via:
gemini extensions install vision - API Key: Set
GEMINI_API_KEYenvironment variable
When to Use This Skill
Use this skill when the user asks to:
- Generate images from text prompts
- Transform or reimagine existing images
- Create AI-generated videos from images
- Capture webcam frames for AI processing
- Create "nano banana" style images
- Generate Veo videos
Available Operations
1. Image Generation (Nano Banana)
Generate images from text prompts or transform existing images.
Command Pattern:
gemini -p "/vision:banana prompt=\"Your creative prompt here\" n=1 out_dir=./output"Parameters:
| Parameter | Default | Description |
prompt | Required | Creative description of desired image |
n | 1 | Number of images to generate |
out_dir | "." | Output directory for images |
model | gemini-2.5-flash-image | Image generation model |
Models Available:
gemini-2.5-flash-image(default, recommended)gemini-3-pro-image-preview(newer, experimental)
2. Video Generation (Veo 3)
Generate short videos from images or prompts.
Command Pattern:
gemini -p "/vision:veo prompt=\"Animate this scene\" aspect_ratio=16:9 out_dir=./output"Parameters:
| Parameter | Default | Description |
prompt | Required | Animation/motion description |
aspect_ratio | "16:9" | Video aspect ratio (16:9 or 9:16) |
resolution | auto | Video resolution (e.g., "1080p") |
negative_prompt | "" | What to avoid in video |
veo_model | veo-3.0-generate-001 | Video model |
3. Webcam Capture + AI
Capture from webcam and process with AI.
# Start camera
gemini -p "/vision:start"
# Capture and transform
gemini -p "/vision:banana prompt=\"Transform into oil painting\""
# Stop camera
gemini -p "/vision:stop"Instructions for Claude
When the user requests image or video generation:
- Determine the operation type:
- Text-to-image → Use
/vision:banana - Image transformation → Use
/vision:bananawith input image - Image-to-video → Use
/vision:veo - Webcam capture → Use
/vision:captureor/vision:banana
- Text-to-image → Use
- Construct the Gemini CLI command:
gemini -p "/vision:<command> prompt=\"<user prompt>\" <params>" - Execute via Bash tool:
- Run the command
- Capture the output paths
- Report success and file locations to user
- Handle output:
- Images saved as
banana_*.pngorbanana_*.jpg - Videos saved as
veo_*.mp4 - Return the file paths to the user
- Images saved as
Example Workflows
Generate a Single Image
User: "Generate an image of a cyberpunk city at sunset"
Action:
gemini -p "/vision:banana prompt=\"A sprawling cyberpunk city at sunset, neon lights reflecting off wet streets, flying cars in the distance, highly detailed, cinematic\" n=1 out_dir=."Transform an Image
User: "Make this photo look like a Studio Ghibli scene" (with image attached)
Action:
- Save the attached image to a temp location
- Run:
gemini -p "/vision:banana prompt=\"Transform into Studio Ghibli animation style, soft colors, whimsical atmosphere\" input_paths=['/path/to/image.jpg']"Generate a Video
User: "Create a video of ocean waves"
Action:
gemini -p "/vision:veo prompt=\"Calm ocean waves gently rolling onto a sandy beach, golden hour lighting, peaceful atmosphere\" aspect_ratio=16:9"Webcam to Art
User: "Take a photo of me and make it look like a Renaissance painting"
Action:
# Capture and transform in one step
gemini -p "/vision:banana prompt=\"Transform into a Renaissance oil painting, dramatic lighting, classical composition\""Output Format
Always report results in this format:
## Generated Content
**Type:** Image/Video
**Files:**
- `/path/to/banana_20251227_123456_000.png`
**Prompt Used:** [the prompt]
**Model:** gemini-2.5-flash-image
To view: Open the file path above or use `open /path/to/file`Error Handling
Common issues and solutions:
| Error | Solution |
| "Camera not found" | Run /vision:devices to list cameras |
| "GEMINI_API_KEY not set" | Export the API key in environment |
| "Model not available" | Check model ID spelling |
| "Generation failed" | Try simpler prompt or different model |
Script Usage (Alternative)
For programmatic access, use the helper script:
python ~/.claude/skills/gemini-vision/scripts/gemini_vision.py \
--operation banana \
--prompt "Your prompt here" \
--output-dir ./output \
--count 1Options:
--operation: banana, veo, capture, devices--prompt: The generation prompt--output-dir: Where to save files--count: Number of images (for banana)--aspect-ratio: For veo (16:9 or 9:16)--model: Override default model
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

