OCR: Document to Markdown

Document to Markdown OCR library with Llama 3.2 vision

An npm library to run OCR for free with Llama 3.2 Vision.

How it works

This library uses the free Llama 3.2 endpoint from Together AI to parse images and return markdown. Paid endpoints for Llama 3.2 11B and Llama 3.2 90B are also available for faster performance and higher rate limits.

You can control this with the model option which is set to Llama-3.2-90B-Vision by default but can also accept free or Llama-3.2-11B-Vision.