PayWeave · Manifest · ocr

PayWeave Mistral OCR

Document OCR and structured extraction with Mistral Document AI.

Read skill.md
Endpoints3 items
  1. 01
    POST
    /ocr
    Run Mistral OCR (mistral-ocr-latest) on a document or image URL and get markdown per page, plus optional structured annotations. Mirrors POST api.mistral.ai/v1/ocr: same request and response shape, swap only the host. Price is $0.01 per page, or $0.02 per page when any annotation option is set. pages accepts an array like [0, 1, 2] or a range string like "0,2-4"; omit it to process the whole document, in which case the service counts the PDF pages itself before quoting the price (PPTX/DOCX need explicit pages; max 1000 pages per call). Image inputs always count as one page. The body is validated before charging, and upstream failures (including pages past the end of the document) are refunded automatically. For private files, upload to storage.payweave.services first and pass the returned URL.
    $0.01 – $20.00
  2. 02
    POST
    /ocr/image
    Run Mistral OCR on a single image (PNG, JPEG, or AVIF) by URL and get the text back as markdown. $0.01 flat, or $0.02 when any annotation option is set. Works on photos of receipts, tickets, signs, screenshots, and scanned pages. Same engine as POST /ocr (which also handles PDFs and mirrors api.mistral.ai/v1/ocr); use POST /ocr/upload to send a local image file instead of a URL. The body is validated before charging and upstream failures are refunded automatically.
    $0.01 – $0.02
  3. 03
    POST
    /ocr/upload
    Upload a file directly via multipart/form-data and run Mistral OCR on it — no hosting step needed. Same pricing as POST /ocr: $0.01 per page, $0.02 per page with annotation options. Fields: file (PDF or PNG/JPEG/AVIF image, max 50 MB), pages (optional, a range string like "0,2-4" or JSON array string like "[0,1]"; omit to process the whole PDF, counted from the uploaded bytes, max 25 MB for whole-document pricing), and options (optional JSON object string with the same option fields as POST /ocr). Images always count as one page. The body is validated before charging and upstream failures are refunded automatically.
    $0.01 – $20.00