OCR
Perform OCR
Extracts text and content from documents or images using optical character recognition. Supports PDF URLs, base64-encoded documents, and image URLs.
post/v1/ocr
Request
- Base URLhttp://localhost:8080
- Auth
- HTTP bearer
- or HTTP basic
- or API key in header x-bf-vk
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"model": "mistral/mistral-ocr-latest"
}Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.