Generates a 1024x1024 JPEG from a text prompt with FLUX
Generates 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.
10000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-13
updated
Provider
flat-rate-llm.kikoribera03.workers.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"prompt": "a red fox reading a newspaper, watercolor",
"steps": 4
},
"type": "http"
},
"output": {
"example": {
"bytes": 585346,
"expires": "2026-09-14T18:00:00.000Z",
"height": 1024,
"mime": "image/jpeg",
"model": "@cf/black-forest-labs/flux-1-schnell",
"steps": 4,
"url": "https://flat-rate-llm.kikoribera03.workers.dev/m/5f0c2a9e41b7d3e8a6c1f042.jpg",
"width": 1024
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"inline": {
"description": "Also return the JPEG as base64. Default false.",
"type": "boolean"
},
"prompt": {
"description": "What to draw, up to 2048 characters. English works best.",
"type": "string"
},
"steps": {
"description": "Diffusion steps, 1-8. More is sharper and slower. Default 4.",
"type": "number"
}
},
"required": [
"prompt"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/8052.json, and this resource appears in /discovery/resources and /discovery/search.