skills/integrations/google/google-gemini-image/SKILL.md
Generate, edit, and refine images with Google Gemini. Load when user says 'generate image', 'edit image', 'refine image', 'text to image', 'gemini image', 'modify image'.
npx skillsauth add beam-ai-team/beam-next-skills google-gemini-imageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Unified skill for text-to-image generation, image editing, and iterative refinement.
Before generating, editing, refining, or saving images, show the prompt or edit summary, source image path when used, model, aspect/size settings, output path, and whether user-provided/private imagery is included. Require explicit user approval in the current turn before sending images to Gemini or writing output files. Discussing prompt options does not require approval.
Replaces: gemini-generate-image, gemini-edit-image, gemini-refine-image.
# Generate from text prompt
uv run python scripts/gemini_image.py generate "a cat in space"
uv run python scripts/gemini_image.py generate "sunset over mountains" --aspect 16:9 --size 2K
uv run python scripts/gemini_image.py generate "abstract art" --output my_art.png
# Edit an existing image
uv run python scripts/gemini_image.py edit photo.png "make the sky blue"
uv run python scripts/gemini_image.py edit scene.jpg "add clouds" --aspect 4:3 --size 1K --output result.png
# Refine the last generated/edited image
uv run python scripts/gemini_image.py refine "add more stars"
uv run python scripts/gemini_image.py refine "make it brighter" --image specific.png
All actions use gemini-3.1-flash-image-preview (Nano Banana 2). Inputs are text-only, or image + text for edit/refine.
Legacy gemini-2.0-flash-exp* models are deprecated; Google scheduled shutdown June 1, 2026 — this skill targets 3.1 only.
--aspect: 1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9 (default 1:1).--size: 512, 1K, 2K, 4K (default 1K). Passed to the API as image_config.image_size.GEMINI_API_KEY in .env (get from https://aistudio.google.com/app/apikey)pip install google-genai PillowImages save as PNG to 04-workspace/generated-images/ (or --output path).
Filenames auto-generated with timestamp: generated_20260323_143000.png, edited_..., refined_....
Shared path helpers live in scripts/gemini_client.py.
tools
Build a Palantir-shape, PDF-native use-case proposal document for a sophisticated enterprise account: research-grounded use cases (each with description, challenge, impact, value), an operating-graph ontology page, a recommended PoC with a week-by-week plan, and a closing page that asks for one decision. Load when a client asks us to 'propose high-impact use cases', requests a use-case presentation/catalog for a function (finance, HR, ops), or when a technical evaluation team will review candidates to pick a PoC. NOT for single-account cold outreach (use prospect-brief), full process diagnostics (use operating-diagnostic), or priced proposals (use proposal-creation).
development
Convert Beam Figma slide designs into high-fidelity, editable HTML presentation decks. Use when Codex is asked to audit Figma slides, extract slide templates, rebuild Beam slides as HTML decks, decide whether Figma imagery should be exported or rebuilt in HTML/CSS, create Beam/Prism-compatible deck templates, or improve fidelity of existing Beam HTML slide rebuilds.
development
Use the Beam AI reusable slide library: individual HTML slide templates extracted from Beam Figma rebuilds, kept separate from deck themes and full deck templates. Load when the user asks for a slide library, specific Beam slide patterns, reusable Figma-inspired slides, Prism slide-library items, or slide-level HTML templates.
development
Use Beam AI deck and report design packs, HTML templates, and curated examples to create sales decks, customer intro decks, RPO decks, and DIN A4 use-case proposal reports. Load when the user asks for Beam-branded presentation templates, Prism-compatible deck templates, Beam report templates, customer intro decks, commercial proposals, or reusable HTML deck/report examples.