Generate image (FLUX.1 schnell)
generate_image[PAID $0.01 USDC per call via x402 on Base; errors are free] Generate an original 1024x1024 image from a text prompt with FLUX.1 [schnell] on Workers AI (about 2-5 s). Returns JSON with image_base64 + mimeType, or the raw image bytes with format=jpeg. Content policy: no sexual/nude, gore, hate, real or famous people, or ID documents/currency; such prompts get HTTP 400 and are not charged. All params optional: with no prompt a sample watercolor lighthouse is drawn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Diffusion steps, more = more detail (default 4). | |
| prompt | No | What to draw (max 1000 chars). Optional: defaults to a watercolor lighthouse. |