embed > tasks
Create a video embedding task
Changed onThis method creates a new video embedding task that uploads a video to the platform and creates one or multiple video embeddings.
<Note title="Note"> This endpoint is rate-limited. For details, see the [Rate limits](/v1.3/docs/get-started/rate-limits) page. </Note>Upload options:
- Local file: Use the video_file parameter
- Publicly accessible URL: Use the video_url parameter.
Specify at least one option. If both are provided, video_url takes precedence.
Your videos must meet the requirements. This endpoint allows you to upload files up to 2 GB in size. To upload larger files, use the Multipart Upload API
<Note title="Notes"> - The Marengo video understanding model generates embeddings for all modalities in the same latent space. This shared space enables any-to-any searches across different types of content. - Video embeddings are stored for seven days. </Note>post/embed/tasks
Request
- Base URL: https://api.twelvelabs.io/v1.3
- URL: https://api.twelvelabs.io/v1.3/embed/tasks
- Auth: API key in header x-api-key
Request body multipart/form-data
Response
A video embedding task has successfully been created.
Changes
- warning
deleted the
headerrequest parameterx-api-key - info
the endpoint scheme security
x-api-keywas added to the API
- warning
- info
api operation id
createremoved and replaced withembed_tasks_create
- info