generate-image
Generate images from text prompts with customizable size, style, and quality.
Instructions
使用通义万相API生成图像
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate-image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | 生成图像数量 | |
| size | No | 图像尺寸 | 1024*1024 |
| style | No | 图像风格 | photography |
| prompt | Yes | 图像描述文本,支持中英文 | |
| quality | No | 图像质量 | standard |