Rivya AI 문서
모델 API 페이지

Seedance 2.5 API 연동

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

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

seedance-2-5

입력

text, file

Files API

참조 모드에 필요

기본 크레딧

per_input_and_output_second · 480p_with_video=17 · 480p_without_video=28 · 720p_with_video=38 · 720p_without_video=63 · 1080p_with_video=68.5 · 1080p_without_video=114 · ⌈total⌉

기능

비디오

과금

METERED

프롬프트 제한

30000 자

요청 계약

모델 ID는 최상위 수준에 보냅니다. 모델별 제어값은 params에 넣습니다.

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

모델 파라미터

Key유형필수기본값범위옵션설명
seedance_sceneselect아니요text-text, frames, reference업로드 전에 입력 계약을 선택하세요. 텍스트, 프레임 가이드, 참조는 서로 배타적인 장면입니다.
resolutionselect아니요720p-480p, 720p, 1080p각 해상도에는 비디오 없음과 비디오 포함 요율이 따로 있습니다.
aspect_ratioselect아니요adaptive-1:1, 4:3, 3:4, 16:9, 9:16, 21:9, adaptive화면비
durationnumber아니요5min -1 / max 30 / step 1-자동 길이는 -1을 선택하고, 직접 설정하려면 4초부터 30초까지 정수를 선택하세요. 자동 길이는 실행 전에 출력 30초를 예약합니다.
output_formatselect아니요mp4-mp4, mov출력 형식
generate_audioselect아니요true-true, false출력 클립에 생성된 오디오를 포함하도록 요청합니다.
return_last_frameselect아니요false-false, true검토나 후속 작업을 위해 비디오의 마지막 프레임도 정지 이미지로 반환합니다.
web_searchselect아니요false-false, true이번 작업에서 모델이 선택 사항인 웹 검색 제어를 사용하도록 허용합니다.
nsfw_checkerselect아니요true-false, true모델의 선택 사항인 콘텐츠 필터를 활성화합니다. 어떤 자동 필터도 완전한 검출을 보장할 수 없습니다.

업로드 정책

참조 파일을 먼저 업로드한 다음 반환된 URL과 durationToken을 params.referenceMediaItems 안에 넣으세요.

참조 규칙

가이드 프레임 또는 대용량 참조 자료: 프레임 장면은 파일당 최대 30MB인 JPEG, PNG, WebP, BMP, GIF 또는 TIFF 이미지 1장이나 2장을 지원합니다. 참조 장면은 이미지 최대 30장, 파일당 최대 95MB이자 길이 2~30초인 MP4/MOV 비디오 10개, 파일당 최대 15MB이자 길이 2~30초인 MP3/WAV 오디오 파일 10개를 지원합니다. 비디오와 오디오 총길이는 각각 30초로, 모든 미디어의 합계는 50개 파일로 제한됩니다.

최대 파일 수

50

허용되는 파일 종류

image, video, audio

재생시간 토큰

재생시간 검증이 필요한 경우 비디오 및 오디오 참조는 /api/v1/files의 durationToken을 포함해야 합니다.

kind최대 크기MIME 유형
image30 MBimage/jpeg, image/png, image/webp, image/bmp, image/gif, image/tiff
video95 MBvideo/mp4, video/quicktime
audio15 MBaudio/mpeg, audio/wav, audio/x-wav

최소 요청

{
  "model": "seedance-2-5",
  "prompt": "A cinematic product reveal with smooth camera movement",
  "params": {
    "seedance_scene": "text",
    "resolution": "720p",
    "aspect_ratio": "adaptive",
    "duration": 5,
    "output_format": "mp4",
    "generate_audio": "true",
    "return_last_frame": "false",
    "web_search": "false",
    "nsfw_checker": "true"
  }
}

참조 파일 요청

{
  "model": "seedance-2-5",
  "prompt": "A cinematic product reveal with smooth camera movement",
  "params": {
    "seedance_scene": "reference",
    "resolution": "720p",
    "aspect_ratio": "adaptive",
    "duration": 5,
    "output_format": "mp4",
    "generate_audio": "true",
    "return_last_frame": "false",
    "web_search": "false",
    "nsfw_checker": "true",
    "referenceMediaItems": [
      {
        "url": "https://cdn.example.com/reference-video.mp4",
        "kind": "video",
        "name": "reference-video.mp4",
        "mimeType": "video/mp4",
        "durationSeconds": 8,
        "durationToken": "video_duration_token_from_files_api",
        "width": 1280,
        "height": 720,
        "sizeBytes": 8388608,
        "framesPerSecond": 30,
        "videoBitrateMbps": 8,
        "videoMetadataToken": "video_metadata_token_from_original_files_api_upload_response"
      }
    ]
  }
}

생성 응답

생성 엔드포인트는 공개 작업 ID를 반환합니다. 작업이 성공하거나 실패할 때까지 상태 엔드포인트를 폴링하세요.

{
  "id": "task_seedance_2_5_example",
  "status": "queued",
  "model": "seedance-2-5",
  "reserved_credits": 315,
  "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 참조 업로드가 필요합니다.