This service allows you to upload images and receive detailed descriptions using AI.
To use this service, simply send a POST request with your image encoded in Base64.
{
"image": "Base64EncodedImageDataHere"
}
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "The image depicts a man sitting in a chair, with his right hand raised in a peace sign and his left hand resting on the arm of the chair. He is wearing a black long-sleeved shirt and dark pants, and has short, dark hair. The background of the image features a wall covered in raised, round dots, which are evenly spaced and appear to be made of a textured material."
}
}
],
"created": 1744185468,
"id": "chatcmpl-0c5f8c21-5efd-435f-8666-9af7c2597cf4",
"model": "Meta-Llama-3-2-90B-Vision-Instruct",
"object": "chat.completion",
"usage": {
"completion_tokens": 281,
"prompt_tokens": 6437,
"total_tokens": 6718
}
}
The server will send your image data to AB AI META, which will process it and return a description of the contents of the image.
If you forget to send the image data, you'll receive an error message like:
{
"error": "Missing image data in request."
}