Replies: 1 comment
|
You don't need both services running for straightforward PDF→text extraction — the That last part matters more than it looks: Lightweight CPU config, no second service required:
Full disclosure: I maintain a Railway one-click template for MinerU that bakes all three of these in (pipeline backend forced, models baked into the image so there's no cold-download, threads capped to the container's actual quota) and I get a kickback if you deploy through it: https://railway.com/deploy/mineru-v344-or-pdf-to-markdown-api-for-r?referralCode=Z1xivh&utm_medium=integration&utm_source=template&utm_campaign=inventory. If you're not on Railway, the same three env vars fix it on the raw Docker image too. |
Uh oh!
There was an error while loading. Please reload this page.
Context:
I am currently setting up MinerU's OpenAI-compatible API server to handle PDF parsing requests from client applications.
My Current Workflow:
Currently, my client sends requests which seem to go through the following pipeline:
Client Request -> /tasks -> vlm-http-client -> MinerU OpenAI API (which requires running both mineru-openai-api and mineru-api services simultaneously).
Problems:
High Latency / Slow Processing: This multi-hop pipeline (/tasks -> vlm-http-client -> MinerU OpenAI API) introduces significant overhead, making the PDF parsing speed very slow.
Heavy Deployment: Having to maintain and run both mineru-openai-api and mineru-api services simultaneously increases resource consumption and deployment complexity.
Questions:
Is this specific pipeline (/tasks -> vlm-http-client -> MinerU OpenAI API) mandatory for parsing PDFs via the OpenAI-compatible API?
Is there an alternative, more streamlined way to deploy the OpenAI API server so that the client can request PDF parsing directly and get faster responses? (e.g., a single unified service, or bypassing the intermediate task queue/vlm client)?
If there are any best practices or lightweight deployment configurations for this scenario, please share or point me to the documentation.
Thank you!
All reactions