POST
/
v1
/
image-to-text
curl --request POST \
  --url https://api.wetrocloud.com/v1/image-to-text/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'image_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTQBQcwHfud1w3RN25Wgys6Btt_Y-4mPrD2kg&s' \
  --form 'request_query=What animal is this?'
{
  "response": "This is a dog, specifically a Labrador Retriever.",
  "tokens": 1746,
  "success": true
}

Authorizations

Authorization
string
header
required

Body

multipart/form-data
image_url
string
request_query
string

Response

200
application/json
OK

The response is of type object.