Generate an image from a text prompt
imageText-to-image generation with FLUX.1 schnell. Send a prompt, get a 1024x1024 JPEG back as base64 in a few seconds. Use for illustrations, thumbnails, mockups, avatars and social media images. Optional steps parameter (1-8, default 4) trades speed for detail. Example: prompt=a lighthouse on a cliff at sunset, watercolor, steps=4. Price $0.02/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only; not marked read-only because each call is charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Diffusion steps, 1-8 (default 4) | |
| prompt | Yes | What the image should show (3-800 characters) |