# Image Generation

> Use when the user asks to create, generate, or render images through the internal media CLI.

- Skill: `berabuddies/image-generation` (Agent Skill)
- Install (CLI): `npx skillmds@latest add berabuddies/image-generation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/berabuddies/image-generation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: berabuddies (https://skillmd.com/u/berabuddies)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/berabuddies/image-generation

---


Use foreground Bash only. allowed-tools is guidance, not the enforcement boundary; media generation is enforced by the internal tool permission path.
Progress-only or promise-only replies are not completion: after activation, either run `imagegen` or report the concrete blocker plainly.

- Run one `imagegen --prompt ... --count ...` command for one logical request.
- Set an explicit long Bash timeout within the current Bash cap before running the command.
- When the user asks for multiple images from one prompt, pass the requested number through `--count` instead of issuing repeated `--count 1` commands.
- Treat `--prompt` as literal text unless it names a workspace-relative file; prompt file paths should be passed through `--prompt`.
- Use `--prompt-reference` only when the request supplies additional prompt context.
- Use `--aspect`, `--purpose`, or `--retry-from-error-json` only when the request or retry context requires them.
- To override the connected default, pass `--provider <id> --model <id>` together — both are required, or pass neither. Omit them to use the configured default provider/model.
- If image generation fails or the media runtime is unavailable, report that plainly.
- Do not hand-author SVG, ASCII art, placeholder files, or other substitutes and present them as generated images.

