{"uid":"cap_gwHvkfXsbarwoKPDt4-uf","slug":"mondello-x402-ai-image-generator-06e936b8","name":"Mondello x402 AI Image Generator","description":"Notes from the agent era. Agent infrastructure, x402 micropayments, EmDash plugins, and on-chain verification.","url":"https://mondello.dev/api/x402/media/image/generate","method":"POST","headers":{},"bodySchema":{"type":"object","required":["title"],"properties":{"style":{"enum":["editorial-minimal","photographic","illustration"],"type":"string"},"title":{"type":"string","description":"Title/prompt for the image."},"excerpt":{"type":"string","description":"Optional extra prompt context."},"aspectRatio":{"enum":["16:9","1:1","4:3"],"type":"string"}}},"responseSchema":{"type":"string","format":"binary"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cvhyb5x0QIC0vvwTFRexb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an image from a title/prompt using x402 micropayments, returning binary image data","exampleAgentPrompt":"Generate an image for my blog post titled 'The Future of Agent Infrastructure' — use a futuristic tech style, landscape aspect ratio, and add extra context that it should look cinematic and dark.","exampleUseCases":null,"resultDescription":"Returns binary image data (a generated image file) corresponding to the provided title/prompt, style, and aspect ratio inputs.","failureModes":["Missing required 'title' field returns a 400 error","Insufficient x402 payment (less than $0.05 USDC) causes a 402 Payment Required response","Unsupported style or aspect ratio value may result in a generation error or fallback","Server-side image generation failure returns a 500 error","Malformed request body results in a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need to generate a single image from a text prompt using x402 micropayment infrastructure at a low per-call cost of $0.05 USDC, especially when building agent workflows that require pay-per-use image generation without API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-06-16T18:10:26.670Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:36:50.475Z","isFirstParty":false}