{"uid":"cap_LNekFTsET4crdISuKCKif","slug":"alfred-x402-image-upscale-5804d86d","name":"ALFRED x402 Image Upscale","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/image-upscale","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"type":"string","description":"(esrgan|hires_fix, optional)"},"factor":{"type":"string","description":"(2 or 4)"},"image_id":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.3","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.3/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.3","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.3","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Els2xg7xFjjfw8hoJJ48W","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.3","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Upscales an image by 2x or 4x using ESRGAN or hires_fix model, paid per-call via Lightning/x402 protocol","exampleAgentPrompt":"Can you upscale my image (ID: abc123) to 4x using the esrgan mode? I want the sharpest result possible.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the upscaled image result (likely a URL or image data), cached per payment_hash so retrying with the same payment doesn't charge again.","failureModes":["HTTP 402 returned with Lightning invoice if payment not yet made — must pay invoice and retry with X-Payment-Hash header","Invalid image_id returns an error if the image cannot be found","Unsupported factor value (anything other than 2 or 4) may cause a bad request error","Invalid mode string (not esrgan or hires_fix) may cause processing failure","Network timeout if upscaling is slow for large images","Payment hash not recognized or already expired"],"whenToPreferThis":"Use this endpoint when you need AI-powered image super-resolution (ESRGAN or hires_fix) on demand, pay-per-use via Lightning/x402 without a subscription. Ideal for agents that need occasional image upscaling at low cost ($0.30 USDC per call) without committing to a SaaS plan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T17:51:36.219Z","isFirstParty":false}