From release
Generate images using AI APIs (OpenAI gpt-image-1, Google Imagen 4, Nano Banana Pro, fal.ai Flux). Use when user asks to generate, create, or make an image.
npx claudepluginhub fairchild/dotclaude --plugin skill-creatorThis skill uses the workspace's default tool permissions.
Generate images from text prompts using OpenAI, Google Imagen, Nano Banana Pro (Gemini), or fal.ai.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Generate images from text prompts using OpenAI, Google Imagen, Nano Banana Pro (Gemini), or fal.ai.
uv run ~/.claude/skills/image-gen/scripts/generate_openai.py \
--prompt "a cat wearing a top hat" \
--output /tmp/cat.png
Options:
--prompt (required): Text description of the image--output, -o: Output file path (default: ./generated-{timestamp}.png)--size: Image size (default: 1024x1024, options: 1024x1024, 1024x1792, 1792x1024)--quality: Image quality (default: auto, options: low, medium, high, auto)uv run ~/.claude/skills/image-gen/scripts/generate_imagen.py \
--prompt "a cat wearing a top hat" \
--output /tmp/cat.png
Options:
--prompt (required): Text description of the image--output, -o: Output file path (default: ./generated-{timestamp}.png)--model: Model to use (default: imagen-4.0-generate-001, options: imagen-4.0-fast-generate-001, imagen-4.0-ultra-generate-001)uv run ~/.claude/skills/image-gen/scripts/generate_gemini.py \
--prompt "a cat wearing a top hat" \
--output /tmp/cat.png
Options:
--prompt (required): Text description of the image--output, -o: Output file path (default: ./generated-{timestamp}.jpg)--model: Model to use (default: gemini-3-pro-image-preview)--aspect-ratio, -a: Aspect ratio (default: 1:1, options: 1:1, 16:9, 9:16, 21:9)--image-size, -s: Output size for Pro model (options: 1K, 2K, 4K)uv run ~/.claude/skills/image-gen/scripts/generate_fal.py \
--prompt "a cat wearing a top hat" \
--output /tmp/cat.png
Options:
--prompt (required): Text description of the image--output, -o: Output file path (default: ./generated-{timestamp}.png)--model: Model to use (default: fal-ai/flux/dev)| Provider | Model | Speed | Quality | Cost |
|---|---|---|---|---|
| OpenAI | gpt-image-1 | Medium | Excellent | ~$0.04/img |
| Imagen 4 | Medium | Excellent | ~$0.04/img | |
| Nano Banana Pro | Fast | Excellent | ~$0.13/img (2K) | |
| fal.ai | Flux dev | Fast | Very good | Pay-per-compute |
| Provider | Variable | Required |
|---|---|---|
| OpenAI | OPENAI_API_KEY | Yes |
GOOGLE_API_KEY | Yes | |
| fal.ai | FAL_KEY | Yes |
Set in ~/.env or export in shell.
| Provider | Get Key URL |
|---|---|
| OpenAI | https://platform.openai.com/api-keys |
| https://aistudio.google.com/apikey | |
| fal.ai | https://fal.ai/dashboard/keys |
"API key not set"
# Add to ~/.env
echo "GOOGLE_API_KEY=your-key-here" >> ~/.env
# Or export in current shell
export GOOGLE_API_KEY=your-key-here
"API key is invalid"
"Rate limit exceeded"
"Content blocked"
"Cannot connect"
uv run ~/.claude/skills/image-gen/tests/test_image_gen.py --help