generate-image

Installation
SKILL.md

Generate Image (gemini / openai backends)

Turn a text prompt — optionally with reference images — into one or more images via one of two explicit backends. --backend has no default — always pick one (gemini or openai), or set IMAGE_BACKEND. The script does the API call, file saving, and configuration; your job is to pick the backend, craft a strong prompt, and wire up the flags.

  • gemini — Google's native Gemini API via google-genai. Full feature set: --aspect-ratio, --size tiers (1K/2K/4K), and multi-image edit/compose (-i a.png -i b.png). Use GEMINI_API_KEY / GEMINI_IMAGE_MODEL.
  • openai — any OpenAI-compatible image endpoint (OpenAI official, DashScope, new-api gateways, ...). Use OPENAI_API_KEY / OPENAI_BASE_URL / OPENAI_IMAGE_MODEL. Supports gpt-image-2, dall-e-3, etc.

Prerequisites

Installs
2
GitHub Stars
588
First Seen
Jul 7, 2026
generate-image — fradser/dotclaude