image-generation

Featured

Generate or edit images from text prompts. Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content.

AI & Automation 46,898 stars 10345 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Image Generation 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): - **OpenAI** — `gpt-image-2`, `gpt-image-1` - **Gemini Nano Banana** — `nano-banana-2`, `nano-banana-pro`, `nano-banana` - **Seedream (Volcengine Ark)** — `seedream-5.0-lite`, `seedream-4.5` - **Qwen (DashScope)** — `qwen-image-2.0`, `qwen-image-2.0-pro` - **MiniMax** — `image-01` ## Usage Run `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). ```bash 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. ### Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `prompt` | string | yes | — | Image description | | `image_url` | string / list...

Details

Author
zhayujie
Repository
zhayujie/CowAgent
Created
4 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category