{"uid":"cap_pLRmw8VPjrHlMicc3aLhc","slug":"alfred-x402-image-refine-9460a59e","name":"ALFRED x402 Image Refine","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-refine?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{"type":"string"},"denoise":{"type":"string","description":"(0-1, optional)"},"image_id":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Jkxyp5CLXuuyzpfZIgKnj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Refines or denoises an existing image using a text prompt, gated by a Lightning/x402 micropayment","exampleAgentPrompt":"Can you refine image ID 'img_abc123' to make it look more like a golden-hour sunset landscape, with a denoise level of 0.4?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the refined/denoised image result, cached per payment hash so retries after paying don't incur an additional charge.","failureModes":["HTTP 402 returned with Lightning invoice if payment not yet made — must pay invoice and retry with X-Payment-Hash header","Invalid or missing image_id returns an error","Denoise value out of 0-1 range may be rejected or clamped","Payment hash not recognized if invoice expired before payment","Network timeout on inference backend"],"whenToPreferThis":"Use this endpoint when you need to refine or denoise an existing image (referenced by image_id) using a guiding text prompt, and you are operating in a Lightning/x402 micropayment environment. Prefer this over generic image generation endpoints when you already have a source image and want to improve or transform it rather than generate from scratch.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:32:56.058Z","isFirstParty":false,"canonicalSlug":"alfred-x402-image-refine-9460a59e"}