Skip to main content

Module generate_image

Module generate_image 

Source
Expand description

generate_image tool - generates images from text prompts.

Uses the configured default_image_model provider (Wanxiang/DashScope or any OpenAI-compatible image API). The model is configured server-side and is not exposed to the LLM. Generated images are downloaded and saved to disk; the tool returns a JSON summary with saved paths and source URLs.

Structsยง

GenerateImageTool