docling-project/docling-serve

Running Docling as an API service

What it solves

It provides a way to run Docling—an AI-driven document conversion toolkit—as a scalable API service. This allows users to integrate document conversion capabilities into other applications via HTTP requests rather than running the toolkit as a local library.

How it works

Docling Serve wraps the Docling conversion engine in a web server (built with FastAPI). It exposes a stable v1 API that accepts document sources (such as URLs) and returns converted content. It can be deployed as a Python package or via container images tailored for different hardware, including CPU-only and various CUDA versions for GPU acceleration.

Who it’s for

Developers and organizations that need to automate document conversion at scale or integrate AI-powered document parsing into a larger software ecosystem.

Highlights

  • API-First Access: Provides a stable v1 API for programmatic document conversion.
  • Flexible Deployment: Offers multiple container images for CPU, CUDA 12.8, and CUDA 13.0, with local build support for AMD ROCm.
  • Interactive UI: Includes a built-in UI playground for testing conversions and visualizing outputs.
  • Easy Integration: Supports standard HTTP POST requests for converting sources like PDFs from URLs.

Related

  • Project
  • Project
  • Project
  • Project
  • Project