Generate vector embeddings for images using multimodal models
| Field | Type | Required | Description |
|---|---|---|---|
| file | file | Yes | Image file to upload (JPEG, PNG, GIF, WebP, etc.) |
| model | string | Yes | Embedding model name |
| Field | Type | Required | Description |
|---|---|---|---|
| asset_id | string | Yes | Existing image asset ID from a previous upload |
| model | string | Yes | Embedding model name |
multimodalembedding@001 - Google’s multimodal embedding modelmobileclip - Efficient mobile-optimized CLIP model| Parameter | Type | Description |
|---|---|---|
| code | string | Response code indicating the result status (“0000” indicates success) |
| msg | string | Response message describing the operation result |
| data | object | Response data object containing the embedding |
| data.embedding | array[number] | Vector embedding array (dimensionality depends on the model) |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
/upload endpointEmbedding generated successfully
Response code indicating the result status
"0000"
Response message describing the operation result
"success"
Response data object containing the embedding
Indicates whether the operation was successful
true
Indicates whether the operation failed
false