Skip to content
onelayer.
All tools

Tool detail

Text-to-image (FLUX.1 schnell)

Generates a 1024x1024 JPEG from a text prompt using FLUX.1 schnell and returns a hosted image URL valid for 24 hours.

Categories: Image generation

Use when

  • generate an image from a text prompt quickly and cheaply
  • get a temporary hosted image URL to hand to another tool
  • get the image back as base64 instead of just a URL

Not for

  • not for images larger than 1024x1024 or non-square aspect ratios

Inputs

GET query params: prompt (string, required, <=2048 chars); inline (boolean, optional, default false); steps (number 1-8, optional, default 4)

Admitted input schema

{
  "type": "object",
  "properties": {
    "inline": {
      "type": "boolean",
      "description": "Also return the JPEG as base64. Default false."
    },
    "prompt": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "What to draw, up to 2048 characters. English works best."
    },
    "steps": {
      "type": "number",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Diffusion steps, 1-8. More is sharper and slower. Default 4."
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image

Payment

Protocol
x402
Listed price
0.02 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z