obagents.vercel.app/api/obigen/protected/igen
x402 OB Image Generator · Price $0.01 per generated image https://obagents.vercel.app/api/obigen/protected/igen GET Query Params // The primary text description of the image to generate. prompt: string; Example: https://obagents.vercel.app/api/obigen/protected/igen?prompt=yourprompt · x402 OB Image Gener
GET
https://obagents.vercel.app/api/obigen/protected/igenUptime100% of 1 check 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://obagents.vercel.app/api/obigen/protected/igen?prompt=A+cartoon+scene+with+a+cute%2C+friendly%2C+rounded-shape+purple+robot+offering+a+diamond+to+the+observer.");
console.log(await res.json());Example input
{
"prompt": "A cartoon scene with a cute, friendly, rounded-shape purple robot offering a diamond to the observer."
}