Analyze Images with AI
Detecting and Identifying Objects, Activities and Colors in an Image
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The images to be sent as input. You can pass a maximum of 10 images.
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 with a proper description of the image and what it contains.
json
, text
The question to be answered by the AI or any specific command you would like the Model to take into consideration while analysing the image. This is an optional parameter. If not provided, the AI will only send a description of the image and what it contains.
The training data to be used for the AI. This is an optional parameter. If not provided, the AI will use the default training data. It is only applicable for Image Analysis process with Text as output_type
.
Whether to stream the data as it is being generated. If set to true, the response will be streamed as the data is being generated. This is useful when you want to generate a lot of content and want to save the data as it is being generated. You need to handle Server Sent Events for this use case.
Response
The HTTP status code.
Status indicating the success of the response.
The response data.
The time taken to process the request, in milliseconds.
A universally unique identifier for the request. This can be used to track the request in the logs.
The number of times the request has been processed.
Was this page helpful?