POST
/
api
/
ai
/
images
/
v2
/
image-analysis
curl --request POST \
  --url https://api.worqhat.com/api/ai/images/v2/image-analysis \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'output_type=<string>' \
  --form 'training_data=<string>' \
  --form 'question=<string>' \
  --form 'randomness=<string>' \
  --form 'stream_data=<string>'
{
  "data": "This image depicts a serene and romantic scene of two people sitting together watching a sunset. The silhouettes of a boy and a girl are shown from behind, sitting in tall grass or wheat fields. They appear to be gazing at a beautiful orange and pink sky as the sun sets on the horizon.\n\nThe artwork has a soft, dreamlike quality with pastel colors and a warm glow. Fluffy clouds frame the sky, and there are small white dots that could represent stars or fireflies beginning to appear. In the top left corner, there are some small red heart shapes, adding to the romantic atmosphere.\n\nThe overall mood of the image is peaceful and intimate, suggesting a quiet moment shared between two people enjoying nature's beauty together. The style appears to be digital art or illustration, with a painterly quality that enhances the emotional impact of the scene.",
  "processing_time": 6240.1868269999995,
  "processing_id": "12935919-fd9f-47a2-8c53-57f231c6bf9a",
  "processing_count": 1
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
output_type
string
required
training_data
string
required
question
string
required
randomness
string
required
images
file
required
stream_data
string
required

Response

200
application/json
OK
data
string
required
processing_time
number
required
processing_id
string
required
processing_count
integer
required