AI Services

Detect and identify text in an image using AI

Changed on

This endpoint is used to modify an existing image using AI. It accepts a Form Data containing the image modification parameters and returns the modified image.

post/api/ai/images/v2/image-text-detection

Request

Request body multi-part/form-data

imagestring binary

The image to be sent as input.

output_type'json' | 'text'

The type of output to be generated. You can choose between json and text. json will return the text detection results as a JSON object with the scan words marked and positional information. text will return the text detection results as a plain text string.

Response

OK

codeinteger

The HTTP status code.

statusstring

Status indicating the success of the response. In case you have an error for multipart/form-data requests, try removing the Content-Type header.

datastring

The response data.

processing_timeinteger

The time taken to process the request, in milliseconds.

processing_idstring

A universally unique identifier for the request. This can be used to track the request in the logs.

processing_countinteger

The number of times the request has been processed. This is what is considered in the Billing Process. This is either the number of times the image is processed or the number of words that the server processes.

Changes

    • breaking

      request body became required

    • breaking

      removed the media type multipart/form-data from the request body

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id textExtractionfromImages removed and replaced with detectTextInImageV2

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      api tag AI Services added

    • info

      api tag AI removed

    • info

      added the media type multi-part/form-data to the request body

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the new optional request property