copywriting
Marketing copy for homepages, landing pages, pricing pages, and other conversion-focused web pages.
gemini-image
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 im...
Full skill instructions
Generate high-quality images from text prompts using Google's Gemini and Imagen models through executable scripts.
Use this skill when you need to:
Purpose: Generate images using Gemini 3 Pro Image or Imagen 4 models
When to use:
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
python scripts/generate_image.py "A futuristic city at sunset with flying cars"
gemini-3-pro-image-preview (default, highest quality)images/generated_image_YYYYMMDD_HHMMSS.pngpython scripts/generate_image.py "Minimalist coffee shop interior" --aspect 1:1 --size 2K --name coffee-shop
images/coffee-shop_YYYYMMDD_HHMMSS.pngpython scripts/generate_image.py "Tech gadget review thumbnail with vibrant colors" --aspect 16:9 --size 2K --name thumbnail
images/thumbnail_YYYYMMDD_HHMMSS.pngpython scripts/generate_image.py "Abstract geometric patterns in blue and gold" --num 4 --name abstract
images/abstract_YYYYMMDD_HHMMSS_0.png, images/abstract_YYYYMMDD_HHMMSS_1.png, etc.python scripts/generate_image.py "Detailed architectural rendering of modern museum" --aspect 16:9 --size 4K --output-dir ./professional/ --name museum
gemini-3-pro-image-preview only (for 4K)python scripts/generate_image.py "Robot holding a red skateboard in urban setting" --model imagen-4.0-generate-001 --aspect 16:9 --size 2K --num 2 --name robot-skate
imagen-4.0-generate-001 (photorealistic)python scripts/generate_image.py "Serene mountain lake at sunrise with reflections" --aspect 16:9 --size 2K --output-dir ./blog-images/ --name featured-image
# 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
python scripts/generate_image.py "Fixed filename image" --name my-image --no-timestamp
images/my-image.png (no timestamp)| Model | Nickname | Quality | Max Size | Best For |
|---|---|---|---|---|
gemini-3-pro-image-preview | Nano Banana Pro | Highest | 4K | Professional assets, advanced text rendering |
gemini-2.5-flash-image | Nano Banana | Good | 2K | High-volume, low-latency |
imagen-4.0-generate-001 | Imagen 4 | Photorealistic | 2K | Realistic photos, product shots |
| Ratio | Use Case | 1K Size | 2K Size |
|---|---|---|---|
| 1:1 | Instagram, avatars | 1024x1024 | 2048x2048 |
| 16:9 | YouTube, presentations | 1376x768 | 2752x1536 |
| 9:16 | Instagram Stories, TikTok | 768x1376 | 1536x2752 |
| 4:3 | Traditional displays | 1024x768 | 2048x1536 |
| 3:4 | Portrait orientation | 768x1024 | 1536x2048 |
| 21:9 | Ultrawide | - | 5504x2400 |
Note: 4K resolution only available with gemini-3-pro-image-preview
| Size | Use Case | Best Model |
|---|---|---|
| 1K (1024px) | Web thumbnails, previews | Any model |
| 2K (2048px) | Standard web, social media | Any model |
| 4K (4096px) | Print, high-end assets | gemini-3-pro only |
| Policy | Description | Restrictions |
|---|---|---|
dont_allow | No people in images | None |
allow_adult | Adults only | Recommended default |
allow_all | All ages | Restricted in EU, UK, CH, MENA |
{name}_YYYYMMDD_HHMMSS.png (auto timestamp)artwork_20260130_031643.png{name}_YYYYMMDD_HHMMSS_0.png, {name}_YYYYMMDD_HHMMSS_1.png, etc.--no-timestamp): {name}.pngpip install google-genai pillow
gemini-3-pro-image-preview--size 2K for other models--model gemini-3-pro-image-preview --size 4Kgemini-3-pro-image-preview for other languages--size 1K for smaller filesgemini-3-pro-image-preview for: High quality, text rendering, 4Kgemini-2.5-flash-image for: Speed, high volumeimagen-4.0-generate-001 for: Photorealism, product shots--num--num 1 before generating batches# Basic
python scripts/generate_image.py "Your prompt"
# Social media (1:1)
python scripts/generate_image.py "Prompt" --aspect 1:1 --size 2K --name social-post
# YouTube thumbnail (16:9)
python scripts/generate_image.py "Prompt" --aspect 16:9 --size 2K --name thumbnail
# 4K high quality
python scripts/generate_image.py "Prompt" --aspect 16:9 --size 4K --name high-res
# Multiple variations
python scripts/generate_image.py "Prompt" --num 4 --name variations
# Custom directory
python scripts/generate_image.py "Prompt" --output-dir ./my-images/ --name custom
# Photorealistic
python scripts/generate_image.py "Prompt" --model imagen-4.0-generate-001 --aspect 16:9 --size 2K --name photo
# No timestamp
python scripts/generate_image.py "Prompt" --name fixed-name --no-timestamp
references/ for model documentation (if available)Marketing copy for homepages, landing pages, pricing pages, and other conversion-focused web pages.
Fast image generation with Flux 2 Klein, optimized for sub-second iteration and multi-reference brand styling.
Psychological principles and mental models for understanding customer behavior and influencing marketing decisions.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Optimize content for discovery, citation, and visibility across AI search platforms and LLM assistants.
Systematic improvement of existing marketing copy through seven focused editing passes.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
Design and optimize systems connecting marketing, sales, and customer success into a unified revenue engine.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Convert websites into professional HyperFrames videos with guided storyboarding and brand-aligned composition.
Revolutionize Video Creation with AI-Generated Avatars and Voices
Social media on autopilot
Design custom logos instantly with AI.
Text-heavy marketing and design images
Boost Your SEO with Content and SEO Silos
Revolutionize Your Marketing with AI-Powered MarketingBlocks!
10X faster & free AI content creation for 100+ use cases
Tribescaler | Make Your Tweets Go Viral