Classify images into categories not seen during training for applications like novel object recognition, transfer learning, and few-shot learning
Set Authorization header to BYTEZ_KEY
'Authorization: YOUR_BYTEZ_KEY_HERE'
Schema for zero-shot-image-classification models
"https://ocean.si.edu/sites/default/files/styles/3_2_largest/public/2023-11/Screen_Shot_2018-04-16_at_1_42_56_PM.png.webp?itok=Icvi-ek9"
["octopus", "cat", "lizard"]"data:image/webp;base64,...BASE_64_GOES_HERE (Only use this is you are not using a url)"
Successful zero-shot-image-classification response.
Null on success; otherwise an error message.
Successful response with image-classification scores and labels
[
{
"score": 0.3334539234638214,
"label": "cat"
},
{
"score": 0.3332984447479248,
"label": "octopus"
},
{
"score": 0.3332476019859314,
"label": "lizard"
}
]