Endpoint for requesting image2text (OCR) inference
slug, check specific limits and features, and verify LoRA availability.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
application/json Image to text conversion parameters
Image file to extract text from. Supported formats: JPG, JPEG, PNG, GIF, BMP, WebP. Maximum file size: 10 MB.
The OCR model to use for text extraction
"Nanonets_Ocr_S_F16"
Language code for OCR processing (optional)
"en"
Output format for extracted text
text, json "text"
If true, the result will be returned directly in the response instead of only download url. Optional parameter.
false
Optional HTTPS URL to receive webhook notifications for job status changes (processing, completed, failed). Must be HTTPS. Max 2048 characters. See Webhook Documentation for payload structure and authentication details.
2048"https://your-server.com/webhooks/deapi"
ID of the inference request.
Information from success endpoint