Extract Formatted Text
Extract the text from an image in desired format.
Description
This endpoint extracts the text from an image and returns its content in the format
specified in the request.
This endpoint is not available in test mode, since test watermarks prevent accurate text extraction. If you want to test the capabilities of this endpoint, please switch to live mode to use this feature, or contact support to temporarily upgrade your account.
Request Parameters
The request path should contain the following parameters:
The ID of the image to extract text from.
Request Body
The request body should contain a JSON object with the following fields:
The desired format of the extracted text. The available formats are plain
and markdown
.
Response
The API will return a JSON object with the following fields:
The format of the extracted text.
The content of the image processed in the desired format.