Image-to-Text (OCR)
OCR API z LightOnOCR-3 do skanów, tabel i wykresów
Bez karty kredytowej · Darmowe kredyty są ważne 30 dni · Potem doładowujesz konto i płacisz za użycie, bez abonamentu
LightOnOCR-3-4B
Image-to-Text (OCR)
Markdown zwrócony przez API
# INVOICE No. 2026/11/0457
## Seller:
Nordwind Tools GmbH
Hafenstraße 12, 20457 Hamburg
VAT ID: DE 298 114 551
Issue date: 2026-11-02
## Buyer:
Kowalski & Syn sp. z o.o.
ul. Żółkiewskiego 7/3, 31-539 Kraków
NIP: 676-25-81-904
Due date: 2026-11-30
<table>
<thead>
<tr>
<th>#</th>
<th>Item</th>
<th>Qty</th>
<th>Unit price (EUR)</th>
<th>VAT</th>
<th>Net (EUR)</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Torque wrench TW-40, 1/2"</td>
<td>12</td>
<td>84.50</td>
<td>0%</td>
<td>1,014.00</td>
</tr>
<tr>
<td>2</td>
<td>Socket set S-94 (94 pcs)</td>
<td>5</td>
<td>129.00</td>
<td>0%</td>
<td>645.00</td>
</tr>
<tr>
<td>3</td>
<td>Shipping DHL Freight</td>
<td>1</td>
<td>48.90</td>
<td>0%</td>
<td>48.90</td>
</tr>
</tbody>
</table>
Total net: **1,707.90 EUR**
Reverse charge, Art. 196 Directive 2006/112/EC
Co wysyłasz, co dostajesz
Wynik
# Quarterly API requests (millions)

Source: internal dashboard, 2026.
## Data Table
<table>
<thead>
<tr>
<th>Quarter</th>
<th>API Requests (millions)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Q1</td>
<td>8.0</td>
</tr>
<tr>
<td>Q2</td>
<td>14.0</td>
</tr>
<tr>
<td>Q3</td>
<td>20.5</td>
</tr>
<tr>
<td>Q4</td>
<td>27.5</td>
</tr>
</tbody>
</table>
Wynik
## 2.1 Loss function
We minimise the cross-entropy over the vocabulary $V$ :
$$
L(\theta) = -\Sigma_{t=1}^{T} \log p_{\theta}(y_t \mid y_{<t}, x)
$$
where $x$ is the image and $T$ the length of the target sequence.
Wynik
# Instrukcja obsługi / Bedienungsanleitung / 取扱説明書
Przed pierwszym użyciem naładuj akumulator do pełna. Nie zostawiaj ładowarki podłączonej dłużej niż 12 godzin.
Vor dem ersten Gebrauch den Akku vollständig aufladen. Das Ladegerät nicht länger als 12 Stunden angeschlossen lassen.
初めてご使用になる前に、バッテリーを完全に充電してください。充電器を12時間以上接続したままにしないでください。
Antes del primer uso, cargue la batería por completo. No deje el cargador conectado más de 12 horas.
Cennik OCR API z LightOnOCR-3
| Obraz | Cena | Obrazów za 5 $ |
|---|---|---|
| Strona A4 w 2048 px (1448 × 2048) | 0,025 $ | ≈ 196 |
| Strona A4 w 1024 px (724 × 1024) | 0,0067 $ | ≈ 746 |
| Obraz kwadratowy, 1024 × 1024 | 0,0093 $ | ≈ 538 |
| Zrzut ekranu, 1920 × 1080 | 0,018 $ | ≈ 279 |
LightOnOCR-3-4B czy Nanonets-OCR-s
| LightOnOCR-3-4B | Nanonets-OCR-s | |
|---|---|---|
| Identyfikator modelu | LightOnOcr_3_4B_Q8 |
Nanonets_Ocr_S_F16 |
| Podstawa | Architektura vision-language Qwen3.5, 4B | Dostrojony z Qwen2.5-VL-3B-Instruct |
| Cena | 0,0093 $ za 1024 × 1024 | 0,0093 $ za 1024 × 1024 |
| Wykres słupkowy (test powyżej) | Tabela ze wszystkimi czterema wartościami | Tylko wiersz ze źródłem |
| Zdjęcie faktury (obraz na górze strony) | Wszystkie pola w kolejności ze strony, polskie znaki bez zmian | Brak numeru faktury, „Żółkiewskiego” odczytane jako „Zólkiewskiego”, sumy przed tabelą |
Przykładowe zapytanie do API LightOnOCR-3
- Endpoint
- Identyfikator modelu
- Wejście
- Wynik
- Wycena
curl -X POST 'https://api.deapi.ai/api/v2/images/ocr' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Accept: application/json' \
-F 'model=LightOnOcr_3_4B_Q8' \
-F 'return_result_in_response=true' \
-F '[email protected]'
import time, requests
API = "https://api.deapi.ai/api/v2"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY", "Accept": "application/json"}
with open("invoice.jpg", "rb") as f:
job = requests.post(f"{API}/images/ocr", headers=HEADERS,
data={"model": "LightOnOcr_3_4B_Q8", "return_result_in_response": "true"},
files={"image": f}).json()["data"]
while True:
status = requests.get(f"{API}/jobs/{job['request_id']}", headers=HEADERS).json()["data"]
if status["status"] in ("done", "error"):
break
time.sleep(2)
print(status.get("result")) # Markdown
Czym jest LightOnOCR-3?
-
Załóż darmowe konto
-
Skopiuj klucz API
-
Wyślij obraz
OCR API z LightOnOCR-3: najczęstsze pytania
Odczytaj pierwsze 196 stron za darmowe 5 $
Rejestracja przez e-mail albo Google. Bez karty kredytowej i bez abonamentu.