{"uid":"cap_cxW6-a7M6pGm9SpkkoKMI","slug":"x402-ai-image-generation-api-bf873fcf","name":"x402 AI Image Generation API","description":"66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.","url":"https://workspace-x402-paywall.onrender.com/ai/image?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Requires a text string describing the image to generate"}}}},"additionalProperties":false}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A3ciFpMrARzS2EEN-HaKg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an AI image from a text prompt description for $0.01 USDC per call via x402 micropayment on Base or Solana","exampleAgentPrompt":"Can you generate an image of a futuristic city skyline at sunset with flying cars and neon lights?","exampleUseCases":[{"title":"Blog post illustration generation","prompt":"Generate an image of a cozy coffee shop interior with warm lighting, wooden furniture, and people working on laptops for my blog post about remote work."},{"title":"Product concept visualization","prompt":"Create an image of a sleek, minimalist smartwatch with a transparent display and silver band on a white background — I need it for a product pitch deck."},{"title":"Social media visual creation","prompt":"Can you generate an image of a tropical beach at golden hour with palm trees and calm turquoise water for my travel Instagram post?"}],"resultDescription":"Returns an object containing the AI-generated image, likely as a URL or base64-encoded image data, based on the text prompt provided. The response schema is a generic object, so the exact format may vary.","failureModes":["Payment failure if insufficient USDC balance or unsupported network","Missing required 'prompt' field returns a 400/422 error","Vague or ambiguous prompts may produce unexpected or low-quality images","Service unavailability on the Render.com hosted platform","Rate limiting or quota exceeded errors","Prompt content policy violations resulting in rejected generation"],"whenToPreferThis":"Choose this endpoint when you need to generate an AI image from a text prompt and want to pay per call using USDC micropayments via the x402 protocol on Base or Solana mainnet, without committing to a subscription. Ideal for agents that infrequently need image generation and want crypto-native, pay-as-you-go billing at $0.01 per image.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:38:09.619Z","isFirstParty":false,"canonicalSlug":"x402-ai-image-generation-api-bf873fcf"}