AI Image Generation & Editing
Generates, edits, and varies high-resolution images via OpenAI-compatible APIs with automated retries and programmatic output verification.
The AI Image Generation & Editing skill equips Claude Code with robust text-to-image, image-to-image, and image editing capabilities through OpenAI-compatible Images APIs like gpt-image-2. Bundling a standard-library-only Python CLI, it gracefully navigates real-world API quirks with exponential 429 backoff, automatic parameter fallback (quality and size downgrades), and strict resolution mapping up to 4K. It also automates output verification using PIL to validate image integrity, palette accuracy, and dimensions before delivery, making it ideal for developers and designers who need reliable, automated visual generation directly from their coding environment.