cURL
Analysis
Image-to-Text Price Calculation
Endpoint for calculating price for image2text (OCR) inference
POST
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Available options:
application/json Body
multipart/form-data
Image to text conversion parameters
- Option 1
- Option 2
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. Available models can be retrieved via the GET /api/v1/client/models endpoint.
Example:
"Nanonets_Ocr_S_F16"
Language code for OCR processing (optional)
Example:
"en"
Output format for extracted text
Available options:
text, json Example:
"text"
Response
Calculated price for img2txt inference.