Mineru HTTP API (port 10996) for PDF conversion to Markdown (CPU-only mode)
587
This image runs in CPU-only mode with pipeline backend.
For GPU acceleration, please use the official MinerU imageā .
- CPU Mode: Suitable for moderate workloads, no GPU required
- Pipeline Backend: Optimized for general document processing
- GPU Mode: Visit official repository for high-performance GPU support
This image only supports PDF files.
- Does NOT support
.docxor.docWord documents- Does NOT support
.pptx,.xlsx, or other Office formatsFor other document types, use our other converters:
Document Type Recommended Image DOCX, PPTX, XLSX ā Markdown molandev/markitdown-converter-api:latestDOC ā DOCX/PDF molandev/libreoffice-converter-api:latest
A high-precision PDF parsing service powered by MinerU with advanced OCR capabilities. Built on GraalVM Native Image for cloud-native deployment, it transforms complex PDF documents into structured Markdown or JSON format with exceptional accuracy.
| File | Description |
|---|---|
result.md | Extracted Markdown content |
result_content_list.json | Content structure list |
result_middle.json | Intermediate processing data |
result_model.json | Model output data |
result_layout.pdf | Layout analysis PDF |
result_origin.pdf | Original PDF copy |
result_span.pdf | Span annotation PDF |
images/ | Extracted images folder |
docker pull molandev/mineru-converter-api:latest
docker run -d \
--name mineru-converter \
-p 10996:10996 \
-v /data/temp:/app/temp \
-e CONVERTER_MAX_CONCURRENT=5 \
-e CONVERTER_RETENTION_MINUTES=30 \
molandev/mineru-converter-api:latest
Access the complete API guide at: http://localhost:10996/help
# Get Markdown (default)
curl -F "[email protected]" \
http://localhost:10996/convert/mineru/upload \
-o output.md
# Get JSON
curl -F "[email protected]" \
"http://localhost:10996/convert/mineru/upload?outputFormat=json" \
-o output.json
# Get all files (ZIP)
curl -F "[email protected]" \
"http://localhost:10996/convert/mineru/upload?outputFormat=zip" \
-o output.zip
# Or provide a URL
curl -X POST "http://localhost:10996/convert/mineru/url?fileUrl=https://example.com/doc.pdf&outputFormat=zip" \
-o output.zip
| Parameter | Default | Description |
|---|---|---|
CONVERTER_MAX_CONCURRENT | 5 | Max parallel conversions (MinerU is resource-intensive) |
CONVERTER_RETENTION_MINUTES | 30 | Temp file retention |
CONVERTER_SCHEDULE_MINUTES | 5 | Cleanup interval |
SERVER_PORT | 10996 | Service port |
docker run -e CONVERTER_MAX_CONCURRENT=2 \
-e CONVERTER_RETENTION_MINUTES=60 \
molandev/mineru-converter-api:latest
docker run -e CONVERTER_MAX_CONCURRENT=10 \
--memory=8g \
--cpus=4 \
molandev/mineru-converter-api:latest
ā
OCR-Powered - Extract text from scanned PDFs with high accuracy
ā
Multiple Output Formats - Markdown, JSON, or complete ZIP archive
ā
Resource-Efficient - GraalVM Native Image for minimal footprint
ā
Production-Ready - Smart concurrency control & auto-cleanup
ā
Cloud-Native - Docker-first design, Kubernetes-ready
POST /convert/mineru/upload
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | File | Yes | PDF file to convert |
| outputFormat | String | No | Output format: md (default), json, zip |
POST /convert/mineru/url
| Parameter | Type | Required | Description |
|---|---|---|---|
| fileUrl | String | Yes | Remote PDF URL |
| outputFormat | String | No | Output format: md (default), json, zip |
Built with Spring Boot 3.5.6 + GraalVM 25 + MinerU
Precision PDF parsing with OCR intelligence. š
Content type
Image
Digest
sha256:d266fe868ā¦
Size
7.1 GB
Last updated
7 months ago
docker pull molandev/mineru-converter-api