{"uid":"cap___0EeH9XnzOQMN135wX1-","slug":"recoup-ai-image-generator-97d0e49f","name":"Recoup AI Image Generator","description":"Generate an image from a text prompt using AI","url":"https://recoup-api-git-sweetmantech-myc-3559-4dbc37-recoupable-ad724970.vercel.app/api/x402/image/generate","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"object","properties":{"image":{"type":"object","properties":{"base64":{"type":"string","description":"Image as base64 encoded string"},"mediaType":{"type":"string","description":"IANA media type of the image"}},"description":"Generated image file"},"usage":{"type":"object","properties":{"inputTokens":{"type":"number","description":"Number of tokens used for the prompt"},"totalTokens":{"type":"number","description":"Number of tokens used for the total"},"outputTokens":{"type":"number","description":"Number of tokens used for the output"},"reasoningTokens":{"type":"number","description":"Number of tokens used for the reasoning"}},"description":"Token usage information for the image generation"},"moment":{"type":"object","description":"In Process moment creation result (nullable)"},"imageUrl":{"type":"string","description":"Fetchable URL for the uploaded image (nullable)"},"arweaveError":{"type":"string","description":"Error message if Arweave upload failed (optional)"},"arweaveResult":{"type":"object","description":"Arweave transaction result (nullable)"}},"description":"GenerateImageResult containing the generated image and metadata"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"0.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__1vQ2NKTx7PYAg4Mgtrgc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an AI image from a text prompt, with optional upload to Arweave for permanent decentralized storage","exampleAgentPrompt":"Generate an AI image of a futuristic cyberpunk city at night with neon lights reflecting off wet streets, and upload it to Arweave for permanent storage.","exampleUseCases":null,"resultDescription":"Returns a generated AI image, potentially including an Arweave URL if uploadToArweave was set to true, allowing permanent decentralized access to the created image.","failureModes":["Empty or invalid prompt returns an error","Arweave upload failure if decentralized storage is unavailable","Payment failure if insufficient USDC balance (x402 protocol)","Timeout if AI generation takes too long","Rate limiting if too many requests are made"],"whenToPreferThis":"Use this endpoint when you need to generate an AI image from a text prompt and optionally want permanent, decentralized storage on Arweave. Ideal for agents that need to create visual content programmatically and persist it on-chain. The x402 micropayment model at $0.15 USDC makes it suitable for pay-per-use workflows without subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-06-16T18:11:54.151Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-08-24T04:30:26.799Z","isFirstParty":false}