generate_image
Generate images from a text prompt with Seedream while a spend guard checks cost and approvals before each paid request.
Instructions
Make an image with Seedream. Priced and checked by the spend guard first.
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 |
|---|---|---|---|
| size | No | 1K, 2K, 4K or WIDTHxHEIGHT | 2K |
| model | No | pro (Seedream 5.0 Pro), flash, lite, 4.5, 4.0 or an id | |
| prompt | Yes | ||
| save_to | No | File or folder to save images | |
| watermark | No | ||
| max_images | No | Up to N related images | |
| approval_id | No | ||
| output_format | No | jpeg | |
| reference_images | No | Up to 10 image URLs or local paths |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||