Getquestion

Image annotations - Get question

POST
/api/getQuestion

This endpoint receives an image in base64 format and a string with a question.

Question example: "Is the image good for a blog post ... ?"

The response is in a JSON dictionary format as shown below:

{"data": "string with the response to the input question"}

Authorization

token_auth_2
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
base64*string
question?string

Response Body

Success

application/json
  1. response
data?string
curl -X POST "https://example.com/api/getQuestion" \  -H "Content-Type: application/json" \  -d '{    "base64": "string"  }'
{  "data": "string"}