Generate AI Image (Paid)
generate_imagePAID TOOL (charges the user's Maximo wallet: $0.05 for 768/1K, $0.07 for 1.5K, $0.10 for 2K, $0.61 for 4K). ALWAYS confirm paid work with your user before calling this tool, and ALWAYS set max_cost_usd. Generated items start private and labelled AI-generated.
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>",
"max_cost_usd": "<max_cost_usd>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1k | |
| prompt | Yes | ||
| aspect_ratio | No | 1:1 | |
| max_cost_usd | Yes | Required hard USD price ceiling. | |
| idempotency_key | No | Optional idempotency key to avoid duplicate charges. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||