POST
/
v1
/
vision
curl -X POST https://api.woolball.xyz/v1/vision \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -F "image=@image.jpg" \
  -F "text=What is in this image?"
{
  "data": "The image shows a cat sleeping on a windowsill"
}
Process and analyze images using computer vision models.

Body

image
string
required
Image file to analyze
text
string
required
Text prompt or question about the image

Response

data
string
The analysis result

Status Codes

200
object
OK - Successful request
400
object
Bad Request - Validation error occurred
401
object
Unauthorized - Authentication failed
402
object
Payment Required
curl -X POST https://api.woolball.xyz/v1/vision \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -F "image=@image.jpg" \
  -F "text=What is in this image?"
{
  "data": "The image shows a cat sleeping on a windowsill"
}