Generate image from text prompt
agent-data-tools.revmesh2074.workers.dev/image/generate
Generate image from text prompt. Generate an image from a text prompt with FLUX.1 schnell: send a prompt, get a 1024x1024 JPEG back as base64 in a few seconds, with an optional steps setting (1-8) for more detail. Use for illustrations, thumbnails, mockups, avatars, product shots and social media images inside an agent workflow.
GET
https://agent-data-tools.revmesh2074.workers.dev/image/generateUptime100% of 2 checks in 30 days
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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/image/generate?prompt=a+lighthouse+on+a+cliff+at+sunset%2C+watercolor");
console.log(await res.json());Example input
{
"prompt": "a lighthouse on a cliff at sunset, watercolor"
}