image
imageAI image generation from a text prompt (FLUX.1 schnell, 1024x1024 JPEG returned as a base64 data URL). Sexual or graphic prompts are refused and not charged. Price: $0.01 USDC per successful 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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Diffusion steps 1-8 (default 4; more = finer detail) | |
| prompt | Yes | Image description (max 1000 characters) |