Extract the text from an image in desired format.
format
specified in the request.
The format can be either plain
or markdown
. The API will return all the text from the image, trying to maintain the document structure as much as possible.
This is particularly useful for documents, receipts, and other text-heavy images where you want to retain the formatting.
API Key for authentication
The unique identifier of the image. This identifier is used to reference the image in subsequent requests.
The API will return the Image object in the response body.
Response object for extracting formatted text from an image. Contains the format and content of the extracted text.