{"uid":"cap_vv8dg1kxX1WqqLh__Ug61","slug":"x402-ai-api-civicmerge-workers-dev-abd114e7","name":"x402 AI Image Generation","description":"AI image generation","url":"https://x402-ai-api.civicmerge.workers.dev/v1/images/generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["fast","enhanced","pro","premium","phoenix","sdxl","sdxl-light","dreamshaper","img2img","inpaint"],"type":"string","description":"Quality tier"},"width":{"type":"integer","default":1024},"height":{"type":"integer","default":1024},"prompt":{"type":"string","description":"Text prompt for image generation"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.030000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":3,"rating":{"score":"0.58","successRate":"0.67","reviews":3,"stars":"3.3","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.030000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B3kc9mKIqTNbeheNCuBgH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts using selectable quality tiers (fast, enhanced, pro, premium, phoenix, sdxl, etc.) via a pay-per-call API","exampleAgentPrompt":"Generate a photorealistic image of a futuristic cityscape at night with neon lights reflecting on rain-soaked streets, using the 'pro' quality model at 1024x1024.","exampleUseCases":[{"title":"Product mockup generation for e-commerce","prompt":"Create a photorealistic product image of a sleek wireless headphone in matte black with premium packaging, using the enhanced quality model at 1024x1024 so I can show it to my design team"},{"title":"Fantasy illustration for creative writing","prompt":"Generate a high-quality fantasy scene featuring a dragon perched on a mountain fortress during sunset with mystical purple clouds, using the phoenix quality tier to really make the artwork stand out"},{"title":"Social media content creation at scale","prompt":"Make me a square image at 1024x1024 of a cozy coffee shop interior with warm lighting and autumn vibes using the fast quality model so I can quickly generate multiple variations for my brand's Instagram posts"}],"resultDescription":"The agent receives a generated image (URL or binary data) corresponding to the text prompt, produced at the specified model quality tier and image dimensions.","failureModes":["Invalid model enum value returns 400 error","Prompt missing from request body returns validation error","Payment failure (insufficient USDC or x402 protocol error) returns 402 Payment Required","Width or height out of supported range returns error","Service unavailable on Cloudflare Workers returns 503"],"whenToPreferThis":"Choose this endpoint when you need fast, pay-per-call AI image generation with multiple quality tiers (including SDXL, DreamShaper, inpainting, and img2img variants) and want to pay micro-amounts per image without a subscription. Especially useful for agents that need on-demand image creation within an x402 payment workflow.","instructions":null,"reviewSummary":"This AI image generation service (SDXL tier, 1024×1024) can produce detailed, prompt-accurate images in roughly 11 seconds at 0.03 USDC, with at least one reviewer praising strong scene composition and good price-to-quality ratio. However, reliability is inconsistent — a 500 Internal Server Error was reported on a standard enhanced-tier request, and the failed run was still charged without confirmed payment settlement. Text rendering within generated images is inaccurate, consistent with diffusion model limitations.","reviewSummaryHighlights":["Fast generation (~11s) with strong scene composition on SDXL tier","Competitive pricing at 0.03 USDC per image","Prompt adherence rated highly for detailed, complex scenes"],"reviewSummaryConcerns":["500 Internal Server Error reported on standard prompts, indicating reliability issues","Failed runs may still incur charges with unconfirmed payment settlement","Text/signage within generated images renders as gibberish"],"reviewSummaryGeneratedAt":"2026-07-15T20:15:06.080Z","activationCount":3,"lastUsedAt":"2026-07-15T20:01:48.439Z","lastSuccessfullyRanAt":"2026-06-30T03:48:17.238Z","lastHealthCheckAt":"2026-10-10T06:33:00.972Z","isFirstParty":false,"canonicalSlug":"x402-ai-api-civicmerge-workers-dev-abd114e7"}