← All endpoints
agent402.tools api image-gen
https://agent402.tools/api/image-gen
payable
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.
We sent a real
POST request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.03
- Network
- base
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- POST
- Response latency
- 87 ms
- Payment options
- 12 usable of 12
- Last checked
- 2026-08-10T09:11:57.505Z (1d ago)
- Category
- ai-inference
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fimage-gen"