Skip to content
genai-image logo

GenAI Image Generation Skill

genai-image

Generate images using Google GenAI Nano Banana Pro model via CLI. Use when the user asks to create images, generate pictures, make AI art, do image-to-image transformations, place people in scenes, or create character variations.

SKILL.md

Full skill instructions

GenAI Image Generation Skill

Generate high-quality images using the genai-cli image command with Nano Banana Pro.

Quick Start

# Basic image generation
uv run genai-cli image "your prompt here" --aspect 16:9

# Image-to-image (use existing image as reference)
uv run genai-cli image "place this person in a datacenter" --input ./​photo.png --aspect 16:9

# With all options
uv run genai-cli image "robot in tuxedo" --aspect 9:16 --variations 3 --quality 90

CLI Reference

uv run genai-cli image [OPTIONS] PROMPT

Options:
  --aspect, -a      Aspect ratio (1:1, 9:16, 16:9, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9)
  --resolution, -r  Resolution: 1K or 4K
  --variations, -v  Number of images (1-10)
  --quality, -q     Output quality (0-100)
  --guidance, -g    Prompt adherence (0-20)
  --enhance         Auto-improve prompt
  --format, -f      Output format: png, jpeg, webp
  --output, -o      Output directory (default: ./​genai_outputs/)
  --input, -i       Input image for image-to-image generation
  --json            Output as JSON

Image-to-Image Generation

Use an existing image as a reference to generate new images:

# Place a person in a new scene
uv run genai-cli image "Place this person in a modern datacenter with server racks and blue LED lights" \
  --input ./​person.png \
  --aspect 16:9

# Transform a photo
uv run genai-cli image "Convert to anime style, vibrant colors" \
  --input ./​photo.jpg

# Add elements to an existing image
uv run genai-cli image "Add a sunset background and dramatic lighting" \
  --input ./​portrait.png

Use cases for image-to-image:

  • Place people in new environments/​scenes
  • Style transfer (photorealistic to anime, etc.)
  • Add or modify elements in existing images
  • Create variations of a reference image
  • Professional headshots in different settings

Supported Aspect Ratios

RatioUse Case
1:1Square, social media
9:16Vertical, mobile, stories
16:9Horizontal, widescreen
4:3Standard photo
3:4Portrait
3:2Classic photo
2:3Portrait photo
4:5Instagram portrait
5:4Large format
21:9Ultrawide, cinematic

Examples

Basic Generation

uv run genai-cli image "A sunset over mountains" --aspect 16:9

High Quality Portrait

uv run genai-cli image "Professional headshot, studio lighting" --aspect 3:4 --quality 95

Batch Generation

uv run genai-cli image "Abstract art, vibrant colors" --variations 5 --aspect 1:1

Person in Datacenter (Image-to-Image)

uv run genai-cli image "Place this person in a modern datacenter environment with server racks, blue LED lights, professional IT atmosphere" \
  --input ./​team_photo.png \
  --aspect 16:9

With JSON Output (for automation)

uv run genai-cli image "Product photo" --json

Output

Images are saved to ./​genai_outputs/ by default:

  • genai_image_001.png
  • genai_image_002.png (if variations > 1)
  • etc.

Prompt Tips

  1. Be specific: "A robot in a black tuxedo with bow tie" > "A robot in a suit"
  2. Include lighting: "Cinematic dramatic lighting"
  3. Specify style: "Photorealistic", "Cinematic", "Film noir"
  4. Add text: "Bold text reads: 'YOUR TEXT HERE'"
  5. For image-to-image: Describe what you want to happen to/​with the input image

Prerequisites

API key must be configured:

uv run genai-cli auth set-key

More Marketing skills

copywriting logo
Marketing

copywriting

Marketing copy for homepages, landing pages, pricing pages, and other conversion-focused web pages.

53.3K 216.1K
View
flux-2-klein logo
Marketing

flux-2-klein

Fast image generation with Flux 2 Klein, optimized for sub-second iteration and multi-reference brand styling.

52 176.2K
View

Psychological principles and mental models for understanding customer behavior and influencing marketing decisions.

53.3K 153K
View

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
ai-seo logo
Marketing

ai-seo

Optimize content for discovery, citation, and visibility across AI search platforms and LLM assistants.

53.3K 136.7K
View
copy-editing logo
Marketing

copy-editing

Systematic improvement of existing marketing copy through seven focused editing passes.

53.3K 136.4K
View

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View
revops logo
Marketing

revops

Design and optimize systems connecting marketing, sales, and customer success into a unified revenue engine.

53.3K 104.9K
View

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.

179.7K 100.1K
View

Convert websites into professional HyperFrames videos with guided storyboarding and brand-aligned composition.

57K 93.5K
View

Sales & marketing AI tools

KreadoAI logo
Sales & marketing

KreadoAI

Revolutionize Video Creation with AI-Generated Avatars and Voices

Paid
View
Followr logo
Sales & marketing

Followr

Social media on autopilot

Paid
View
Logodiffusion logo
Sales & marketing

Logodiffusion

Design custom logos instantly with AI.

Paid
View
I
Sales & marketing

Ideogram

Text-heavy marketing and design images

Freemium
View
Prompt Silo logo
Sales & marketing

Prompt Silo

Boost Your SEO with Content and SEO Silos

Free
View
Marketing Blocks logo
Sales & marketing

Marketing Blocks

Revolutionize Your Marketing with AI-Powered MarketingBlocks!

Paid
View
Scrip AI logo
Sales & marketing

Scrip AI

10X faster & free AI content creation for 100+ use cases

Free
View
Tribescaler logo
Sales & marketing

Tribescaler

Tribescaler | Make Your Tweets Go Viral

Paid
View