CLIP
Use OpenAI's CLIP model through our Serverless Hosted API
Code sample
curl --location 'https://serverless.roboflow.com/clip/compare' \
--header 'Content-Type: application/json' \
--data '{
"api_key": "YOUR_API_KEY",
"subject": {"type": "url", "value": "https://media.roboflow.com/notebooks/examples/dog.jpeg"},
"subject_type": "image",
"prompt": ["a photo of a dog", "a photo of a cat", "a photo of a car"],
"prompt_type": "text"
}'Last updated
Was this helpful?