Create and edit images from prompts and references.
image generation
Creates and edits images from prompts or references, including interleaved text-image output, with Wan and Qwen Image models.
When to use it
Use when the user requests image generation, image editing, style transfer, reference-based images, posters, or interleaved text-image content.
Give it an image prompt and optional reference-image details; it generates or edits images and saves them to an output path.
What you provide
This skill
QianWen image-generation API
Submits billable image generations (irreversible)
.agents/state.json
Overwrites update prompt preferences (irreversible)
DashScope temp storage
Uploads local reference images
QianWen generated image URLs
Downloads generated images
The default script requires Python 3.9 or newer and uses only the standard library.
The image-generation API key is loaded through either supported variable configured in `.env`.
The package enables use of the user's own OSS bucket instead of default temporary storage.
A configured OSS bucket enables the documented production storage path.