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.

Note

This API only supports Marengo version 3.0 or newer.

Choose a method

  • For text, images, or audio/video under 10 minutes use the embed.v_2.create method. This method returns embeddings immediately in the response.
  • For audio and video up to 4 hours, use the embed.v_2.tasks.create method. This method creates embeddings asynchronously