# PDF-2-JPEG Converts the pages of the input PDF file into JPEG with text clusters marked with bounding boxes. Endpoint: POST /docs/parsers/pdf/image Version: 2025-08-18T18:01:56Z Security: api_key ## Query parameters: - `engine` (string) An optional parameter that refers to the PDF Table parser. - `y_mul` (string) An optional hyper-parameter to control text clustering along the y-axis. - `draw_bb` (string) Control if the returned image should have the boundng boxes drawn. - `y_mul_small` (string) An optional hyper-parameter to control small font-text clustering along the y-axis. - `w_mul` (string) An optional hyper-parameter to control text clustering along the x-axis. - `y_mul_space` (string) An optional hyper-parameter for engine=v2, to control text space clustering along the y-axis. Must be used in conjunction with y_mul. ## Response 200 fields (application/json): - `status` (object) response status - `status.success` (boolean) Response status - `status.code` (integer) Response status code - `result` (object) response body - `result.pages` (array) Document page information - `result.pages.index` (integer) - `result.pages.dimensions` (object) - `result.pages.dimensions.width` (number) - `result.pages.dimensions.height` (number) - `result.pages.dimensions.rotation` (number) - `result.pages.contents` (array) Information of the text content - `result.pages.contents.text` (string) - `result.pages.contents.location` (object) Text location information - `result.pages.contents.location.left` (number) - `result.pages.contents.location.top` (number) - `result.pages.contents.location.right` (number) - `result.pages.contents.location.bottom` (number) - `result.pages.contents.dimension` (object) Text dimension information - `result.pages.image` (object) Image information - `result.pages.image.type` (string) - `result.pages.image.base64` (string) ## Response 400 fields (application/json): - `status` (object) response status - `status.success` (boolean) Response status - `status.code` (integer) Response status code - `error` (object) error body - `error.cause` (string) Cause of error - `error.message` (string) Error Message