Others
L017 Layout-only Parsing (No OCR)
Run layout detection only, without OCR. Every results.content value is null and markdown is not returned. Supported types: png, jpg, jpeg, pdf, doc, docx, ppt, pptx, xls, and xlsx. include_crop_urls is optional and defaults to true.
post/rd-llm/v1/documents/layout_parsing
Request
- Base URLhttps://connect.patsnap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"file": "maximum 20MB"
}Response
Successful l017 layout-only parsing (no ocr) response.
Example response
{
"data": {
"state": "success",
"results": [
{
"url": "https://oss.example.com/doc/0_2.png?sign=...",
"bbox": [
0.16,
0.18,
0.37,
0.2,
0.9
],
"type": "figure",
"content": "null"
}
],
"file_type": "png",
"total_pages": 1
},
"status": "success",
"error_msg": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.