Seedance 2.0 Fast API 연동
Rivya Public API v1에서 Seedance 2.0 Fast을 모델 ID seedance-2-fast, 지원 입력, 파라미터, Files API 규칙, 크레딧, 응답 예시와 함께 사용하세요.
seedance-2-fast
text, file
참조 모드에 필요
per_input_and_output_second · 480p_with_video=6.8 · 480p_without_video=11.7 · 720p_with_video=15 · 720p_without_video=24.8 · ⌈total⌉
비디오
METERED
20000 자
요청 계약
모델 ID는 최상위 수준에 보냅니다. 모델별 제어값은 params에 넣습니다.
| Key | 유형 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
| model | string | 예 | seedance-2-fast | seedance-2-fast을 API 모델 ID로 사용합니다. |
| prompt | string | 예 | - | 이 모델은 최대 20000자까지 사용할 수 있습니다. |
| params | object | 아니요 | - | 모델별 파라미터 객체입니다. 허용되는 키는 아래 행을 확인하세요. |
| client_request_id | string | 아니요 | - | 자체 시스템에서 요청을 추적하기 위한 선택적 클라이언트 ID입니다. |
모델 파라미터
| Key | 유형 | 필수 | 기본값 | 범위 | 옵션 | 설명 |
|---|---|---|---|---|---|---|
| seedance_scene | select | 아니요 | text | - | text, frames, reference | 실행할 Seedance 2 경로를 선택합니다: 순수 텍스트-투-비디오, 첫 프레임 / 첫-마지막 프레임 가이드, 또는 멀티모달 참조 생성. |
| resolution | select | 아니요 | 720p | - | 480p, 720p | 해상도 |
| aspect_ratio | select | 아니요 | 16:9 | - | 1:1, 4:3, 3:4, 16:9, 9:16, 21:9, adaptive | 화면비 |
| duration | number | 아니요 | 5 | min 4 / max 15 | - | 길이 |
| generate_audio | select | 아니요 | true | - | true, false | 오디오 생성 |
| return_last_frame | select | 아니요 | false | - | false, true | 최종 프레임을 스틸 이미지로 함께 반환합니다. 커버, 후속 실행, 이후 편집에 유용합니다. |
| web_search | select | 아니요 | false | - | false, true | 웹 검색 |
| nsfw_checker | select | 아니요 | false | - | false, true | NSFW 검사 |
업로드 정책
참조 파일을 먼저 업로드한 다음 반환된 URL과 durationToken을 params.referenceMediaItems 안에 넣으세요.
멀티모달 참조: Frames: 1–2 signed images. Reference: up to 9 JPEG/PNG/WebP/BMP/TIFF/GIF images under 30 MB each, 3 MP4/MOV videos of 2–15 seconds under 50 MB each, and 3 MP3/WAV audio clips of 2–15 seconds under 15 MB each. Video and audio each have a separate 15-second total limit.
15
image, video, audio
재생시간 검증이 필요한 경우 비디오 및 오디오 참조는 /api/v1/files의 durationToken을 포함해야 합니다.
| kind | 최대 크기 | MIME 유형 |
|---|---|---|
| image | 30 MB | image/jpeg, image/png, image/webp, image/bmp, image/gif, image/tiff |
| video | 50 MB | video/mp4, video/quicktime |
| audio | 15 MB | audio/mpeg, audio/wav, audio/x-wav |
최소 요청
{
"model": "seedance-2-fast",
"prompt": "A cinematic product reveal with smooth camera movement",
"params": {
"seedance_scene": "text",
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5,
"generate_audio": "true",
"return_last_frame": "false",
"web_search": "false",
"nsfw_checker": "false"
}
}참조 파일 요청
{
"model": "seedance-2-fast",
"prompt": "A cinematic product reveal with smooth camera movement",
"params": {
"seedance_scene": "reference",
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5,
"generate_audio": "true",
"return_last_frame": "false",
"web_search": "false",
"nsfw_checker": "false",
"seedance_reference_videos": [
{
"url": "https://cdn.example.com/reference-video.mp4",
"durationSeconds": 8,
"durationToken": "video_duration_token_from_files_api",
"sizeBytes": 8388608,
"mimeType": "video/mp4"
}
],
"videoMetadata": [
{
"url": "https://cdn.example.com/reference-video.mp4",
"token": "video_metadata_token_from_files_api",
"sizeBytes": 8388608
}
]
}
}생성 응답
생성 엔드포인트는 공개 작업 ID를 반환합니다. 작업이 성공하거나 실패할 때까지 상태 엔드포인트를 폴링하세요.
{
"id": "task_seedance_2_fast_example",
"status": "queued",
"model": "seedance-2-fast",
"reserved_credits": 124,
"final_credits": 0,
"settlement_status": "RESERVED",
"created_at": "2026-05-11T00:00:00.000Z",
"updated_at": "2026-05-11T00:00:00.000Z",
"result": null,
"error": null
}일반 오류
validation_failed, insufficient_credits, idempotency_conflict, rate_limited, not_found
일부 모드는 Files API 참조 업로드가 필요합니다.