AI on demand: lightonai/LightOnOCR-2-1B: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

11 May 2026

  • curprev 11:2611:26, 11 May 2026Sst-yde talk contribs 2,378 bytes +2,378 Created page with "== Calling the model == <syntaxhighlight lang="bash"> # Set your personal key: STONEY_KEY=sk-... # Set the desired model: MODEL=lightonai/LightOnOCR-2-1B # Set the desired document to run OCR against: FILE_PATH=document.png # Encode document contents with Base64 and detect MIME type: FILE_CONTENT_BASE64=$(base64 -w 0 < "$FILE_PATH") FILE_MIME_TYPE=$(file --brief --mime-type "$FILE_PATH") curl https://llm.stoney-cloud.com/v1/chat/completions \ --silent --fail..."