curl --request POST \
--url https://api.octen.ai/vl-embedding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "octen-vl-embedding",
"input": {
"contents": [
{
"text": "What is multimodal vector search?"
}
]
}
}
'{
"code": 0,
"msg": "success",
"request_id": "a7b8c9d0-e1f2-3456-abcd-789012345678",
"data": {
"results": [
{
"index": 0,
"embedding": [
0.0156,
-0.0298,
0.0411
],
"type": "fusion"
}
],
"model": "octen-vl-embedding-large"
},
"meta": {
"usage": {
"input_tokens": 6814,
"text_tokens": 18,
"image_tokens": 6796,
"image_count": 2,
"duration": 22
},
"warning": ""
}
}APIs
VL Embedding API Reference
Converts multimodal input (text, images, and videos) into vector representations. Supports a single fused vector across modalities, independent per-element vectors, configurable output dimensions, video frame sampling control, and a custom task instruction.
POST
/
vl-embedding
curl --request POST \
--url https://api.octen.ai/vl-embedding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "octen-vl-embedding",
"input": {
"contents": [
{
"text": "What is multimodal vector search?"
}
]
}
}
'{
"code": 0,
"msg": "success",
"request_id": "a7b8c9d0-e1f2-3456-abcd-789012345678",
"data": {
"results": [
{
"index": 0,
"embedding": [
0.0156,
-0.0298,
0.0411
],
"type": "fusion"
}
],
"model": "octen-vl-embedding-large"
},
"meta": {
"usage": {
"input_tokens": 6814,
"text_tokens": 18,
"image_tokens": 6796,
"image_count": 2,
"duration": 22
},
"warning": ""
}
}Authorizations
bearerAuthapiKeyAuth
Body
application/json
Response
Successful VL embedding response
Was this page helpful?