빠른 시작 가이드
5분 이내에 AI 비디오 생성을 시작할 수 있습니다.
사전 준비 사항
- EvoLink 계정 (무료 가입)
- API 키 관리 페이지에서 발급받은 API 키
- HTTP 요청을 보낼 수 있는 도구 (cURL, Python, Node.js 등)
기본 URL
https://api.evolink.ai
1단계: API 키 발급
EvoLink에 가입한 후 API 키 관리 페이지로 이동하세요. API 키를 즉시 사용할 수 있습니다.
export EVOLINK_API_KEY="your-api-key-here"
2단계: 첫 번째 요청 보내기
텍스트 프롬프트로 비디오를 생성하기 위해 POST 요청을 보냅니다:
import requests
response = requests.post(
"https://api.evolink.ai/v1/videos/generations",
headers={
"Authorization": f"Bearer {EVOLINK_API_KEY}",
"Content-Type": "application/json"
},
json={
"model": "seedance-2.0",
"prompt": "A golden retriever running through a sunlit meadow, cinematic slow motion",
"duration": 5,
"quality": "720p"
}
)
task = response.json()
print(f"Task ID: {task['id']}")
print(f"Status: {task['status']}")
응답
{
"id": "task-unified-1761313744-vux2jw0k",
"object": "video.generation.task",
"created": 1761313744,
"model": "seedance-2.0",
"status": "pending",
"progress": 0,
"type": "video",
"task_info": {
"can_cancel": true,
"estimated_time": 165,
"video_duration": 5
},
"usage": {
"billing_rule": "per_call",
"credits_reserved": 8,
"user_group": "default"
}
}
3단계: 비디오 가져오기
비디오가 준비될 때까지 작업 상태 엔드포인트를 폴링합니다:
import time
task_id = task["id"]
while True:
status = requests.get(
f"https://api.evolink.ai/v1/tasks/{task_id}",
headers={"Authorization": f"Bearer {EVOLINK_API_KEY}"}
)
result = status.json()
if result["status"] == "completed":
print(f"Video URL: {result['results'][0]}")
break
elif result["status"] == "failed":
print("Generation failed")
break
print(f"Progress: {result['progress']}%")
time.sleep(5)
참고: 생성된 비디오 링크는 24시간 동안 유효합니다. 즉시 다운로드하여 저장해 주세요.
다음 단계
- 인증 — Bearer 토큰 인증에 대해 알아보기
- 비디오 생성 API — 전체 파라미터 레퍼런스
- 멀티모달 레퍼런스 — @tag 참조로 생성 제어하기
- 웹훅 —
callback_url을 통해 비디오 완료 알림 받기