Generate image
generate_imageGenerate an image from a text prompt. The png is stored privately for this tenant and a short-lived signed URL is returned. Billed per image.
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 | 1024x1024|1024x1536|1536x1024|auto (default 1024x1024) | |
| prompt | Yes | What the image should show | |
| target_tenant_id | No | Platform super-admins only: operate on this tenant instead of your own. |