Text-to-image (FLUX.1 schnell)
ai_imageGenerates a 1024x1024 JPEG from a text prompt with FLUX.1 [schnell] in about 2 seconds. Returns a hosted image URL valid for 24 hours that you can hand straight to the next tool; add inline=true to also get the base64. Choose 1-8 diffusion steps (default 4). You are only charged if the image is delivered. No API key, no account. $0.02 per call, paid over x402 (USDC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Diffusion steps, 1-8. More is sharper and slower. Default 4. | |
| inline | No | Also return the JPEG as base64. Default false. | |
| prompt | Yes | What to draw, up to 2048 characters. English works best. |