{"uid":"cap_5xVXAtLV3KVmIx4qWRUVj","slug":"gambit-ocr-pay-with-usdc-on-base-6e6c086f","name":"Gambit OCR — Pay with USDC on Base","description":"Gambit GPU shop. Humans: /signup ($1 credit), X-API-Key on /v1/*, QR Lightning top-up. Bots: L402 Lightning (LIVE) on /l402/*, x402 USDC on Base on /x402/*, or POST /v1/register ($0) then POST /v1/topup/lightning. Handwritten letter POST /x402/letter at $25.00 USDC. Funnel https://gambit.barrioenergy.com. Free probe GET|POST /x402/models.","url":"https://gambit.barrioenergy.com/x402/ocr","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{"type":"string"},"image_b64":{"type":"string"}}},"responseSchema":{"type":"json","example":{"text":"hello","model":"glm-ocr:latest"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y7zaZgtX1RhVc9qkOYP_c","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text from a base64-encoded image using the GLM-OCR model, payable per-call via x402 USDC on Base at $0.03","exampleAgentPrompt":"Can you read all the text from this image for me? Here it is as a base64 string: [base64_data]. Focus on the printed text in the main body.","exampleUseCases":[{"title":"Extract text from scanned receipt","prompt":"I have a scanned receipt as a base64 image — can you pull out all the text from it so I can log the line items and total?"},{"title":"Read signage from a photo","prompt":"Here's a base64-encoded photo of a road sign — can you extract all the text visible on it?"},{"title":"Transcribe handwritten notes from image","prompt":"I've got a base64 image of some handwritten meeting notes — can you transcribe whatever text you can read from them?"}],"resultDescription":"A JSON object containing the extracted text string from the image under the 'text' field, and the model used ('glm-ocr:latest') under the 'model' field.","failureModes":["Invalid or malformed base64 image data causes a parsing error","Image with no readable text returns an empty or minimal text field","Payment failure via x402/USDC on Base blocks the request before processing","Unsupported image format or corrupted file yields an error response","Very low-resolution or blurry images may return inaccurate or incomplete text"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call OCR service with no subscription or API key setup, especially in agentic workflows that use x402 USDC micropayments on Base. Ideal for bots and agents that need lightweight, on-demand text extraction from images without pre-registering an account.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:31:45.184Z","isFirstParty":false}