{"uid":"cap_SlWeIEa78nULwi-CoZbmA","slug":"alfred-x402-image-generation-193dd408","name":"ALFRED x402 Image Generation","description":"Self-hosted personal-assistant paid tools via Lightning. Uses x402-shaped protocol (L402 lineage): HTTP 402 with a Lightning invoice in the response body + WWW-Authenticate header, retry with X-Payment-Hash: <hex> once paid. Results cached per payment_hash so legitimate retries don't cost twice.","url":"https://x402.wallace.us/x402/generate-image","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{"type":"string"},"quality":{"type":"string","description":"(dev|schnell, optional)"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2.1","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":"$2.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p21pfBkIS3Nk6F3gHU0Gq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from a text prompt via a self-hosted Lightning/x402 paid API, with optional quality mode selection.","exampleAgentPrompt":"Generate a high-quality image of a futuristic city skyline at sunset — use schnell quality mode.","exampleUseCases":null,"resultDescription":"Returns a generated image (exact format unspecified in schema; likely an image URL, base64 data, or binary blob) keyed to the payment hash. Results are cached per payment hash so retrying the same paid request does not incur a second charge.","failureModes":["HTTP 402 returned if no valid Lightning payment has been made — client must pay the invoice in the response body and retry with X-Payment-Hash header","Invalid or expired payment hash results in re-issuance of invoice","Unsupported quality value may produce an error or fall back to default","Prompt too long or empty may result in a 400 Bad Request","Self-hosted service may have downtime or rate limits not publicly documented"],"whenToPreferThis":"Choose this endpoint when you need text-to-image generation via a self-hosted, pay-per-use x402/Lightning micropayment API — especially when you want per-call pricing at $2.10 USDC with no subscription required and results cached by payment hash. Prefer this over hosted SaaS image generators when operating in a Lightning/x402 payment context or when the requester specifically wants ALFRED's self-hosted toolset.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:39:54.577Z","isFirstParty":false}