POST
/
v1
/
images
/
{imageId}
/
extract-text

Description

This endpoint extracts the text from an image and returns its lines as a list of strings.

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:

imageId
string
required

The ID of the image to extract text from.

Response

The API will return a JSON object with the following fields:

lines
string[]

A list of strings representing the lines of text extracted from the image.