
LightOnOCR 2 1B
About IONOS LightOnOCR 2 1B
Il riconoscimento ottico dei caratteri (OCR) è la conversione elettronica o meccanica di immagini di testo digitato, scritto a mano o stampato in testo codificato per computer. L'immagine può essere un documento scansionato o una foto di una targa, di un cartello stradale o di qualsiasi altra cosa che contenga del testo (tipi di file consentiti: jpg, jpeg, png, tiff).
IONOS LightOnOCR 2 1B è un modello di IONOS disponibile su Eden AI per l’attività «OCR», a partire da 0,33 $ / 1M token. Chiamalo con la stessa chiave API di tutti gli altri modelli di Eden AI, inviando la sua stringa del modello all’endpoint Universal AI, con elaborazione in Europa.
Tasks and prices
IONOS LightOnOCR 2 1B is available on Eden AI for 1 tasks. Ogni attività ha la propria stringa del modello e il proprio prezzo: invia quella stringa all’endpoint Universal AI per usare il modello per quell’attività.
Parameters
What you send and what you get back when you call IONOS LightOnOCR 2 1B through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Input
- file (obbligatorio): file (PDF, immagini). ID del file PDF o immagine presente in /v3/upload oppure URL diretto del file
- language: testo. Codice della lingua del documento. La maggior parte dei provider rileva automaticamente la lingua e ignora questo campo; i provider che non sono in grado di rilevarla rifiutano le richieste in cui tal
Risposta
- text
- bounding_boxes
Estimate your monthly cost
Enter your monthly volume for OCR to compare IONOS LightOnOCR 2 1B with its cheapest alternatives.
Call IONOS LightOnOCR 2 1B with Eden AI
Invia la stringa del modello all’endpoint Universal AI. Per usare un altro modello, copia la sua stringa dalla tabella qui sopra.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "ocr/ocr/ionos/lightonai/LightOnOCR-2-1B",
"input": {"file": "https://example.com/document.pdf"},
},
)
print(response.json())
curl https://api.edenai.run/v3/universal-ai \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "ocr/ocr/ionos/lightonai/LightOnOCR-2-1B", "input": {"file": "https://example.com/document.pdf"}}'
const response = await fetch("https://api.edenai.run/v3/universal-ai", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "ocr/ocr/ionos/lightonai/LightOnOCR-2-1B",
input: {"file": "https://example.com/document.pdf"},
}),
});
console.log(await response.json());
"file": "https://example.com/document.pdf"
Questions about IONOS LightOnOCR 2 1B
On Eden AI, IONOS LightOnOCR 2 1B costs 0,33 $ / 1M token for OCR. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, IONOS LightOnOCR 2 1B is available for: OCR. Input: PDF, Immagine. Output: text, bounding_boxes.
Eden AI offers OCR from 7 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for OCR
Other OCR models you can call with the same key, cheapest first.
More from IONOS
Other IONOS models on Eden AI, for every task.





