{"uid":"cap_wTPSK3Uo5hNHFGZrTQOJ9","slug":"alfred-x402-vision-image-analysis-via-lightning-payment-02510e23","name":"ALFRED x402 Vision — Image Analysis via Lightning Payment","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/vision","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"task":{"type":"string","description":"(describe|ocr|analyze)"},"prompt":{"type":"string","description":"(optional extra instruction)"},"image_url":{"type":"string","description":"OR image_data (base64)"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.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":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Cr1QiPKz9FqSG5QWTflM6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes, describes, or OCRs images submitted via URL or base64, gated by a Lightning micropayment using the x402/L402 protocol.","exampleAgentPrompt":"Use the ALFRED vision service to OCR this screenshot for me — here's the image URL: https://example.com/screenshot.png — I need all the text extracted from it.","exampleUseCases":null,"resultDescription":"A JSON object containing the result of the requested vision task: a natural-language image description for 'describe', extracted text content for 'ocr', or structured visual analysis for 'analyze'. The response is cached per payment hash so retrying after paying the Lightning invoice does not incur a second charge.","failureModes":["HTTP 402 returned on first call with a Lightning invoice in the body and WWW-Authenticate header — agent must pay invoice and retry with X-Payment-Hash header","Invalid or expired payment hash — endpoint returns 402 or 401 rejecting the payment proof","Unreachable image URL — server cannot fetch the image, returns an error","Unsupported task value — only 'describe', 'ocr', 'analyze' are valid task strings","Self-hosted server downtime — no SLA guarantees as this is a personal server"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call image analysis without API key registration, especially in Lightning/x402-native workflows. Suitable for one-off OCR, image description, or visual analysis tasks where you want to pay $0.10 USDC per call via Lightning micropayment and avoid monthly subscription costs. Not suitable for high-volume production use given its self-hosted nature.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:34:34.363Z","isFirstParty":false}