batch_generate_images
Generate multiple images from multiple prompts in parallel batches. Supports up to 100 prompts with configurable model, size, quality, and batch management.
Instructions
批量生成多张图像,支持并行处理和批次管理
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": {
"prompts": "<prompts>"
},
"name": "batch_generate_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompts | Yes | 提示词数组,最多支持100个 | |
| model | No | 使用的模型 (cogview-4, cogview-4-250304, cogview-3-flash) | |
| quality | No | 图像质量 | standard |
| size | No | 图像尺寸 (例如: 1024x1024, 1024x1792) | 1024x1024 |
| watermark_enabled | No | 是否添加水印 | |
| user_id | No | 用户ID,用于跟踪 (6-128个字符) | |
| batch_size | No | 每批处理的提示词数量 | |
| parallel | No | 是否并行处理批次内的请求 | |
| max_concurrent | No | 并行处理时的最大并发数 | |
| delay_between_batches | No | 批次间的延迟时间(毫秒) |