Files
Extract text, pages, metadata, or images from a PDF
Reads a PDF from an absolute path and extracts content according to mode: text (full text, default), pages (per-page text array), metadata (title, author, page count), or images (rendered page PNGs at image_dpi, written to output_dir). Optional page_range (e.g. 1-5,8) and password for encrypted documents.
post/v1/pdf/extract
Request
- Base URL: http://localhost:9998
- URL: http://localhost:9998/v1/pdf/extract
- Auth: HTTP bearer
Request body
Response
Extracted content (shape varies by mode)
Changes
No recorded changes to this operation across all 1 revision of this API.