Seedance 2.0
Seedance 2.0
문서시작하기
API 개요텍스트로 비디오이미지로 비디오
API 레퍼런스

텍스트로 비디오

Seedance 2.0 Open API로 텍스트 프롬프트에서 비디오를 생성합니다.

mediaUrls 를 보내지 않으면 이 엔드포인트는 순수 text-to-video 모드로 동작합니다.

Endpoint

POST /api/open/v1/video/generations

요청 예시

curl --request POST \
  --url https://www.seedance2.ink/api/open/v1/video/generations \
  --header 'Authorization: Bearer sd2_live_your_api_key' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "seedance-2.0",
    "prompt": "A river flowing through an autumn forest, aerial view, cinematic motion",
    "aspectRatio": "16:9",
    "duration": 5,
    "resolution": "720p",
    "webhookUrl": "https://your-app.com/webhooks/seedance",
    "metadata": {
      "projectId": "proj_1001",
      "sceneId": "scene_08"
    }
  }'

성공 응답

{
  "success": true,
  "requestId": "req_1234567890",
  "status": "queued",
  "creditsCharged": 40
}

요청 필드

FieldTypeRequiredDescription
modelstringYesseedance-2.0, seedance-2.0-fast, seedance-1.5-pro 중 하나입니다.
promptstringYes생성할 비디오를 설명하는 자연어 프롬프트입니다.
aspectRatiostringNo16:9, 9:16, 1:1 중 하나입니다.
durationintegerNoseedance-2.0 과 seedance-2.0-fast 는 4-15초, seedance-1.5-pro 는 5 또는 10초를 지원합니다.
resolutionstringNo480p, 720p, 1080p 중 하나입니다.
webhookUrlstringNo작업 완료 시 결과를 받을 콜백 URL 입니다.
metadataobjectNo요청과 함께 저장되는 사용자 정의 메타데이터입니다.

결과 조회

curl https://www.seedance2.ink/api/open/v1/video/generations/req_1234567890 \
  --header 'Authorization: Bearer sd2_live_your_api_key'
{
  "success": true,
  "requestId": "req_1234567890",
  "status": "succeeded",
  "model": "seedance-2.0",
  "prompt": "A river flowing through an autumn forest, aerial view, cinematic motion",
  "duration": 5,
  "aspectRatio": "16:9",
  "output": {
    "type": "video",
    "url": "https://pub-your-bucket.r2.dev/open-api-results/req_1234567890.mp4"
  },
  "error": null
}

작업 취소

curl --request POST \
  --url https://www.seedance2.ink/api/open/v1/video/generations/req_1234567890/cancel \
  --header 'Authorization: Bearer sd2_live_your_api_key'
{
  "success": true,
  "requestId": "req_1234567890",
  "status": "cancelled"
}

참고

  • creditsCharged 는 작업이 수락될 때 계산됩니다.
  • output.url 은 status 가 succeeded 인 경우에만 반환됩니다.
  • 폴링 대신 완료 알림을 원하면 Webhook 을 설정하세요.

API 개요

Seedance 2.0 Open API의 인증 방식, 요청 흐름, 상태 조회, Webhook 사용법을 설명합니다.

이미지로 비디오

Seedance 2.0 Open API로 이미지와 참고 미디어에서 비디오를 생성합니다.

목차

Endpoint요청 예시성공 응답요청 필드결과 조회작업 취소참고