gpu_flux_image
Generates high-speed raster images from a text prompt using Black Forest Labs FLUX.1 Schnell on Cloudflare Edge GPUs, returning JPEG base64 and a ready-to-embed data_url. Use to create new graphics, thumbnails, or avatars; use ai_vision_analyze to inspect or OCR an existing image. Read-only, stateless; costs $0.030 Base USDC via x402 (unpaid calls return a v2 quote challenge without charging; invalid inputs return 400 uncharged).
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": "gpu_flux_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Diffusion inference steps (1-8, default 4; higher values improve detail at slightly higher latency). | |
| prompt | Yes | Detailed visual text prompt describing subject, composition, lighting, and style to render. |