Cover

개발자 허브

TwelveLabs를 통합하기 위한 가이드와 예제를 탐색하세요.

시맨틱 검색, 이상 탐지, 콘텐츠 추천 및 맞춤형 기능을 쉽게 구축할 수 있습니다. 우리 API는 당신의 비디오가 가진 잠재력을 최대한 발휘할 수 있도록 해줍니다.

Try our API.

Analyze
Embed
Search

Get your API keys from the dashboard page and ensure the TwelveLabs SDK is installed on your computer:

PYTHON
NODE

$

pip install twelvelabs

You can copy and paste the code below to analyze videos and generate text based on their content. Replace the placeholders surrounded by <> with your values.

PYTHON
NODE

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

from twelvelabs import TwelveLabs

from twelvelabs.indexes import IndexesCreateRequestModelsItem

from twelvelabs.tasks import TasksRetrieveResponse

 

client = TwelveLabs(api_key="<YOUR_API_KEY>")

 

index = client.indexes.create(

index_name="<YOUR_INDEX_NAME>",

models=[

IndexesCreateRequestModelsItem(

model_name="pegasus1.2", model_options=["visual", "audio"]

)

]

)

print(f"Created index: id={index.id}")

 

task = client.tasks.create(

index_id=index.id, video_url="<YOUR_VIDEO_URL>")

print(f"Created task: id={task.id}")

 

def on_task_update(task: TasksRetrieveResponse):

print(f" Status={task.status}")

 

task = client.tasks.wait_for_done(task_id=task.id, callback=on_task_update)

if task.status != "ready":

raise RuntimeError(f"Indexing failed with status {task.status}")

print(

f"Upload complete. The unique identifier of your video is {task.video_id}.")

 

text_stream = client.analyze_stream(video_id=task.video_id, prompt="<YOUR_PROMPT>")

for text in text_stream:

if text.event_type == "text_generation":

print(text.text)

샘플 앱으로 바로 시작해보세요...

TwelveLabs가 제공하는 완전한 기능의 샘플 애플리케이션을 실험해보며 무엇을 할 수 있는지 확인해보세요.

TwelveLabs가 제공하는 완전한 기능의 샘플 애플리케이션을 실험해보며 무엇을 할 수 있는지 확인해보세요.

Python

누가 우리에 대해 이야기했나요

플랫폼의 시맨틱 검색 기능을 활용하여 가장 적합한 인플루언서를 찾아보세요.

Node

SNS 영상 포스트 생성기

각 소셜 미디어 플랫폼에 대한 독창적인 게시물을 생성하여 크로스 플랫폼 비디오 프로모션 워크플로를 간소화하세요.

Python

색상 탐지 어플리케이션

이 애플리케이션은 비디오에서 색조를 찾기 위해 이미지-비디오 검색 기능을 사용합니다.

샘플 앱으로 바로 시작하세요...

TwelveLabs가 제공하는 완전한 기능의 샘플 애플리케이션을 실험해보며 무엇을 할 수 있는지 확인해보세요.

Python

누가 우리에 대해 이야기했나요

플랫폼의 시맨틱 검색 기능을 활용하여 가장 적합한 인플루언서를 찾아보세요.

Node

SNS 영상 포스트 생성기

각 소셜 미디어 플랫폼에 대한 독창적인 게시물을 생성하여 크로스 플랫폼 비디오 프로모션 워크플로를 간소화하세요.

Python

색상 탐지 어플리케이션

이 애플리케이션은 비디오에서 색조를 찾기 위해 이미지-비디오 검색 기능을 사용합니다.

우리의 모델 라인업입니다.

Learn more about TwelveLabs’ world-leading video foundation models.

트웰브랩스는 사람처럼 이해하는 영상 중심 AI를 만듭니다.
기계와 기술이 세상을 이해할 수 있게 만들고,
사람이 더 쉽게 영상 속 이야기를 찾고, 담고, 전할 수 있도록 돕습니다.

Cover image
Logo animated

Marengo

프레임, 시간 흐름, 음성, 소리를 통합적으로 분석하는
트웰브랩스의 대표 비디오 파운데이션 모델.
검색 및 교차 모달 검색(any-to-any retrieval)을 위한
새로운 기준을 제시합니다.

Cover
Logo animated

Pegasus

영상 중심으로 설계된 강력한 언어 모델. 영상·음성·오디오 정보를 통합 분석해 자연스러운 텍스트를 생성합니다.

지원 및 안내

연락처

Have a question? Get in touch with a member of the TwelveLabs team for help.

커뮤니티

Connect with the TwelveLabs community for ideas, tips, and knowledge sharing.

지원 및 안내

연락처

Have a question? Get in touch with a member of the TwelveLabs team for help.

커뮤니티

Connect with the TwelveLabs community for ideas, tips, and knowledge sharing.