Wegent Image Generation

Use this skill when the user asks to generate, draw, create, or revise an image. Supports text-to-image and image-reference generation.

wecode-ai 485acee 941 B Updated

File contents

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, public HTTP/HTTPS URLs, or base64 data URLs, not local sandbox paths.
  • For uploaded or previously generated images, pass attachment IDs. Do not pass Wegent attachment download URLs or relative /api/attachments/... paths as remote references.
  • 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.

wecode-ai/wegent/tree/main/backend/init_data/skills/wegent-image-generation commit 485acee3db

Frequently asked questions

npx skillmds@latest add wecode-ai/wegent-image-generation