mm_generate_image
Generate an image from a text prompt, customize size, and receive the absolute file path of the saved output.
Instructions
根据文字提示生成图片并保存。
Args: prompt: 图片内容描述。 size: 画幅,支持 1024x1024 / 768x1344 / 1344x768。 output_path: 可选保存路径(默认 outputs/images/)。
Returns: str: 生成的图片文件绝对路径。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1024x1024 | |
| prompt | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |