Generate images using Google Gemini and Imagen models via scripts/. Use for AI image generation, text-to-image, creating visuals from prompts, generating multiple images, custom aspect ratios, and high-resolution output up to 4K. Triggers on "generate image", "create image", "imagen", "text to image", "AI art", "nano banana".
Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Generate images using Google Gemini and Imagen models via scripts/. Use for AI image generation, text-to-image, creating visuals from prompts, generating multiple images, custom aspect ratios, and high-resolution output up to 4K. Triggers on "generate image", "create image", "imagen", "text to image", "AI art", "nano banana".
license
MIT
version
1.0.0
keywords
image generation, imagen, gemini-3-pro, gemini-2.5, text-to-image, AI art, nano banana, 4K resolution, aspect ratio
Gemini Image Generation
Generate high-quality images from text prompts using Google's Gemini and Imagen models through executable scripts.
When to Use This Skill
Use this skill when you need to:
Create visual content from text descriptions
Generate multiple image variations
Create images at specific resolutions (1K, 2K, 4K)
Produce images for different aspect ratios (social media, banners, etc.)
Generate photorealistic images or artistic visuals
Create images with person generation controls
Batch generate multiple images at once
Combine with text generation for complete content creation
Available Scripts
scripts/generate_image.py
Purpose: Generate images using Gemini 3 Pro Image or Imagen 4 models
When to use:
Any image generation task
Multiple image generation (1-4 per request)
Custom resolution and aspect ratio needs
Professional asset creation
Photorealistic or artistic image generation
Key parameters:
Parameter
Description
Example
prompt
Text description (required)
"A futuristic city at sunset"
--model, -m
Model to use
gemini-3-pro-image-preview
--output-dir, -o
Output directory for images
images/
--name, -n
Base name for output files
artwork
--no-timestamp
Disable auto timestamp
Flag
--aspect, -a
Aspect ratio
16:9
--size, -s
Resolution
2K or 4K
--num
Number of images (1-4)
4
--person
Person generation policy
allow_adult
Output: List of saved PNG file paths
Workflows
Workflow 1: Basic Image Generation
python scripts/generate_image.py "A futuristic city at sunset with flying cars"
# 1. Generate content (gemini-text skill)
python skills/gemini-text/scripts/generate.py "Write a product description for smart home device"# 2. Generate product image (this skill)
python scripts/generate_image.py "Sleek modern smart home device on white background" --aspect 4:3 --size 2K --name product
# 3. Create social media post
Best for: E-commerce, marketing campaigns
Combines with: gemini-text, gemini-batch for batch production