GetcaptionV2
Image annotations - Get caption
POST
This endpoint receives an image in base64 format and returns a description of the image in the following format:
- Long description of the image: ['long_description']
- Short description of the image: ['short_description']
- Objects present in the image: ['objects_present']
- List of main colors visible in the image: ['colors']
- Mood of the image: ['mood']
The response is in a JSON dictionary format as shown below:
{"data": {"long_description": "...","short_description": "...","objects_present": "...","colors": "...","mood": "..."}}token_auth_2header
AuthorizationBearer <token>multipart/form-data- body
file?unknownurl?stringquestion?stringoptions?stringSuccess
application/json- response
image_id*stringdata?curl -X POST "https://example.com/api/getCaption/v2"{ "image_id": "string", "data": { "long_description": "string", "short_description": "string", "objects_present": "string", "colors": "string", "mood": "string" }}