api.delx.ai/api/v1/x402/image-budget
Generate a cheap image from a text prompt (budget text-to-image generation API) with FLUX.1 Schnell for $0.005 USDC via x402 on Base or Solana. Built for AI agents needing fast draft visuals, thumbnails, or concept illustrations under half a cent. Returns a public WebP URL and SHA-256 receipt; commercial Replicate output only, no API key, no subscription.
POST
https://api.delx.ai/api/v1/x402/image-budgetUptime100% of 4 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://api.delx.ai/api/v1/x402/image-budget", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"prompt":"Quick concept sketch of a red fox icon, flat vector, no text","aspect_ratio":"1:1","quality_profile":"balanced"}),
});
console.log(await res.json());Example input
{
"prompt": "Quick concept sketch of a red fox icon, flat vector, no text",
"aspect_ratio": "1:1",
"quality_profile": "balanced"
}