Authorization: Bearer ********************{
"model": "jina-clip-v1",
"embedding_type": "float",
"input": [
{"text": "A blue cat"},
{"text": "A red dog"},
{"text": "btw to represent image u can either use URL or encode image into base64 like below."},
{"image": "https://i.pinimg.com/600x315/21/48/7e/21487e8e0970dd366dafaed6ab25d8d8.jpg"},
{"image": "R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7"}
]
}curl --location --request POST 'https://api.302.ai/jina/v1/embeddings' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "jina-clip-v1",
"embedding_type": "float",
"input": [
{"text": "A blue cat"},
{"text": "A red dog"},
{"text": "btw to represent image u can either use URL or encode image into base64 like below."},
{"image": "https://i.pinimg.com/600x315/21/48/7e/21487e8e0970dd366dafaed6ab25d8d8.jpg"},
{"image": "R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7"}
]
}'{
"model": "jina-clip-v1",
"object": "list",
"usage": {
"total_tokens": 5033,
"prompt_tokens": 5033
},
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [
-0.00817871,
0.00402832,
-0.0378418,
-0.012146,
-0.06738281,
0.00680542,
-0.04638672,
-0.02697754,
0.07470703,
0.00137329,
-0.00805664,
0.04223633,
0.06835938,
0.00479126,
0.07519531,
-0.05712891,
0.03515625,
0.0559082,
0.04882812,
0.04077148,
-0.08300781,
-0.00201416,
-0.00994873,
-0.03173828,
-0.02978516,
-0.03222656,
-0.02111816,
0.00415039,
0.01855469,
0.00099182,
0.00244141,
0.04541016,
-0.0018692,
-0.03491211,
-0.03063965,
-0.07421875,
-0.01068115,
0.00312805,
0.00714111,
0.00151062,
-0.03222656,
-0.04150391,
0.02111816,
0.01818848,
-0.04199219,
0.06225586,
0.02246094,
0.01721191,
-0.02563477,
-0.03735352,
-0.03198242,
-0.01696777,
-0.08789062,
-0.03295898,
-0.03417969,
0.03491211,
-0.00909424,
0.01843262,
0.01708984,
0.02038574,
-0.00656128,
0.00787354,
0.05566406,
0.01867676,
0.01208496,
0.03369141,
-0.04760742,
-0.00933838,
-0.01306152,
-0.02819824,
0.02197266,
0.01495361,
-0.03295898,
0.03173828,
-0.01831055,
0.01782227,
0.05664062,
-0.05688477,
-0.00540161,
-0.04980469,
-0.03027344,
0.02026367,
0.00005817,
0.0378418,
0.00172424,
-0.03198242,
0.03588867,
0.04223633,
0.01409912,
0.04638672,
0.02111816,
0.05664062,
-0.03735352,
-0.05541992,
0.05151367,
0.03222656,
0.02404785,
-0.02404785,
0.0390625,
0.07666016,
-0.01660156,
0.04882812,
0.00643921,
0.00436401,
-0.01220703,
0.05688477,
0.01867676,
0.01000977,
-0.03979492,
-0.03112793,
0.01940918,
0.03295898,
-0.04638672,
0.07861328,
0.00735474,
0.01452637,
-0.02429199,
0.00144196,
-0.03930664,
0.09472656,
0.08642578,
0.03027344,
-0.01464844,
-0.02380371,
0.02429199,
0.00491333,
-0.01831055,
0.00165558,
0.00084305,
0.02380371,
-0.03039551,
-0.06835938,
-0.01379395,
-0.05371094,
0.0111084,
-0.05371094,
0.07666016,
-0.01293945,
0.03466797,
-0.01446533,
-0.05175781,
0.0234375,
-0.003479,
-0.0291748,
0.02941895,
-0.03173828,
-0.01855469,
-0.0016098,
-0.02758789,
-0.04199219,
-0.03149414,
-0.01318359,
0.05883789,
0.00610352,
0.05712891,
-0.00787354,
-0.00640869,
-0.05859375,
-0.04614258,
-0.01385498,
-0.03588867,