Create embeddings v2
Use the Embed API v2 to create embeddings for text, images, audio, and video content. Embeddings are vector representations that enable semantic search and content understanding.
Choose an endpoint
- For text, images, or audio/video under 10 minutes use the
POSTmethod of the/embed-v2endpoint. - For audio and video up to 4 hours, use the
POSTmethod of the/embed-v2/tasksendpoint.
Retention policy
Embeddings created through the async endpoints (/embed-v2/tasks) are stored for seven days. After this period, you must recreate the embedding task to obtain the results again.