Repository navigation
调用API解析pdf返回的zip文件中,能否去掉原文件和images下的图像? #5751
Unanswered
sparrow0629
asked this question in
Q&A
Replies: 1 comment
|
The original PDF in the zip means you are on MinerU 3.x So for Markdown only, send just the file. You get JSON, no zip. The text is in curl -X POST http://127.0.0.1:8000/file_parse \
-F "files=@demo.pdf" \
-F "return_md=true"If you still want a zip, add Two notes:
In 4.x the API is |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
通过API解析pdf文件,返回的zip包中包括json,md,原始pdf文件,以及各种嵌套在pdf的图像,导致zip包比较大。如何指定让服务只返回markdown文件?或者至少不返回原始pdf文件和图像?
All reactions