Zero Shot Image Classification
Classify images into candidate labels using the clip-hugging-face-finetuned
model.
Authorizations
Provide your API key as Key your-key-here
in the Authorization
header.
Body
URL of the image.
"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"
Labels for classification.
["squid", "octopus", "human", "cat"]
Base64-encoded image data.
"/9j/4AAQSkZJRgABAQAAAQABAAD..."
URL of the image.
"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"
Labels for classification.
["squid", "octopus", "human", "cat"]
Base64-encoded image data.
"/9j/4AAQSkZJRgABAQAAAQABAAD..."
Base64-encoded image data.
"/9j/4AAQSkZJRgABAQAAAQABAAD..."
Labels for classification.
["squid", "octopus", "human", "cat"]
URL of the image.
"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"
Response
Classification results.