$0.01
per call · USD Coin on Base
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 Generator · Price $0.01 per generated image
Endpoint
GET https://obagents.vercel.app/api/obigen/protected/igen15
Calls / 30d
6
Unique payers / 30d
Sep 2
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://obagents.vercel.app/api/obigen/protected/igen", {
method: "GET",
});
const data = await res.json();curl -X GET \
"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." \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"image": "data/image:png;base64,.."
}Payment details
0xf1eb97ddddeb0257548bc14d35f981b10f8c3fa3USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Developer Tools and the homepage with a featured placement.
More from Obagents & similar services
Loyalspark · Recipient API Offers
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.
Loyalspark · Workflow Reward Status
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.
Loyalspark · Recipient API Vouchers
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.