APIMaster.ai

Seedance 2.5 Flash 동영상 생성 API

텍스트, 이미지, 동영상 또는 오디오 참조로 비동기 영상을 생성합니다. 공개 모델 ID는 `seedance-2.5-flash`이며 가격과 제한이 독립적입니다.

Seedance 2.5 Flash 동영상 생성 API

텍스트, 이미지, 동영상 또는 오디오 참조로 비동기 영상을 생성합니다. 공개 모델 ID는 seedance-2.5-flash이며 가격과 제한이 독립적입니다.

기능과 제한

출력은 480p / 720p, 길이는 4–30초 정수, 기본값 5초입니다. duration: -1은 자동 길이입니다. 1080p, 4K, Draft는 지원하지 않습니다.

최대 이미지 10개, 동영상 5개, 오디오 5개입니다. 참조 영상/오디오는 각각 2–30초이며 영상과 오디오의 총 길이는 각각 30초 이내입니다. 파일 제한: 이미지 30 MB, 영상 200 MB, 오디오 15 MB. 사용 권한이 있고 접근 가능한 자료를 사용하세요.

매개변수

매개변수 유형 값 / 제한
model string seedance-2.5-flash
prompt string Text
resolution string 480p / 720p; default 720p
duration integer 4–30, -1; default 5
seconds integer / string Alias: duration
aspect_ratio string 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive; default adaptive
ratio string Alias: aspect_ratio
size string Alias: resolution / pixel size; no conflicting resolution or ratio
generate_audio boolean default true
audio boolean Alias: generate_audio
watermark boolean default false
return_last_frame boolean default false
seed integer 0 is preserved
output_format string mp4 / mov; default mp4
omni_reference_task_type string auto, reference, edit, extend
image_urls string[] 10
image_with_roles object[] url, role: first_frame, last_frame, reference_image; images total ≤10
video_urls string[] 5
audio_urls string[] 5
content object[] Native text, image_url, video_url, audio_url references
metadata object Optional wrapper for generation fields
draft boolean true: unsupported
draft_task_id string unsupported

첫/마지막 프레임, 편집, 연장에는 adaptive를 유지하세요. 출력 비율은 참조를 따릅니다. 편집에는 4–30초 원본 영상과 duration: -1이 필요합니다. 오디오만 참조할 수도 있습니다. MOV는 생성 경로 지원에 따라 달라집니다.

제출 및 다운로드

공개 작업 ID를 저장하고 완료될 때까지 조회한 뒤 다운로드하세요. HTTP 200은 접수만 의미합니다. 새 작업 전에 오류를 확인하고, 동일 요청 재시도에만 Idempotency-Key를 재사용하세요.

curl "https://apimaster.ai/v1/v1/videos" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: flash-text-unique-001" \
  -d '{"model":"seedance-2.5-flash","prompt":"A red paper boat floating on calm water at sunrise","duration":4,"resolution":"720p","aspect_ratio":"16:9","generate_audio":true,"watermark":false}'
curl "https://apimaster.ai/v1/v1/videos/TASK_ID" -H "Authorization: Bearer YOUR_API_KEY"
curl -L "https://apimaster.ai/v1/v1/videos/TASK_ID/content" -H "Authorization: Bearer YOUR_API_KEY" -o video.mp4
curl "https://apimaster.ai/v1/v1/videos/TASK_ID/billing" -H "Authorization: Bearer YOUR_API_KEY"

참조, 편집 및 연장

{
  "model": "seedance-2.5-flash",
  "prompt": "The paper boat passes under a wooden bridge",
  "duration": 4,
  "resolution": "480p",
  "aspect_ratio": "adaptive",
  "generate_audio": false,
  "image_with_roles": [
    {
      "url": "https://example.com/authorized-first-frame.png",
      "role": "first_frame"
    }
  ]
}
{
  "model": "seedance-2.5-flash",
  "prompt": "Change the lighting to warm sunset",
  "resolution": "720p",
  "duration": -1,
  "aspect_ratio": "adaptive",
  "omni_reference_task_type": "edit",
  "video_urls": [
    "https://example.com/authorized-source.mp4"
  ]
}

omni_reference_task_type: "extend" + duration: 4 + aspect_ratio: "adaptive".

요금

기본 요금은 국제판 공식 토큰 단가를 기준으로 합니다. 실제 고객 요금에는 채널, 그룹 및 계정 설정이 적용되므로 모델 카드와 명세를 확인하세요. 이미지만 사용하면 출력 초, 동영상 참조는 실측 입력 초와 출력 초를 합산합니다. 공식 최소 토큰 사용량 때문에 초 단위 추정과 차이가 생길 수 있습니다.

해상도 USD / 초 USD / 초, 영상 입력
480p 0.0672525 0.04131225
720p 0.1512 0.09288

문제 해결

공개 모델 ID, 해상도 및 자료 수를 확인하고 false 같은 불리언을 명시하세요. 지문 기준이 없다는 것이 생성 실패를 뜻하지는 않습니다. 임시 URL에 의존하지 말고 결과를 바로 다운로드하세요.