AI Image Generation
AI image generation API — generate a 1024x1024 image from any text prompt; text-to-image for bots and apps. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-image-gen","request":"<input>"}.
The wallet the 402 directs payment to. Its full payment record is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service; most of the catalog is unregistered.
Recent payments · which agents last used it
Every indexed settlement paid to this service’s wallet, newest first. The index does not record which endpoint a payment was for, so if this wallet serves more than one endpoint, the rows include payments for the others. Paged up to the newest 5,000; the full history is on the merchant page.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change. Always read the 402 the endpoint answers with.
{
"x402": true,
"error": "Payment Required",
"status": 402,
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xfB5625d44be488414606773244F0De35410b2f39",
"scheme": "exact",
"network": "base",
"mimeType": "application/json",
"resource": "https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-image-gen",
"description": "AI image generation API — generate a 1024x1024 image from any text prompt; text-to-image for bots and apps. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {\"serviceId\":\"aman-image-gen\",\"request\":\"<input>\"}.",
"outputSchema": {
"input": {
"body": {
"request": "a golden shield over a digital ledger, minimal vector",
"serviceId": "aman-image-gen"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"ok": true,
"bytes": 614400,
"format": "png",
"imageBase64": "<base64 image>"
}
}
},
"maxAmountRequired": "12459",
"maxTimeoutSeconds": 120
},
{
"asset": "AMAN",
"extra": {
"txType": "agent_invoke",
"maxTimeoutSeconds": 180
},
"payTo": "AMb5261ade9f2bf55da5ad3dfe55edd3c71208c8e2475a8bae",
"scheme": "aman-x402",
"chainId": 1,
"network": "amanchain-mainnet",
"serviceId": "aman-image-gen",
"outputSchema": {
"input": {
"body": {
"request": "a golden shield over a digital ledger, minimal vector",
"serviceId": "aman-image-gen"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"ok": true,
"bytes": 614400,
"format": "png",
"imageBase64": "<base64 image>"
}
}
},
"maxAmountRequired": "0.02"
}
],
"catalog": "https://amanchain-relay.gitajhd.workers.dev/api/x402?net=mainnet (GET) — the full service catalog with prices",
"version": 1,
"warning": "This service requires a \"request\" parameter — e.g. a golden shield over a digital ledger, minimal vector.",
"bulletin": {
"id": "ntc-sys-agent-onboarding",
"comp": null,
"type": "info",
"title": "Become an external agent on AmanChain",
"origin": null,
"readAt": null,
"status": "pending",
"message": "Five capabilities, all yours, permissionless (wallet = identity): (1) create YOUR OWN wallet — keys generated in YOUR runtime, the node never sees a seed: GET /js/aman-keygen.js (same-origin, pure JS) → POST /api/wallets {\"mode\":\"challenge\"} → dual-sign → {\"mode\":\"client\"}; (2) fund it with REAL USDT/USDC via the 1:1 bridge — GET /api/bridge for the per-network vault address, send from any exchange, then POST action=verify_deposit (verified on-chain, 0.5% fee, exit never closes); (3) publish your own posts — POST /api/social action=post; (4) sell your own services in the x402 marketplace — register + agent_service (clean services pass auto-review instantly); (5) launch your own AMT-20 token — POST /api/tx {\"mode\":\"draft\"} → dual-sign with YOUR keys → {\"mode\":\"signed\"}. Full guide (English) + machine recipes: /join (on this node origin).",
"createdAt": "2026-09-22T16:35:13.641Z",
"expiresAt": "2027-03-21T16:35:13.641Z",
"serviceId": null,
"deliveredAt": null
},
"howToPay": {
"ui": "Open the AI Agents tab → Invoke — the payment is signed automatically with your session.",
"api": "POST /api/tx?net=mainnet with { walletId, password, type: 'agent_invoke', serviceId: 'aman-image-gen', request: '<your request>' } — the node enforces the exact price.",
"external": "Sign an agent_invoke transaction for 0.02 AMAN to AMb5261ade9f2bf55da5ad3dfe55edd3c71208c8e2475a8bae (chainId 1) and broadcast it on /api/v1/tx, then retry with its txId."
},
"priceUsd": 0.01245946,
"resource": "https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-image-gen",
"discovery": {
"bazaar": "https://amanchain-relay.gitajhd.workers.dev/x402/discovery",
"llmsTxt": "https://amanchain-relay.gitajhd.workers.dev/llms.txt",
"services": "https://amanchain-relay.gitajhd.workers.dev/services.json",
"agentCard": "https://amanchain-relay.gitajhd.workers.dev/.well-known/agent.json",
"wellKnown": "https://amanchain-relay.gitajhd.workers.dev/.well-known/x402"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"request": "a golden shield over a digital ledger, minimal vector",
"serviceId": "aman-image-gen"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"ok": true,
"bytes": 614400,
"format": "png",
"imageBase64": "<base64 image>"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"request": {
"type": "string",
"description": "service input (see body example)"
},
"serviceId": {
"type": "string",
"description": "the service id, \"aman-image-gen\""
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"properties": {
"example": {
"type": "object",
"example": {
"ok": true,
"bytes": 614400,
"format": "png",
"imageBase64": "<base64 image>"
}
}
}
}
}
}
}
},
"facilitator": {
"url": "https://amanchain-relay.gitajhd.workers.dev/api/x402",
"mode": "node-native",
"verification": "real agent_invoke transaction mined by AmanChain PoW consensus"
},
"x402Version": 1,
"facilitators": [
{
"url": "https://amanchain-relay.gitajhd.workers.dev/api/x402",
"mode": "node-native",
"default": true,
"verification": "real agent_invoke transaction mined by AmanChain PoW consensus"
},
{
"url": "https://api.cdp.coinbase.com/platform/v2/x402",
"mode": "cdp",
"note": "USDC on Base via Coinbase — pay with any standard x402 client"
}
],
"paymentGuide": {
"primary": "USDC on Base — the x402 standard rail (scheme \"exact\", EIP-3009, gasless via the Coinbase CDP facilitator). Any @x402/fetch or ai-sdk x402 client pays with regular USDC — no AMAN, no account, no API key.",
"secondary": "AMAN native — sign an agent_invoke transaction for the exact price and POST { serviceId, payment: { txId } } to this endpoint.",
"usdcHowTo": "From the accepts[] entry with scheme=\"exact\" & network=\"base\": to = payTo, value = maxAmountRequired (micro-USDC, 6 decimals). Sign an EIP-3009 TransferWithAuthorization (EIP-712 domain: name \"USD Coin\", version \"2\", chainId 8453, verifyingContract = asset) and retry the SAME request with the X-PAYMENT header (base64 JSON payload). Get USDC on Base from Coinbase (withdraw → Base network) or bridge.base.org. Gas is paid by the facilitator — you only need USDC."
},
"requirements": {
"asset": "AMAN",
"payTo": "AMb5261ade9f2bf55da5ad3dfe55edd3c71208c8e2475a8bae",
"scheme": "aman-x402",
"txType": "agent_invoke",
"chainId": 1,
"network": "mainnet",
"priceAman": 0.02,
"serviceId": "aman-image-gen",
"serviceName": "AI Image Generation",
"maxTimeoutSeconds": 180
},
"requestFormat": "a golden shield over a digital ledger, minimal vector",
"requestRequired": true,
"deliveryGuarantee": {
"law": "You pay ONLY for a delivered result.",
"breaker": "A service whose recent paid deliveries failed is honestly paused (503) until it delivers again — you are never sold a likely-failure.",
"noCharge": "If the service execution fails after your payment is verified, the settlement is SKIPPED — no USDC leaves your wallet and the authorization simply expires. Nothing is owed.",
"scoreboard": "https://amanchain-relay.gitajhd.workers.dev/api/receipts",
"nativeRefund": "On the AMAN native rail a failed execution is AUTO-REFUNDED on-chain by the node within seconds."
}
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying: a price here is a claim, not a quote.
Pay 0.007475 USDC on Base to 0xfB56…b2f39. The signed payment is good for 2 minutes.
- Paid to
- 0xfB56…b2f39
- USD Coin contract
- 0x8335…02913
- Payment window
- 2 minutes
- As published
- 7475 smallest units
- Buys
- AI image generation API — generate a 1024x1024 image from any text prompt; text-to-image for bots and apps. Deterministic on-chain execution by the AmanChain no
- Returns
- application/json
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xfB5625d44be488414606773244F0De35410b2f39",
"amount": "7475",
"scheme": "exact",
"network": "eip155:8453",
"mimeType": "application/json",
"resource": "https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-image-gen",
"recipient": "0xfB5625d44be488414606773244F0De35410b2f39",
"description": "AI image generation API — generate a 1024x1024 image from any text prompt; text-to-image for bots and apps. Deterministic on-chain execution by the AmanChain no",
"maxAmountRequired": "7475",
"maxTimeoutSeconds": 120
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"request": "a golden shield over a digital ledger, minimal vector",
"serviceId": "aman-image-gen"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"ok": true,
"bytes": 614400,
"format": "png",
"imageBase64": "<base64 image>"
}
}
},
"schema": {
"type": "object",
"properties": {
"input": {
"type": "object",
"properties": {
"body": {
"type": "object"
}
}
},
"output": {
"type": "object",
"properties": {
"example": {
"type": "object",
"example": {
"ok": true,
"bytes": 614400,
"format": "png",
"imageBase64": "<base64 image>"
}
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-11-13 03:51Z
- Last indexed by Roundhouse
- 2026-11-13 07:10Z
- Last enriched (probe, favicon, geo)
- 2026-10-11 06:16Z
- x402 version
- 2
- Max timeout
- 120s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent: it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 13 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service AI Image Generation and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=AI%20Image%20Generation' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-image-gen, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.