image gen
image_genGenerates 1 PNG from a text prompt (FLUX.1-dev, 512px). Async: returns job ID + poll URL. GPU-backed via RunPod ComfyUI, scale-to-zero. [price: $0.02/call USDC via 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_gen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Image prompt |