
LightOnOCR 2 1B
About IONOS LightOnOCR 2 1B
El reconocimiento óptico de caracteres (OCR) es la conversión electrónica o mecánica de imágenes de texto mecanografiado, manuscrito o impreso en texto codificado por máquina. La imagen puede ser un documento escaneado o una fotografía de una matrícula, una señal de tráfico o cualquier otro elemento que contenga texto (tipos de archivos admitidos: jpg, jpeg, png, tiff).
IONOS LightOnOCR 2 1B es un modelo de IONOS disponible en Eden AI para la tarea «OCR», desde 0,33 $ / 1M tokens. Llámalo con la misma clave API que cualquier otro modelo de Eden AI, enviando su cadena de modelo al endpoint Universal AI, con procesamiento en Europa.
Tasks and prices
IONOS LightOnOCR 2 1B is available on Eden AI for 1 tasks. Cada tarea tiene su propia cadena de modelo y su propio precio: envía esa cadena al endpoint Universal AI para usar el modelo en esa tarea.
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.
Entrada
- file (obligatorio): archivo (PDF, imágenes). ID de un archivo PDF o de imagen de /v3/upload o URL directa del archivo
- language: texto. Código de idioma del documento. La mayoría de los proveedores detectan el idioma automáticamente e ignoran este campo; los proveedores que no pueden detectarlo rechazan las solicitudes en las que se o
Respuesta
- 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
Envía la cadena de modelo al endpoint Universal AI. Para usar otro modelo, copia su cadena de la tabla de arriba.
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 tokens 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, Imagen. 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.





