image-generation

Installation
SKILL.md

Image Generation

Generate images using Google's Gemini model (default) or fal.ai FLUX.2 klein 4B (cheap mode).

Quick Start

MANDATORY: Always use -d (destination) flag to specify output path. This avoids file management issues with poster_0.jpg in the scripts folder.

cd ~/.claude/skills/image-generation/scripts

# ALWAYS specify destination with -d flag
npx ts-node generate_poster.ts -d /tmp/my-image.jpg "A futuristic city at sunset"

# Cheap mode: fal.ai FLUX.2 klein 4B (fast, lower cost)
npx ts-node generate_poster.ts --cheap -d /tmp/city.jpg "A futuristic city at sunset"

# With aspect ratio
npx ts-node generate_poster.ts -d /tmp/landscape.jpg --aspect 3:2 "A wide landscape poster"
Related skills
Installs
2
GitHub Stars
4
First Seen
Apr 9, 2026