Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates or edits images from text prompts using OpenAI, Gemini, Seedream, Qwen, or MiniMax models.
13% 57%+43 ptsof test cases passed
Passed 13 of 23 test cases with the skill, and 3 of 23 without it.
This test ran on v5. v6 is the current version and hasn’t been tested on gemini-4-hydrogen yet.
3 of 3 safety checks passed
102 agent runs
2 forksA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
Generate and edit images using AI models. The script automatically picks a backend based on which API keys are configured — you don't need to specify a model unless the user explicitly names one. Never guess or invent a model: when the user doesn't name one, omit model entirely so the configured default/provider is used.
Supported models (passed via model only when the user asks for a specific one):
gpt-image-2.5-flare (recommended default: best quality/latency trade-off), gpt-image-2.5-sunburst (highest editing precision), gpt-image-2.6-flare, gpt-image-2.6-sunburst, gpt-image-2, gpt-image-1nano-banana-2, nano-banana-pro, nano-bananaseedream-5.0-lite, seedream-4.5qwen-image-2.0, qwen-image-2.0-proimage-01gpt-image-2.5-flare, gpt-image-2.5-sunburst, gpt-image-2.6-flare, gpt-image-2.6-sunburst, gemini-nano-banana-2.1, gemini-3.1-flash-image, gemini-3-pro-image, seedream-5.0-pro, seedream-5.0-liteRun scripts/generate.py with a JSON argument. Use the absolute <base_dir> path — do NOT cd into the skill directory, since it is a builtin skill and gets reset on restart (anything written there is lost).
python <base_dir>/scripts/generate.py '<json_args>'
Images are saved to the workspace (or the open project dir) under images/, so they persist and stay reachable to the client.
Set bash timeout to at least 600 seconds, as image generation can take 30–200s per provider, and the script may try multiple providers sequentially. Call it synchronously (do not run it in the background) and wait for its output in the same turn.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | yes | — | Image description |
image_url | string / list | no | null | Input image(s) for editing: local file path or URL. Multi-image fusion is supported (pass a list) |
quality | string | no | auto (high for gpt-image-2.6-*) | low / medium / high (only some backends honour this) |
size | string | no | auto | 512 / 1K / 2K / 3K / 4K, or pixel value (1024x1024) |
aspect_ratio | string | no | null | 1:1 / 3:2 / 2:3 / 16:9 / 9:16 / 21:9 (some backends also support extreme ratios like 1:4 / 8:1) |
Higher quality and larger size cost more and run slower. Omit quality unless the user explicitly asks for a level; the script then applies the model's default. Pass low / medium only when the user asks for a faster or cheaper result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.