Rivya AI 문서
모델 API 페이지

Seedance 2.0 Fast API 연동

Rivya Public API v1에서 Seedance 2.0 Fast을 모델 ID seedance-2-fast, 지원 입력, 파라미터, Files API 규칙, 크레딧, 응답 예시와 함께 사용하세요.

API로 사용 가능텍스트 또는 URL 준비됨; 참조 모드는 Files API 사용비디오
API 모델 ID

seedance-2-fast

입력

text, file

Files API

참조 모드에 필요

기본 크레딧

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유형필수기본값설명
modelstringseedance-2-fastseedance-2-fast을 API 모델 ID로 사용합니다.
promptstring-이 모델은 최대 20000자까지 사용할 수 있습니다.
paramsobject아니요-모델별 파라미터 객체입니다. 허용되는 키는 아래 행을 확인하세요.
client_request_idstring아니요-자체 시스템에서 요청을 추적하기 위한 선택적 클라이언트 ID입니다.

모델 파라미터

Key유형필수기본값범위옵션설명
seedance_sceneselect아니요text-text, frames, reference실행할 Seedance 2 경로를 선택합니다: 순수 텍스트-투-비디오, 첫 프레임 / 첫-마지막 프레임 가이드, 또는 멀티모달 참조 생성.
resolutionselect아니요720p-480p, 720p해상도
aspect_ratioselect아니요16:9-1:1, 4:3, 3:4, 16:9, 9:16, 21:9, adaptive화면비
durationnumber아니요5min 4 / max 15-길이
generate_audioselect아니요true-true, false오디오 생성
return_last_frameselect아니요false-false, true최종 프레임을 스틸 이미지로 함께 반환합니다. 커버, 후속 실행, 이후 편집에 유용합니다.
web_searchselect아니요false-false, true웹 검색
nsfw_checkerselect아니요false-false, trueNSFW 검사

업로드 정책

참조 파일을 먼저 업로드한 다음 반환된 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 유형
image30 MBimage/jpeg, image/png, image/webp, image/bmp, image/gif, image/tiff
video50 MBvideo/mp4, video/quicktime
audio15 MBaudio/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 참조 업로드가 필요합니다.