Search
필요한 순간을 정확히 찾아내세요.
놓치는 장면 없이, 모든 영상을 빠르고 깊이 있게 이해합니다.
태그를 넘어, 멀티모달 AI의 새로운 차원을 경험해보세요.
Python
Node.js
1import requests
2
3# Step 2: Define the API URL and the specific endpoint
4API_URL = "https://api.twelvelabs.io/v1.3"
5INDEXES_URL = f"{API_URL}/indexes"
6
7# Step 3: Create the necessary headers for authentication
8headers = {
9 "x-api-key": "<YOUR_API_KEY>"
10}
11
12# Step 4: Prepare the data payload for your API request
13INDEX_NAME = "<YOUR_INDEX_NAME>"
14data = {
15 "models": [
16 {
17 "model_name": "marengo3.0",
18 "model_options": ["visual", "audio"]
19 }
20 ]
21}










