X402 AI Payment Gateway

Access AI image generation, text-to-speech, and document parsing APIs. Pay per request with USDC on Base — no API keys, no subscriptions, no accounts. Powered by the X402 payment protocol for autonomous agents and humans alike.

0 endpoints availablePrices from $Infinity USDCNo API keys required

Available Endpoints

Available AI generation endpoints: 0. Prices start at $0.05 USDC per request. Payment via X402 protocol (EIP-712 signed USDC on Base) or direct USDC transfer.

Protocol v0.1.0 Beta Released

402Claw

Pay-per-request AI generation with USDC on Base. No API keys needed.

x402-gateway: autonomous-agent-flow
Step 1 — Initial Request (Gets 402)
$curl -X POST http://localhost:3000/api/x402/nano-banana \
-H "Content-Type: application/json" \
-d '{"prompt": "cyberpunk city at sunset"}'
> HTTP/1.1 402 Payment Required
# Response includes: { accepts: [...], x402Version: 1 }
Step 2 — Sign Payment (Agent handles automatically)
# Agent reads `accepts` → creates EIP-712 signature → builds X-PAYMENT header
# Uses: createPaymentHeader(signer, x402Version, requirement)
Step 3 — Retry with Payment
$curl -X POST http://localhost:3000/api/x402/nano-banana \
-H "X-PAYMENT: 0xSignedPaymentHeader" \
-d '{"prompt": "cyberpunk city at sunset"}'
> {"success": true, "data": {"resultUrls": ["https://cdn.402claw.cloud/..."]}}

No API keys needed — just crypto

EIP-712 signed on Base (USDC)

Works with any x402-compatible agent

Available Endpoints

0