images_generations
Text-to-image generation, OpenAI-compatible images/generations response (data[0].b64_json), $0.008 per image, no API key. FLUX.1 [schnell] model, 1024x1024 JPEG returned as base64. POST {prompt, steps} or GET ?prompt=. Good for thumbnails, illustrations, concept art, social images. Price $0.008 USDC per call (x402, Base).
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": "images_generations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Diffusion steps 1-8, default 4 | |
| prompt | Yes | Image description, max 2,000 chars |