80trust / 100
Ai Image
by Text-to-image (FLUX.1 schnell) in AI models & inference
x402 APIPassing, checked 2 h ago
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.
GET https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 439 ms typical, 439 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/image?prompt=a+red+fox+reading+a+newspaper%2C+watercolor&steps=4"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fflat-rate-llm.kikoribera03.workers.dev%2Fv1%2Fai%2Fimage
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
}Example output
{
"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
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 439 ms | $0.02 |
| 7 h ago | Passed | 402 | 506 ms | $0.02 |