v3
latestOpenAPI 3.1.02026-07-3197486526.1 KBembed > v2
Create sync embeddings
This endpoint synchronously creates embeddings for multimodal content and returns the results immediately in the response.
When to use this endpoint:
- Create embeddings for text, images, audio, or video content
- Retrieve immediate results without waiting for background processing
- Process audio or video content up to 10 minutes in duration
Do not use this endpoint for:
- Audio or video content longer than 10 minutes. Use the POST method of the /embed-v2/tasks endpoint instead.
Images:
- Formats: JPEG, PNG
- Minimum size: 128x128 pixels
- Maximum file size: 32 MB
Audio and video:
- Maximum duration: 10 minutes
- Maximum file size for base64 encoded strings: 36 MB
- Audio formats: WAV (uncompressed), MP3 (lossy), FLAC (lossless)
- Video formats: FFmpeg supported formats
- Video resolution: 360x360 to 5184x2160 pixels
- Aspect ratio: Between 1:1 and 1:2.4, or between 2.4:1 and 1:1 </Accordion>
post/embed-v2
Headers
x-api-keystring required
Your API key.
<Note title="Note"> You can find your API key on the <a href="https://playground.twelvelabs.io/dashboard/api-keys" target="_blank">API Keys</a> page. </Note>Request body
Response
Successful request; normal operation