Describe image

/api/v1/ai/Describe – Answer Questions or Describe an Image

Description: Answer questions or describe an image provided in base64 or via a URL.

Method: POST

Parameters:

  • question: (string) – The question or task related to the image.

  • base64Image: (string) – The base64-encoded image. (optional)

  • imageUrl: (string) – The URL of the image. (optional)

  • responseFormat: (string) – The format of the response (e.g., text, json).

Notes:

  • Either base64Image or imageUrl must be provided, but not both.

Request Example:

curl -X POST https://production.cloudbrowser.ai/api/v1/ai/Describe \
-H "Content-Type: application/json" \
-d '{
  "question": "What objects are in this image?",
  "imageUrl": "https://example.com/image.jpg",
  "responseFormat": "text"
}'

Last updated