POST
/
v1
/
image-zero-shot
curl -X POST https://api.woolball.xyz/v1/image-zero-shot \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -F "image=@image.jpg" \
  -F "labels=day" \
  -F "labels=night"
{
  "data": "day"
}
Classify images into custom categories without prior training.

Body

image
string
required
Image file to classify
labels
array
required
List of possible labels for classification

Response

data
string
The classification 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/image-zero-shot \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -F "image=@image.jpg" \
  -F "labels=day" \
  -F "labels=night"
{
  "data": "day"
}