Marketplace · API · x402

agent402.tools/api/image-gen

Generate an image from a text prompt using GPT Image 2 (low quality, 1024x1024). No API key needed; pay per call via x402. Returns base64 PNG. Prompt capped at 1000 chars. A render takes 10 to 30 s; use a client timeout of at least 60 s.

Endpointhttps://agent402.tools/api/image-gen
Trust✓ Verified callable · 100% uptime over 1 checks · ~260 ms
PricingPay per call with x402, no account. Call it to get an exact quote before paying.
networkeip155:8453
schemeexact
pay to0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
methodPOST
last updated2026-11-09T16:18:18.415Z

Use it

Call it (an x402 client pays automatically)

curl -i https://agent402.tools/api/image-gen
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATURE

This listing as JSON

curl https://aipaygen.com/v1/catalog/api/x402-559064f74c27d675

Search the whole marketplace from your agent (MCP)

{
  "mcpServers": {
    "aipaygen": {
      "url": "https://aipaygen.com/mcp"
    }
  }
}

Related