Skip to content
Fourohtwo

flat-rate-llm.kikoribera03.workers.dev/v1/ai/image

Use when an agent needs a picture it can hand straight to the next step: 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.

BasePolygonArbitrumUnchecked
GEThttps://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image?prompt=a+red+fox+reading+a+newspaper%2C+watercolor&steps=4");
console.log(await res.json());

Example input

{
  "prompt": "a red fox reading a newspaper, watercolor",
  "steps": 4
}