curl --request POST \
--url https://api.evolink.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2.0-mini-text-to-video",
"prompt": "A macro lens focuses on a green glass frog on a leaf. The focus gradually shifts from its smooth skin to its completely transparent abdomen, where a bright red heart is beating powerfully and rhythmically.",
"duration": 8,
"quality": "720p",
"aspect_ratio": "16:9",
"generate_audio": true,
"content_filter": true
}
'{
"created": 1761313744,
"id": "task-unified-1774857405-abc123",
"model": "seedance-2.0-mini-text-to-video",
"object": "video.generation.task",
"progress": 0,
"status": "pending",
"task_info": {
"can_cancel": true,
"estimated_time": 165,
"video_duration": 8
},
"type": "video",
"usage": {
"billing_rule": "per_second",
"credits_reserved": 50,
"user_group": "default"
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or expired token",
"type": "authentication_error"
}
}{
"error": {
"code": "insufficient_quota",
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota"
}
}{
"error": {
"code": "model_access_denied",
"message": "Token does not have access to model: seedance-2.0-mini-text-to-video",
"type": "invalid_request_error"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests, please try again later",
"type": "rate_limit_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"type": "api_error"
}
}Seedance 2.0 Mini 전체 파라미터 가이드
Seedance 2.0 Mini 통합 파라미터 문서입니다. model로 이 폴더의 모델을 선택합니다. 필수 필드, 입력 조건, 요금 규칙은 모드별로 설명합니다.
| 모델 ID | 모드 | 필수 필드(model 제외) |
|---|---|---|
seedance-2.0-mini-text-to-video | Text-to-Video | prompt |
seedance-2.0-mini-image-to-video | Image-to-Video | prompt, image_urls |
seedance-2.0-mini-reference-to-video | Reference-to-Video | prompt |
Text-to-Video
- 순수 텍스트 프롬프트로 비디오를 생성합니다
Image-to-Video
- 이미지 1장을 입력하면 첫 프레임 비디오를 생성하고, 이미지 2장을 입력하면 첫/끝 프레임 비디오를 생성하며, 모델이 자동으로 판단합니다
Reference-to-Video
-
참조 이미지(0
9장) + 참조 비디오(03개) + 참조 오디오(0~3개) + 텍스트 프롬프트로 비디오를 생성합니다 -
새로운 생성, 비디오 편집, 비디오 연장 등 다양한 창작 시나리오를 지원합니다
-
AIGC 유형 실사 소재 지원
-
비동기 처리 모드로, 반환된 작업 ID를 사용하여 조회하세요
-
생성된 비디오 링크는 24시간 동안 유효하며, 가능한 빨리 저장하세요
curl --request POST \
--url https://api.evolink.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2.0-mini-text-to-video",
"prompt": "A macro lens focuses on a green glass frog on a leaf. The focus gradually shifts from its smooth skin to its completely transparent abdomen, where a bright red heart is beating powerfully and rhythmically.",
"duration": 8,
"quality": "720p",
"aspect_ratio": "16:9",
"generate_audio": true,
"content_filter": true
}
'{
"created": 1761313744,
"id": "task-unified-1774857405-abc123",
"model": "seedance-2.0-mini-text-to-video",
"object": "video.generation.task",
"progress": 0,
"status": "pending",
"task_info": {
"can_cancel": true,
"estimated_time": 165,
"video_duration": 8
},
"type": "video",
"usage": {
"billing_rule": "per_second",
"credits_reserved": 50,
"user_group": "default"
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or expired token",
"type": "authentication_error"
}
}{
"error": {
"code": "insufficient_quota",
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota"
}
}{
"error": {
"code": "model_access_denied",
"message": "Token does not have access to model: seedance-2.0-mini-text-to-video",
"type": "invalid_request_error"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests, please try again later",
"type": "rate_limit_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"type": "api_error"
}
}인증
##모든 API는 Bearer Token 인증이 필요합니다##
API Key 얻기:
API Key 관리 페이지에서 API Key를 받으세요
요청 헤더에 다음을 추가하세요:
Authorization: Bearer YOUR_API_KEY
본문
이 페이지는 각 모드의 파라미터를 통합합니다. 필수 여부, 허용 값, 기본값은 선택한 model에 따라 달라지며 아래에 모드별 차이를 설명합니다.
비디오 생성 모델 이름
| 모델 ID | 모드 | 필수 필드(model 제외) |
|---|---|---|
seedance-2.0-mini-text-to-video | Text-to-Video | prompt |
seedance-2.0-mini-image-to-video | Image-to-Video | prompt, image_urls |
seedance-2.0-mini-reference-to-video | Reference-to-Video | prompt |
seedance-2.0-mini-text-to-video, seedance-2.0-mini-image-to-video, seedance-2.0-mini-reference-to-video "seedance-2.0-mini-text-to-video"
Text-to-Video
생성할 비디오를 설명하는 텍스트 프롬프트. 중국어와 영어를 지원하며, 중국어는 500자 이내, 영어는 1000단어 이내를 권장합니다. 프롬프트 최대 길이: 10000 tokens
주의:
- 이 모델은 순수 텍스트-비디오 모델로,
image_urls,video_urls,audio_urls입력을 지원하지 않습니다
Image-to-Video
생성할 비디오를 설명하는 텍스트 프롬프트. 중국어와 영어를 지원하며, 중국어는 500자 이내, 영어는 1000단어 이내를 권장합니다. 프롬프트 최대 길이: 10000 tokens
주의:
- 이 모델은
video_urls,audio_urls입력을 지원하지 않습니다
Reference-to-Video
생성할 비디오를 설명하는 텍스트 프롬프트. 중국어와 영어를 지원하며, 중국어는 500자 이내를 권장합니다. 프롬프트 최대 길이: 10000 tokens
설명:
- prompt에서 입력 소재를 참조할 때는 「이미지 1」, 「비디오 1」, 「오디오 1」과 같은 자연어 표현에만 의존하지 말고
@image1,@video1,@audio1과 같은 명시적 태그를 우선 사용하세요 - 태그 번호는 해당 URL 배열의 순서를 따르며 1부터 시작합니다.
image_urls의 첫 번째 항목은@image1,video_urls의 첫 번째 항목은@video1,audio_urls의 첫 번째 항목은@audio1입니다 - 자연어 번호도 인식될 수 있지만, 명시적 태그를 사용하면 각 소재와 용도를 더 명확하게 연결할 수 있습니다
"A macro lens focuses on a green glass frog on a leaf. The focus gradually shifts from its smooth skin to its completely transparent abdomen, where a bright red heart is beating powerfully and rhythmically."
지원 모드: Image-to-Video, Reference-to-Video
Image-to-Video
이미지 URL 배열, 1~2장
이미지 수량 및 동작:
| 이미지 수량 | 동작 | 역할 |
|---|---|---|
| 1장 | 첫 프레임 이미지-비디오 | 자동으로 first_frame 설정 |
| 2장 | 첫/끝 프레임 이미지-비디오 | 1번째 → first_frame, 2번째 → last_frame |
이미지 요구사항:
- 지원 형식:
.jpeg,.png,.webp - 화면 비율(너비/높이):
0.4~2.5 - 너비/높이 픽셀:
300~6000px - 단일 파일 크기:
30MB이하 - 요청 본문 총 크기
64MB이하 - 첫/끝 프레임 입력 시 두 이미지가 동일할 수 있습니다. 화면 비율이 다를 경우 첫 프레임을 기준으로 하며, 끝 프레임은 자동으로 크롭하여 맞춥니다
- 이미지 URL은 서버에서 직접 접근 가능해야 합니다
Reference-to-Video
참조 이미지 URL 배열, 0~9장
역할 설명:
| 미디어 유형 | 역할 | 일반적인 용도 |
|---|---|---|
| 이미지 | reference_image | 스타일 참조, 제품 이미지, 첫/끝 프레임(prompt로 지정) |
이미지 요구사항:
- 지원 형식:
.jpeg,.png,.webp - 화면 비율(너비/높이):
0.4~2.5 - 너비/높이 픽셀:
300~6000px - 단일 파일 크기:
30MB이하 - 요청 본문 총 크기
64MB이하, Base64 인코딩을 사용하지 마세요 - 이미지 URL은 서버에서 직접 접근 가능해야 합니다
주의: audio_urls만 단독으로 전달할 수 없으며, 최소 1장의 이미지(image_urls) 또는 1개의 비디오(video_urls)가 포함되어야 합니다
9["https://example.com/first-frame.jpg"]
지원 모드: Reference-to-Video
참조 비디오 URL 배열, 0~3개
역할 설명:
| 미디어 유형 | 역할 | 일반적인 용도 |
|---|---|---|
| 비디오 | reference_video | 카메라 워크 참조, 동작 참조, 편집/연장할 원본 비디오 |
비디오 요구사항:
- 지원 형식:
.mp4,.mov - 해상도: 480p, 720p, 1080p
- 단일 비디오 길이:
2~15초, 최대 3개, 모든 비디오 총 길이 <=15초 - 화면 비율(너비/높이):
0.4~2.5 - 너비/높이 픽셀:
300~6000px - 화면 픽셀(너비 x 높이):
409,600~2,086,876(예: 640x640 ~ 2206x946) - 단일 파일 크기:
50MB이하 - 프레임 레이트:
24~60FPS - 요청 본문 총 크기
64MB이하, Base64 인코딩을 사용하지 마세요 - 비디오 참조 사용 시 추가 비용이 발생합니다(입력 비디오 길이가 과금에 포함)
- 비디오 URL은 서버에서 직접 접근 가능해야 합니다
주의: audio_urls만 단독으로 전달할 수 없으며, 최소 1장의 이미지(image_urls) 또는 1개의 비디오(video_urls)가 포함되어야 합니다
3["https://example.com/reference.mp4"]
지원 모드: Reference-to-Video
참조 오디오 URL 배열, 0~3개
역할 설명:
| 미디어 유형 | 역할 | 일반적인 용도 |
|---|---|---|
| 오디오 | reference_audio | 배경 음악, 효과음, 음성/대사 참조 |
오디오 요구사항:
- 지원 형식:
.wav,.mp3 - 단일 오디오 길이:
2~15초, 최대 3개, 모든 오디오 총 길이 <=15초 - 단일 파일 크기:
15MB이하 - 요청 본문 총 크기
64MB이하, Base64 인코딩을 사용하지 마세요 - 오디오 URL은 서버에서 직접 접근 가능해야 합니다
주의: 오디오만 단독으로 입력할 수 없으며, 최소 1개의 참조 비디오 또는 이미지가 포함되어야 합니다
3["https://example.com/bgm.mp3"]
Text-to-Video
비디오 화면 비율, 기본값은 adaptive
선택 가능한 값:
16:9(가로),9:16(세로),1:1(정사각형),4:3,3:4,21:9(울트라와이드)adaptive: 모델이 프롬프트에 따라 최적의 화면 비율을 자동 선택
각 해상도별 픽셀 값:
| 화면 비율 | 480p | 720p |
|---|---|---|
| 16:9 | 864×496 | 1280×720 |
| 4:3 | 752×560 | 1112×834 |
| 1:1 | 640×640 | 960×960 |
| 3:4 | 560×752 | 834×1112 |
| 9:16 | 496×864 | 720×1280 |
| 21:9 | 992×432 | 1470×630 |
Image-to-Video
비디오 화면 비율, 기본값은 adaptive
선택 가능한 값:
16:9(가로),9:16(세로),1:1(정사각형),4:3,3:4,21:9(울트라와이드)adaptive: 첫 프레임 이미지 비율에 따라 가장 가까운 화면 비율을 자동 선택
각 해상도별 픽셀 값:
| 화면 비율 | 480p | 720p |
|---|---|---|
| 16:9 | 864×496 | 1280×720 |
| 4:3 | 752×560 | 1112×834 |
| 1:1 | 640×640 | 960×960 |
| 3:4 | 560×752 | 834×1112 |
| 9:16 | 496×864 | 720×1280 |
| 21:9 | 992×432 | 1470×630 |
Reference-to-Video
비디오 화면 비율, 기본값은 adaptive
선택 가능한 값:
16:9(가로),9:16(세로),1:1(정사각형),4:3,3:4,21:9(울트라와이드)adaptive: 프롬프트 의도에 따라 판단, 우선순위: 비디오 > 이미지 > 프롬프트
각 해상도별 픽셀 값:
| 화면 비율 | 480p | 720p |
|---|---|---|
| 16:9 | 864×496 | 1280×720 |
| 4:3 | 752×560 | 1112×834 |
| 1:1 | 640×640 | 960×960 |
| 3:4 | 560×752 | 834×1112 |
| 9:16 | 496×864 | 720×1280 |
| 21:9 | 992×432 | 1470×630 |
16:9, 9:16, 1:1, 4:3, 3:4, 21:9, adaptive "16:9"
Text-to-Video
동기화된 오디오 생성 여부, 기본값은 true
선택 가능한 값:
true: 비디오에 동기화된 오디오(음성, 효과음, 배경 음악)가 포함되며, 추가 요금이 없습니다. 오디오 생성 효과를 최적화하려면 대화 부분을 큰따옴표로 감싸는 것을 권장합니다false: 무음 비디오 출력
Image-to-Video / Reference-to-Video
동기화된 오디오 생성 여부, 기본값은 true
선택 가능한 값:
true: 비디오에 동기화된 오디오가 포함되며, 추가 요금이 없습니다false: 무음 비디오 출력
true
콘텐츠 필터, 기본값은 true
선택 가능한 값:
true: 표준 콘텐츠 안전 검사, 기본값입니다false: 콘텐츠 제한을 완화하며 +10%(1.1x)가 청구됩니다. 불법 및 금지된 콘텐츠는 이 설정과 관계없이 항상 적용됩니다
웹 검색과 함께 사용할 수 없음:
content_filter: false와model_params.web_search: true는 동시에 사용할 수 없으며, 함께 전달하면 400 파라미터 오류가 반환됩니다- 웹 검색이 필요한 경우
content_filter: true(기본값)를 유지하세요
true
작업 완료 후 HTTPS 콜백 주소
콜백 시점:
- 작업 완료(completed), 실패(failed) 또는 취소(cancelled) 시 트리거
- 과금 확인 완료 후 전송
보안 제한:
- HTTPS 프로토콜만 지원
- 내부 네트워크 IP 주소로의 콜백 금지(127.0.0.1, 10.x.x.x, 172.16-31.x.x, 192.168.x.x 등)
- URL 길이는
2048자를 초과할 수 없습니다
콜백 메커니즘:
- 타임아웃:
10초 - 실패 시 최대
3회 재시도(실패 후 각각1/2/4초 후 재시도) - 콜백 응답 본문 형식은 작업 조회 API 반환 형식과 동일
- 2xx 상태 코드를 성공으로 간주하며, 다른 상태 코드는 재시도를 트리거합니다
"https://your-domain.com/webhooks/video-task-completed"
응답
비디오 생성 작업이 성공적으로 생성되었습니다