Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Generate and edit images with Gemini API using pure Python stdlib. Zero dependencies - works on locked-down environments where pip/uv aren't available.
Generate and edit images with Gemini API using pure Python stdlib. Zero dependencies - works on locked-down environments where pip/uv aren't available.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) - the highest quality image generation model.
FeatureThis SkillOthers (nano-banana-pro, etc.)DependenciesNone (stdlib only)google-genai, pillow, etc.Requires pip/uv❌ No✅ YesWorks on Fly.io free✅ Yes❌ FailsWorks in containers✅ Yes❌ Often failsImage generation✅ Full✅ FullImage editing✅ Yes✅ YesSetup complexityJust set API keyInstall packages first Bottom line: This skill works anywhere Python 3 exists. No package managers, no virtual environments, no permission issues.
# Generate python3 /data/clawd/skills/gemini-image-simple/scripts/generate.py "A cat wearing a tiny hat" cat.png # Edit existing image python3 /data/clawd/skills/gemini-image-simple/scripts/generate.py "Make it sunset lighting" edited.png --input original.png
python3 {baseDir}/scripts/generate.py "your prompt" output.png
python3 {baseDir}/scripts/generate.py "edit instructions" output.png --input source.png Supported input formats: PNG, JPG, JPEG, GIF, WEBP
Set GEMINI_API_KEY environment variable. Get one at https://aistudio.google.com/apikey
Uses Nano Banana Pro (nano-banana-pro-preview) - Google's highest quality image generation model: Pure urllib.request for HTTP (no requests library) Pure json for parsing (stdlib) Pure base64 for encoding (stdlib) That's it. No external packages. Works on any Python 3.10+ installation.
Currently using: nano-banana-pro-preview (also known as Gemini 3 Pro Image) Other available models (can be changed in generate.py if needed): gemini-3-pro-image-preview - Same as Nano Banana Pro imagen-4.0-ultra-generate-001 - Imagen 4.0 Ultra imagen-4.0-generate-001 - Imagen 4.0 gemini-2.5-flash-image - Gemini 2.5 Flash with image gen
# Landscape python3 {baseDir}/scripts/generate.py "Misty mountains at sunrise, photorealistic" mountains.png # Product shot python3 {baseDir}/scripts/generate.py "Minimalist product photo of a coffee cup, white background" coffee.png # Edit: change style python3 {baseDir}/scripts/generate.py "Convert to watercolor painting style" watercolor.png --input photo.jpg # Edit: add element python3 {baseDir}/scripts/generate.py "Add a rainbow in the sky" rainbow.png --input landscape.png
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.