image generate
image_generateGenerate an image from a text prompt (FLUX.1 schnell). Returns JPEG bytes. Good for thumbnails, social posts, mockups and illustrations. Costs $0.009 USDC per call (x402).
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": "image_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | 1 to 8, default 4 | |
| prompt | Yes |