This endpoint will be deprecated in a future version. Migrate to the Embed API v2 for continued support and access to new features.
This method creates embeddings for text, image, and audio content.
Ensure your media files meet the following requirements:
Parameters for embeddings:
model_name: The video understanding model you want to use. Example: “marengo3.0”.text: Text for which to create an embedding.image_url: Publicly accessible URL of your image file.image_file: Local image file.audio_url: Publicly accessible URL of your audio file.audio_file: Local audio file.The text for which you wish to create an embedding.
Example: “Man with a dog crossing the street”
The publicly accessible URL of the image for which you wish to create an embedding. This parameter is required for image embeddings if image_file is not provided.
The image file for which you wish to create an embedding as a local file. This parameter is required for image embeddings if image_url is not provided.
The publicly accessible URL of the audio file for which you wish to creae an embedding. This parameter is required for audio embeddings if audio_file is not provided.
The audio file for which you wish to create an embedding as a local file. This parameter is required for audio embeddings if audio_url is not provided.
Specifies the start time, in seconds, from which the platform generates the audio embeddings. This parameter allows you to skip the initial portion of the audio during processing.
Default: 0.
Your API key.
You can find your API key on the API Keys page.
The name of the model you want to use. The following models are available:
marengo3.0: Enhanced model with sports intelligence and extended content support.