alefba_download_pdf
Download the OCR-analyzed document as a searchable PDF, with options to adjust quality, color mode, and embedded image format.
Instructions
Download the analyzed document as a searchable PDF. دریافت سند به صورت پیدیاف قابلجستوجو. Calls POST /api/download_pdf/. quality controls image quality (0-100), color toggles colour vs. grayscale, and img_format (png|jpg) sets the embedded image format. Returns download info, or the saved path when save_path is provided. Optional name of the configured Alefba instance to target. Omit to use the default instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_url | Yes | ||
| quality | No | ||
| color | No | ||
| img_format | No | ||
| save_path | No | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||