Image-to-Text
Extract text from images with high accuracy. Ideal for document processing, receipt scanning, and automated data entry.
LightOn's open-weight document OCR model. Turns scans, photos and screenshots into clean Markdown, with tables as HTML and equations as LaTeX. Reads print and handwriting in many languages.
Real outputs generated with LightOnOCR on deAPI.
Extracted text
Executive Mansion Washington, Nov 21, 1864 To Mrs. Bixby, Boston, Mass, Dear Madam, I have been shown in the files of the War Department a statement of the Adjutant General of Massachusetts that you are the mother of five sons who have died gloriously on the field of battle. I feel how weak and fruitless must be any word of mine which should attempt to beguile you from the grief of a loss so overwhelming. But I cannot refrain from tendering you the consolation that may be found in the thanks of the republic they died to save. I pray that our Heavenly Father may assuage the anguish of your bereavement, and leave you only the cherished memory of the loved and lost, and the solemn pride that must be yours to have laid so costly a sacrifice upon the altar of freedom. Yours very sincerely and respectfully, A. Lincoln The Celebrated "Bixby Letter." Facsimile of the Original Manuscript on Exhibition at Huber's Museum in New York City. A Letter of Condolence Written by Abraham Lincoln to Mrs. Bixby, of Boston, Mass., November 21, 1864Executive Mansion Washington, Nov 21, 1864 To Mrs. Bixby, Boston, Mass, Dear Madam, I have been shown in the files of the War Department a statement of the Adjutant General of Massachusetts that you are the mother of five sons who have died gloriously on the field of battle. I feel how weak and fruitless must be any word of mine which should attempt to beguile you from the grief of a loss so overwhelming. But I cannot refrain from tendering you the consolation that may be found in the thanks of the republic they died to save. I pray that our Heavenly Father may assuage the anguish of your bereavement, and leave you only the cherished memory of the loved and lost, and the solemn pride that must be yours to have laid so costly a sacrifice upon the altar of freedom. Yours very sincerely and respectfully, A. Lincoln The Celebrated "Bixby Letter." Facsimile of the Original Manuscript on Exhibition at Huber's Museum in New York City. A Letter of Condolence Written by Abraham Lincoln to Mrs. Bixby, of Boston, Mass., November 21, 1864
What you can do with LightOnOCR.
Extract text from images with high accuracy. Ideal for document processing, receipt scanning, and automated data entry.
Resolution
128–4096 x 127–4096 px
Integrate LightOnOCR into your app with a single API call.
POST https://api.deapi.ai/api/v2/images/ocr
curl · deAPI images/ocr
curl -X 'POST' \ 'https://api.deapi.ai/api/v2/images/ocr' \ -H 'accept: application/json' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -F 'model=LightOnOcr_3_4B_Q8' \ -F 'image=@/path/to/file'{ "model": "LightOnOcr_3_4B_Q8", "image": "@/path/to/image.png" }
Tip: The API returns a request_id. Use webhooks (recommended) or poll GET /jobs/{request_id} for results.
Need an API key?
Sign up for free and get $5 in credits to start.
Get $5 in free credits and start generating with LightOnOCR.
Quick check before we generate