curl --request POST \
--url https://{subdomain}.domo.com/api/ai/v1/embedding/image \
--header 'Content-Type: application/json' \
--header 'X-DOMO-Developer-Token: <api-key>' \
--data '
{
"image": {
"data": "<base64 string>",
"type": "base64",
"mediaType": "image/png"
}
}
'{
"embeddings": [
[
0.1,
0.2,
0.3,
0.4,
0.5
]
],
"modelId": "domo.domo_ai.domo-embed-text-multilingual-v1:cohere"
}"<string>"Image Embeddings
Generate image embeddings based on the given image input.
POST
/
api
/
ai
/
v1
/
embedding
/
image
curl --request POST \
--url https://{subdomain}.domo.com/api/ai/v1/embedding/image \
--header 'Content-Type: application/json' \
--header 'X-DOMO-Developer-Token: <api-key>' \
--data '
{
"image": {
"data": "<base64 string>",
"type": "base64",
"mediaType": "image/png"
}
}
'{
"embeddings": [
[
0.1,
0.2,
0.3,
0.4,
0.5
]
],
"modelId": "domo.domo_ai.domo-embed-text-multilingual-v1:cohere"
}"<string>"Authorizations
Body
application/json
Image Embedding AI Service request.
Text Embedding AI Service Request.
The input images to embed.
Show child attributes
Show child attributes
The ID of the model to use for Image Embedding. The specified model must be configured for the Image Embedding AI Service by an Admin.
Additional model-specific configuration parameter key-value pairs.
Show child attributes
Show child attributes