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 viagoogle-genai. Full feature set:--aspect-ratio,--sizetiers (1K/2K/4K), and multi-image edit/compose (-i a.png -i b.png). UseGEMINI_API_KEY/GEMINI_IMAGE_MODEL.openai— any OpenAI-compatible image endpoint (OpenAI official, DashScope, new-api gateways, ...). UseOPENAI_API_KEY/OPENAI_BASE_URL/OPENAI_IMAGE_MODEL. Supportsgpt-image-2,dall-e-3, etc.