Generate image from text prompt: AI image generation, a JPEG in seconds
image_generateGenerate an image from a text prompt with FLUX.1 schnell: send a prompt, get a 1024x1024 JPEG back as base64 in a few seconds, with an optional steps setting (1-8) for more detail. Use for illustrations, thumbnails, mockups, avatars, product shots and social media images inside an agent workflow. Example: prompt=a lighthouse on a cliff at sunset, watercolor. Price $0.03/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Diffusion steps, 1-8 (default 4) | |
| prompt | Yes | What the image should show (3-800 characters) |