/embedding API #469
Unanswered
hari-Guptha12
asked this question in
Q&A
Replies: 1 comment
-
Try this: curl -X POST "https://api.example.com/clip/embedding" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "clip_model_name",
"image_data": {
"data": "data:image/jpeg;base64,YOUR_BASE64_IMAGE_STRING",
"id": "image_123"
}
}' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can anyone provide a sample cURL request to obtain the image embedding generated by CLIP? I have tried this:
Beta Was this translation helpful? Give feedback.
All reactions