{"uid":"cap_e3yCU95TQLeqeDetNqOxg","slug":"amanchain-ai-image-generation-36bad930","name":"AmanChain AI Image Generation","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>\"}.","url":"https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-image-gen","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"body":{"type":"object"}}},"output":{"type":"object","properties":{"example":{"type":"object","example":{"ok":true}}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012441","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.012441/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012441","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012441","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2aKQ8U9CROAwKfn6doyXD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012441","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a 1024x1024 image from a text prompt, paid per call via x402 in USDC on Base — no API key required.","exampleAgentPrompt":"Generate a 1024x1024 image of a futuristic city skyline at sunset with flying cars and neon lights — pay for it with USDC via the AmanChain relay, no API key needed.","exampleUseCases":[{"title":"AI art for a blog post","prompt":"Create an image of a serene Japanese zen garden with cherry blossoms and a koi pond for my blog post header — 1024x1024, paid per call, no account needed."},{"title":"Product concept visualization","prompt":"Generate a 1024x1024 image of a sleek minimalist smartwatch on a white background for my product concept pitch deck."},{"title":"Game asset placeholder generation","prompt":"Can you make a 1024x1024 image of a dark fantasy dungeon with torchlight and stone walls? I need it as a placeholder asset for my game prototype."}],"resultDescription":"A 1024x1024 AI-generated image produced from the provided text prompt. The response is returned after a per-call USDC micropayment settled on Base via x402. No account or API key is required; payment is handled automatically at call time.","failureModes":["Insufficient USDC balance for x402 payment — call rejected before image generation begins","Malformed JSON body or missing serviceId field — returns a 400-level error","Prompt violates content policy — generation refused with an appropriate error message","AmanChain node unavailable or consensus state issue — service temporarily unreachable","Ambiguous or very short prompt may result in unexpected or low-quality image output"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call AI image generation with no account creation or API key, and can settle micropayments in USDC on Base via x402. Ideal for autonomous agents that need on-demand image generation billed per request without managing subscriptions. Not ideal if you need multiple aspect ratios, higher resolution, image editing, or inpainting capabilities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:09.929Z","isFirstParty":false}