---
name: wecode-ai/image-generation
source: https://app.decimal.ai/s/wecode-ai-image-generation@1/SKILL.md
source_sha256: e60cf7ae4ad7
---

# Image Generation

Call `generate_image` when the user asks for an image.

- Put the complete visual description in `prompt`.
- Use `reference_images` only when the user supplied image attachments or URLs.
- Pass attachment IDs, not local sandbox paths.
- Default to one image unless the user explicitly asks for multiple images.
- The tool saves generated images as task attachments and returns image blocks. Do not create a duplicate card.
- If the tool returns `error`, explain it once and do not retry unchanged parameters.