Mistral AIMistral AI API
POST/v1/ocr
管理ocr V1 Ocr Post。
Mistral AI API 中用于 ocr V1 Ocr Post 的保留合约 POST Endpoint。模型与资源相关值由调用方在运行时提供。
覆盖固定 Apache-2.0 许可官方 revision 中 ApiKey 认证的 238 个 Mistral AI Platform REST Endpoint(含类型化 SSE 流式与 Workflows)。Hub 提供文档与独立 SDK/CLI,但不代理模型、账户或用量数据;调用方通过本地 API key 直连。
请求
- operationId
ocrV1OcrPost- 服务器
https://api.mistral.ai- 认证
- ApiKey
请求参数
无 URL、查询或 Header 参数。
Body 参数
Content-Type: application/json
字段: bbox_annotation_formatconfidence_scores_granularitydocumentdocument_annotation_formatdocument_annotation_promptextract_footerextract_headerimage_limitimage_min_sizeinclude_blocksinclude_image_base64modelpagestable_format
响应
200
OCRResponseapplication/json
供应商成功响应。
字段: document_annotationmodelpagesusage_info
422
HTTPValidationErrorapplication/json
供应商返回 HTTP 状态 422。
字段: detail
{
"pages": {
"hyperlinks": [],
"images": {},
"index": 0
},
"usage_info": {
"pages_processed": 0
}
}