Generate Image

Generate images from a text prompt using OpenAI's gpt-image-2 (default) or Google Gemini (Nano Banana) and open them in the system image viewer. Use whenever the user asks to create, generate, draw, make, or produce an image/picture/illustration/poster/icon/logo/infographic/thumbnail/wallpaper from a description — even if they don't mention OpenAI, Gemini, gpt-image-2, or DALL·E explicitly. Triggers include phrases like 'generate an image of', 'draw me a', 'create a picture', 'make a visual of'. Also use when the user names a backend ('use gemini', 'use gpt') or wants to compare/race both models on the same prompt ('race gpt vs gemini'), and for iterating on a prompt (regenerating with variations or a refined description). Requires OPENAI_API_KEY (and GEMINI_API_KEY for the gemini provider or --race).

unsafe9 Updated

File contents

unsafe9/agent-skills/tree/main/generate-image commit cec6facd54

Frequently asked questions

npx skillmds@latest add unsafe9/generate-image