{ "opencollection": "1.0.0", "info": { "name": "TwelveLabs Analyze Embed API", "version": "1.3" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Embed", "type": "folder" }, "items": [ { "info": { "name": "Create sync embeddings", "type": "http" }, "http": { "method": "POST", "url": "https://api.twelvelabs.io/v1.3/embed", "body": { "type": "multipart-form", "data": [ { "name": "model_name", "type": "text", "value": "" }, { "name": "text", "type": "text", "value": "" }, { "name": "image_url", "type": "text", "value": "" }, { "name": "image_file", "type": "text", "value": "" }, { "name": "audio_url", "type": "text", "value": "" }, { "name": "audio_file", "type": "text", "value": "" }, { "name": "video_url", "type": "text", "value": "" }, { "name": "video_file", "type": "text", "value": "" } ] } }, "docs": "Creates Marengo embeddings for text, image, audio, or short video in a single shared multimodal vector space. For longer audio/video, use the asynchronous embedding task endpoints." }, { "info": { "name": "List async embedding tasks", "type": "http" }, "http": { "method": "GET", "url": "https://api.twelvelabs.io/v1.3/embed/tasks", "params": [ { "name": "page", "value": "", "type": "query" }, { "name": "page_limit", "value": "", "type": "query" } ] }, "docs": "List async embedding tasks" }, { "info": { "name": "Create an async embedding task", "type": "http" }, "http": { "method": "POST", "url": "https://api.twelvelabs.io/v1.3/embed/tasks", "body": { "type": "multipart-form", "data": [ { "name": "model_name", "type": "text", "value": "" }, { "name": "video_url", "type": "text", "value": "" }, { "name": "video_file", "type": "text", "value": "" }, { "name": "video_embedding_scopes", "type": "text", "value": "" } ] } }, "docs": "Creates an asynchronous embedding task for longer audio and video (up to several hours). Results are stored for seven days." }, { "info": { "name": "Retrieve embedding task status and results", "type": "http" }, "http": { "method": "GET", "url": "https://api.twelvelabs.io/v1.3/embed/tasks/:task_id", "params": [ { "name": "task_id", "value": "", "type": "path", "description": "Unique identifier of the task." } ] }, "docs": "Retrieve embedding task status and results" } ] } ], "bundled": true }