Developer docs/seedance-2.0

Seedance 2.0

seedance-2.0

Seedance 2.0 is the standard Seedance async video tier with 480p/720p/1080p rates.

Overview

Official ¥0.50/s 480p
LumeAPI from $0.0735 / s
POST /v1/videos (+ poll + content)
Base: https://api.lumeapi.site/v1

Auth: Authorization: Bearer sk-… from the Console. Use this model id exactly in the model field.

Request parameters — Seedance video

Only parameters relevant to seedance-2.0 are listed below.

FieldTypeReqDescription
modelstringseedance-2.0-fast | seedance-2.0
promptstringVideo description
resolutionstring480p | 720p | 1080p (1080p only on seedance-2.0). Default 720p.
durationinteger4–15 seconds. Alias: seconds.
aspect_ratiostring16:9 (default) | 9:16 | 1:1 | 3:4 | 4:3 | 21:9 | adaptive
videostring | arrayReference video URL(s) for edit/extend
ref_video_secondsnumberReference video length for billing; default 2s if omitted
image / imagesstring | arrayFirst-frame, tail, or multi-ref images

Examples

bash
curl https://api.lumeapi.site/v1/videos \
  -H "Authorization: Bearer $LUMEAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.0",
    "prompt": "A drone shot over misty mountains at sunrise",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9"
  }'

Video async flow

Base URL

All requests go to https://api.lumeapi.site/v1 with Authorization: Bearer sk-…

Three-step async flow

(1) POST /v1/videos → save id from response. (2) GET /v1/videos/{id} every 5–15s until status is completed or failed. (3) On completed, GET /v1/videos/{id}/content to download MP4.

Use the gateway task id

Poll and download with the id returned by POST /v1/videos (e.g. task_Fk6QrnX6…). This is the only task id your client needs.

Poll interval & timeout

Poll every 5–15 seconds with back-off. Typical completion: 30s–5min depending on model. Stop after 15–30 minutes if still not completed.

Failed tasks are terminal

When status=failed, read error.message. Do not call /content. Submit a new POST /v1/videos to retry.

Billing on submit

Balance is debited when POST /v1/videos returns 200. Poll until completed or failed before treating the job as successful.

Status map

StatusMeaningAction
queuedJob accepted, waiting to startKeep polling GET /v1/videos/{id}
in_progressVideo is being generatedKeep polling; progress may increase
completedReady to downloadGET /v1/videos/{id}/content
failedGeneration failedRead error.message; submit a new job to retry

Errors

  • 401 — invalid or missing Bearer key
  • 402 — insufficient wallet balance (top up in Account)
  • 403 — model id not on the whitelist / wrong id spelling
  • 429 — rate limited; back off and retry
  • 502 — temporary gateway error; retry