Generate vector embeddings for videos using multimodal models
| Field | Type | Required | Description |
|---|---|---|---|
| asset_id | string | Yes | Video asset ID from a previous upload |
| model | string | Yes | Embedding model name |
multimodalembedding@001 - Google’s multimodal embedding model supporting video| 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 representing the entire video |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
/upload endpoint to obtain an asset_idEmbedding 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