Docling Serve
Docling Serve runs IBM's Docling document converter as an API service. It turns PDF, DOCX, PPTX, HTML and images into Markdown, JSON or plain text, with layout analysis, table structure recognition and OCR, and ships a web UI for trying conversions.
Docling Serve
In Development
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.
Installation
Default install:
1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/DevScripts/main/ct/docling-serve.sh)"
Notes
Every API call needs the X-Api-Key header with DOCLING_SERVE_API_KEY from /opt/docling-serve_data/.env. In the web UI, enter it under Set API key.
Only the default layout, table, picture and OCR models are installed. Enrichments such as code, formula or picture description need theirs first: /opt/docling-serve/.venv/bin/docling-tools models download -o /opt/docling-serve_data/models <model>