open_mineru
Configure the self-hosted MinerU parser
Calls a locally deployed MinerU service. This option provides the best parsing quality and requires a GPU server.
config.toml
[pdf_parser]
engine = "open_mineru"
[pdf_parser.open_mineru]
api_url = "http://localhost:8000"
timeout = 600| Key | Description |
|---|---|
api_url | MinerU API gateway address. |
timeout | Request timeout in seconds. Increase for large PDFs. |
Deploy MinerU
Pull and start the MinerU service with Docker:
docker run -d \
--gpus all \
-p 8000:8000 \
opendatalab/mineru-service:latestVerify it is running:
curl http://localhost:8000/health