API Hop

Tutorial

Seedance 2.5 API Guide: Pricing, Python & Kling

Seedance 2.5 API guide: token-to-second pricing ($5.88–$10.78/M on API Hop, ~$0.098/s at 480p), async Python calls, draft_task workflow, vs Kling 4.0.

Reviewed:

The Seedance 2.5 API is ByteDance’s 30-second native audio-video generation interface, live on API Hop (model ID seedance-2.5, endpoint POST /v1/video/seedance). It bills per million completion tokens; API Hop’s current prices are 2% below the official baseline (no-reference $9.80–$10.78/1M tokens, with-reference $5.88–$6.44/1M — roughly $0.098/s at 480p, $0.213/s at 720p, $0.527/s at 1080p). This tutorial walks through async calls, 50 multimodal references, and the draft_task upsampling workflow, then compares Seedance 2.5 with Kling 4.0.

Key takeaways

  • Per-million-completion-token billing: as of November 17, 2026, API Hop’s no-reference price for Seedance 2.5 is 480p/720p $9.8000/1M tokens (official $10.0000/1M) and 1080p $10.7800/1M (official $11.0000/1M). At 16:9 that works out to about 480p $0.098/s, 720p $0.213/s, 1080p $0.527/s.
  • Split billing with/without reference video: uploading a reference video (reference_video) cuts the token price ~40% (API Hop 480p/720p $5.8800/1M, 1080p $6.4400/1M), but billed duration becomes “reference-video length + generated-video length”. Reference images and audio add no billed time.
  • 4–30 seconds per call, up to 50 reference assets: integer durations 4–30 (or -1 auto), with up to 30 images, 10 videos, 10 audio clips (50 total) and generate_audio: true for native synced ambience and multi-character dialogue.
  • The draft_task money-saving workflow: validate motion and storyboarding at 480p ($0.098/s), then within 7 days upsample a completed jobId via draft_task straight to 1080p — instead of trial-and-error at 1080p ($0.527/s).
  • Four frequent 400-error boundaries: 4k resolution isn’t supported; first_frame/last_frame requires aspectRatio: "adaptive"; audioUrls must accompany at least one image or video; draft_task requests must not re-send prompt or duration.
  • The Kling 4.0 dividing line: both are 30-second flagships. Seedance 2.5 wins on 50-asset multimodal reference, Video Edit (Arena #2, 1410±26), the cheap 480p draft tier, and same-day availability on API Hop. Kling 4.0 API wins on 10 timeline keyframes and 1080p per-second pricing (~$0.189–$0.235/s).

Pricing breakdown: converting per-million tokens to per-second cost

ByteDance’s backends (BytePlus ModelArk and Volcano Ark) bill the Seedance family by video completion tokens, not a flat per-second rate. Token consumption depends on pixel area, frame rate, and duration:

video tokens = width × height × FPS × billed duration ÷ 1024

At 16:9, 480p generates about 10.04K tokens/s, 720p about 21.74K tokens/s, and 1080p about 48.91K tokens/s. Each resolution step more than doubles per-second tokens — the direct driver of your bill.

Official list price vs API Hop (verified 2026-11-17)

Compiled from the API Hop pricing page and the Seedance 2.5 model page, converted to per-second USD:

Resolution & billing modeOfficial baseline (per 1M tokens)API Hop current (2% off)Tokens per secondAPI Hop per-second priceAPI Hop 5s / 30s estimate
480p · no reference video (text/image/first-last frame)$10.0000 / 1M$9.8000 / 1M~10.04K tokens/s~$0.098 / s~$0.49 (5s) / ~$2.95 (30s)
720p · no reference video (text/image/first-last frame)$10.0000 / 1M$9.8000 / 1M~21.74K tokens/s~$0.213 / s~$1.07 (5s) / ~$6.39 (30s)
1080p · no reference video (text/image/first-last frame)$11.0000 / 1M$10.7800 / 1M~48.91K tokens/s~$0.527 / s~$2.64 (5s) / ~$15.82 (30s)
480p · with reference video (reference_video)$6.0000 / 1M$5.8800 / 1M~10.04K tokens/s~$0.059 / s (input+output seconds)depends on reference + output total
720p · with reference video (reference_video)$6.0000 / 1M$5.8800 / 1M~21.74K tokens/s~$0.128 / s (input+output seconds)depends on reference + output total
1080p · with reference video (reference_video)$6.5714 / 1M$6.4400 / 1M~48.91K tokens/s~$0.315 / s (input+output seconds)depends on reference + output total

Data verified 2026-11-17 from the live API Hop catalog and BytePlus baseline tables. Actual charges follow the completion_tokens on your account’s billing records.

Two billing rules and the money-saving workflow

  1. “With reference video” is cheaper per token, but uploaded video time is billed Requests with only text, first/last frames, ordinary reference images (up to 30), or reference audio (up to 10) bill at the no-reference column. Images and audio add no billed seconds — only output duration is charged. Once a reference video (videoUrls or reference_video) is sent, billing switches to the with-reference rate and billed duration becomes total reference-video length + new video length.
  2. “480p gacha + draft_task upsample” beats direct 1080p trial-and-error A 10-second video costs ~$0.98 at 480p versus ~$5.27 direct at 1080p (5.3x). If a shot needs 4 attempts on average before the motion and camera work click:
    • Direct 4× at 1080p: 4 × $5.27 = $21.08
    • 4× at 480p, then draft_task upsample the keeper to 1080p: 4 × $0.98 + 1 × $5.27 = $9.19 — 56% saved.

Common scenario cost table

ScenarioBilling mode & formulaEst. total tokensAPI Hop est. cost
5s 480p storyboard draft (text or reference images)No reference: 5s × 10.04K × $9.80/M~50.2K~$0.49
10s 720p social clip (image-to-video + native audio)No reference: 10s × 21.74K × $9.80/M~217.4K~$2.13
15s 1080p e-commerce first/last-frame adNo reference: 15s × 48.91K × $10.78/M~733.7K~$7.91
15s 720p camera-move transfer (10s reference video + 15s output)With reference: (10s+15s) × 21.74K × $5.88/M~543.5K~$3.20
30s 1080p narrative short (30 character/scene reference images + dialogue)No reference: 30s × 48.91K × $10.78/M~1.47M~$15.82

Prerequisites: three things before you start

  1. Get an API Hop key: create one in the console and top up a small pay-as-you-go balance (video generation is paid compute; no free unlimited tier). The same key calls seedance-2.5, Seedance 2.0, MiniMax H3, and the LLMs — no separate BytePlus or Volcano Engine accounts needed.
  2. Run one minimal test in the web workbench: open the Seedance 2.5 online tool, pick 480p and 5 seconds, and confirm your prompt and reference-image URLs are reachable.
  3. Set environment variables and Python deps: Python 3.10+ with requests:
pip install requests
export APIHOP_API_KEY="your_APIHOP_API_KEY"

Quickstart: minimal async call

Seedance 2.5 uses an async job model: POST https://api.apihop.ai/v1/video/seedance submits the task and returns a jobId; poll GET https://api.apihop.ai/v1/jobs/{jobId} until COMPLETED.

First, a minimal 5-second 480p text-to-video request via cURL to verify key and network:

curl -X POST "https://api.apihop.ai/v1/video/seedance" \
  -H "Authorization: Bearer $APIHOP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.5",
    "prompt": "A neon-lit rainy street at night; a detective in a trench coat walks across wet pavement, low-angle tracking shot, with footsteps and ambient rain sound",
    "duration": 5,
    "resolution": "480p",
    "aspectRatio": "16:9",
    "metadata": {
      "generate_audio": true
    }
  }'

Expect an immediate job-accepted JSON (the video is still rendering; no MP4 link yet):

{
  "data": {
    "jobId": "364459846248173568",
    "status": "PENDING",
    "model": "seedance-2.5",
    "message": "Job accepted"
  }
}

Here is the complete Python quickstart with submission, polling, and tolerant URL extraction:

import os
import time
import requests

API_KEY = os.environ["APIHOP_API_KEY"]
BASE_URL = "https://api.apihop.ai/v1"
HEADERS = {
    "Authorization": f"Bearer {API_KEY}",
    "Content-Type": "application/json",
}

def extract_video_urls(output_result):
    """Handle outputResult url being either a string or an array."""
    urls = []
    if isinstance(output_result, str):
        return [output_result]
    if isinstance(output_result, dict):
        val = output_result.get("url") or output_result.get("data")
        if isinstance(val, str):
            urls.append(val)
        elif isinstance(val, list):
            for item in val:
                if isinstance(item, str):
                    urls.append(item)
                elif isinstance(item, dict) and "url" in item:
                    u = item["url"]
                    urls.extend(u if isinstance(u, list) else [u])
    return urls

# 1. Submit the async video generation task
create_resp = requests.post(
    f"{BASE_URL}/video/seedance",
    headers=HEADERS,
    json={
        "model": "seedance-2.5",
        "prompt": "A neon-lit rainy street at night; a detective in a trench coat walks across wet pavement, low-angle tracking shot, with footsteps and ambient rain sound",
        "duration": 5,
        "resolution": "480p",
        "aspectRatio": "16:9",
        "metadata": {"generate_audio": True},
    },
    timeout=30,
)
create_resp.raise_for_status()
job_id = create_resp.json()["data"]["jobId"]
print(f"Task submitted, jobId: {job_id}")

# 2. Poll job status (5-10s interval recommended)
for _ in range(60):
    time.sleep(8)
    poll_resp = requests.get(f"{BASE_URL}/jobs/{job_id}", headers=HEADERS, timeout=30)
    poll_resp.raise_for_status()
    job_data = poll_resp.json().get("data", {})
    status = job_data.get("status")
    print(f"Status: {status}")

    if status == "COMPLETED":
        video_urls = extract_video_urls(job_data.get("outputResult"))
        print("Done, video URLs:", video_urls)
        break
    if status in ("FAILED", "CANCELLED"):
        raise RuntimeError(f"Task failed: {job_data}")

Expected output: the console prints Task submitted, jobId: ..., cycles through PENDING / PROCESSING, then prints Status: COMPLETED with downloadable .mp4 links. Async details live in the API Hop jobs documentation.

Step-by-step: first/last frames, 50 references, and upsampling

With basic text-to-video working, three advanced request types follow. Full field definitions live in the Seedance 2.5 API reference.

Step 1: first/last-frame control (first_frame / last_frame with adaptive)

To pin the opening and closing composition (a product folding open, a character walking from indoors to the corner), use the first-last-frame mode. Constraint: whenever first_frame or last_frame images are passed, the ratio must be "adaptive".

payload_frames = {
    "model": "seedance-2.5",
    "prompt": "Smooth push-in: espresso pouring into a clear glass cup as the crema builds",
    "duration": 8,
    "resolution": "720p",
    "metadata": {
        "ratio": "adaptive",
        "generate_audio": True,
        "content": [
            {
                "type": "image_url",
                "image_url": {"url": "https://example.com/coffee-empty.jpg"},
                "role": "first_frame",
            },
            {
                "type": "image_url",
                "image_url": {"url": "https://example.com/coffee-full.jpg"},
                "role": "last_frame",
            },
        ],
    },
}

resp = requests.post(f"{BASE_URL}/video/seedance", headers=HEADERS, json=payload_frames, timeout=30)
print(resp.json())

Expected: a new jobId in the accepted response. For single-image animation, the image-to-video tool page works the same way — one first_frame with adaptive ratio.

Step 2: multimodal references with native audio-video (up to 50 assets)

For multi-character dramas or brand ads, the multimodal reference mode accepts up to 30 images (reference_image), 10 videos (reference_video), and 10 audio clips (reference_audio) — 50 assets total:

payload_multimodal = {
    "model": "seedance-2.5",
    "prompt": "Keep the outfits and product look from the reference images, follow the orbiting camera rhythm of the reference video, and land the 12-second showcase on the reference audio's beat",
    "seconds": "12",
    "size": "720p",
    "metadata": {
        "ratio": "16:9",
        "generate_audio": True,
        "content": [
            {
                "type": "image_url",
                "image_url": {"url": "https://example.com/hero-character.png"},
                "role": "reference_image",
            },
            {
                "type": "image_url",
                "image_url": {"url": "https://example.com/product-front.png"},
                "role": "reference_image",
            },
            {
                "type": "video_url",
                "video_url": {"url": "https://example.com/camera-orbit-5s.mp4"},
                "role": "reference_video",
            },
            {
                "type": "audio_url",
                "audio_url": {"url": "https://example.com/bgm-beat.mp3"},
                "role": "reference_audio",
            },
        ],
    },
}

resp = requests.post(f"{BASE_URL}/video/seedance", headers=HEADERS, json=payload_multimodal, timeout=30)
print(resp.json())

Expected: a PENDING jobId. This request includes a 5-second reference_video, so billing uses the with-reference tier (720p at $5.8800/1M tokens) over 5s input + 12s output = 17 seconds.

Step 3: upsample a 480p draft to 1080p with draft_task

When the quickstart 480p draft has the right motion and camera work, use draft_task within 7 days of its completion to render a 1080p final. With draft_task, do not send a media array, prompt, duration, or aspectRatio — only the target resolution.

payload_upgrade = {
    "model": "seedance-2.5",
    "metadata": {
        "resolution": "1080p",
        "content": [
            {
                "type": "draft_task",
                "draft_task": {"id": "364459846248173568"},  # replace with a real jobId completed within 7 days on the same account
            }
        ],
    },
}

resp = requests.post(f"{BASE_URL}/video/seedance", headers=HEADERS, json=payload_upgrade, timeout=30)
print(resp.json())

Expected: a new jobId; polling to completion yields the same storyboard and motion at 1080p MP4.

Core request parameter reference

ParameterType & defaultRange and constraints
modelstring (required)Always "seedance-2.5"
promptstringTop-level text prompt; forbidden with draft_task; text items inside metadata.content are ignored
durationnumber (default 5)Integer 4–30, or -1 auto; aliases (e.g. seconds) must match exactly if both sent
resolutionstring (default "720p")Only "480p", "720p", "1080p"; "4k" unsupported
aspectRatiostring (default "16:9")"16:9", "9:16", "1:1", "4:3", "3:4", "21:9", "adaptive" (required for first/last frames)
metadata.generate_audiobooleanNative synced audio; don’t duplicate with top-level generateAudio
metadata.contentobject[]Holds image_url (≤30), video_url (≤10), audio_url (≤10, must pair with visual assets), or a single draft_task

Seedance 2.5 vs Kling 4.0: choosing a long-shot video API

In the kling 4.0 vs seedance 2.5 comparison, ByteDance’s Seedance 2.5 and Kling AI’s Kling 4.0 API both deliver up to 30 seconds of native generation with synced audio, but differ in control model and billing structure:

DimensionSeedance 2.5 API (ByteDance)Kling 4.0 API (Kling AI)Source & status
Release & API statusReleased 2026-07-31; fully live on API Hop (seedance-2.5)Announced 2026-09-28, API late Oct; in onboarding on API HopOfficial posts & API Hop catalog (2026-11-17)
Duration per call4–30 s (-1 auto and multi-turn continuation)3–30 s (Flash lite: 3–20 s)Both vendors’ docs
Multimodal reference capup to 50 assets (30 images + 10 videos + 10 audio)up to 15 Omni Reference itemsOfficial parameter specs
Timeline & storyboard controlFirst/last frames + time-segment local edit + draft_task upsampleup to 10 timeline keyframes (Multi-Keyframe) + 8,000-token promptsOfficial parameter specs
Output resolutions480p / 720p / 1080p (no 4K on this API)720p / 1080p (4K inherited from 3.0; 10-bit HDR pending)Launch spec sheets
Billing unitPer million completion tokens ($5.88–$10.78/1M)Tiered per-second (web 10–15 credits/s; API per-second quotes)Platform price tables (2026-11-17)
Per-second cost (no reference)480p ~$0.098/s · 720p ~$0.213/s · 1080p ~$0.527/sFlash 720p ~$0.094/s · standard 720p $0.126–$0.157/s · 1080p **$0.189–$0.235/s**API Hop measured & third-party gateways
Public leaderboard strengthsArena Video Edit #2 (1410±26), image-to-video #4 (1477±7)No standardized Arena table published yetArena leaderboard (as of 2026-11)

Verdict: match your workflow

  • Prefer Seedance 2.5 API when:
    1. A single task needs more than 15 reference assets (a multi-character drama pinning 6 characters’ design sheets plus scene images, plus reference camera footage and multi-track audio).
    2. Your workflow is “480p cheap gacha (~$0.098/s) + draft_task upsample to 1080p”, or you need local time-segment edits on existing video (Arena Video Edit #2).
    3. You want to go to production immediately with one API Hop key, or test in the online workbench.
  • Prefer Kling 4.0 API when:
    1. Shot design depends on timeline multi-keyframe control — up to 10 mid-shot keyframes for blocking and composition turns.
    2. You skip the 480p draft stage and batch out 1080p finals: Kling’s per-second price ($0.189–$0.235/s) undercuts Seedance 2.5’s 1080p conversion ($0.527/s).
  • Hybrid routing: for single product-image-to-5–15s-animation workflows where image-to-video cost matters, benchmark seedance-2.5 against the same-site MiniMax H3 (Arena image-to-video #1, 1495±5, official reference ~$0.08/s).

Error handling: HTTP status codes and platform error codes

For POST /v1/video/seedance and GET /v1/jobs/{jobId}, distinguish parameter errors, balance/permission issues, and rate limiting:

HTTP statusPlatform codeCommon triggerEngineering response
400Validation errorresolution: "4k"; first/last frame without adaptive; audio-only input; draft_task mixed with promptDo not retry directly. Check the request JSON against the gotchas below
40120000APIHOP_API_KEY missing, misspelled, or missing the Bearer prefixCheck the env var and Authorization header
40240000Balance insufficient for the estimated cost at this resolution/durationTop up in the console, or test at 480p short duration first
40320001Key lacks model access, or draft_task references a cross-account/cross-channel job IDVerify key permissions; draft_task.id must come from the same account within 7 days
42940001Concurrency or rate limit hitExponential backoff, retry after 5–15 s

Five frequent gotchas

  1. First/last frame without adaptive → 400 When using first_frame or last_frame in imageWithRoles or metadata.content, the ratio must be "adaptive". Explicit "16:9" or "9:16" is rejected outright.
  2. Carrying Seedance 2.0’s 4k into Seedance 2.5 The previous generation had 4K on some channels; the current seedance-2.5 API supports only "480p", "720p", "1080p", and output only "mp4" (no mov). Strip "4k" from migrated code.
  3. Audio-only uploads rejected Reference audio can’t be the sole media input. audioUrls or role: "reference_audio" requires at least one image or video in the same request.
  4. Conflicting parameter aliases The API accepts duration / seconds / metadata.duration. Sending "duration": 10 and "seconds": "5" together fails with 400. Keep one field name per setting.
  5. Re-submitting while PENDING 30-second or multi-reference jobs render far longer than 5-second clips. Until COMPLETED or FAILED, keep polling GET /v1/jobs/{jobId} with the original jobId — don’t probe liveness with repeat POSTs; every submission bills independently.

Cost estimation: running this tutorial end to end

Running all 4 code examples in order on API Hop (at 2026-11-17 prices):

  1. Quickstart (5s · 480p · no reference): ~50.2K tokens × $9.80/1M ≈ $0.49
  2. Step 1 first/last frame (8s · 720p · no reference): ~173.9K tokens × $9.80/1M ≈ $1.70
  3. Step 2 multimodal (5s reference + 12s output · 720p · with reference): ~369.6K tokens × $5.88/1M ≈ $2.17
  4. Step 3 draft_task upsample (quickstart 5s 480p → 1080p): ~244.6K tokens × $10.78/1M ≈ $2.64

Full-run total: 4 calls, ~838.3K video completion tokens, about $7.00. Just the quickstart costs about $0.49.

What we don’t know yet

  • Native 4K and higher frame rates: ByteDance hasn’t announced when the standard seedance-2.5 API opens native 4K.
  • First-pass yield for long shots and multi-character dialogue: Arena covers 720p short clips; for 25–30 s scenes with 6+ speaking characters, no standardized Pass@1 statistics exist from vendor or third parties.
  • Same-gateway latency vs Kling 4.0: once Kling 4.0 lists on API Hop, we’ll add first-byte and render-time measurements under identical routing.

What to watch next

  • Kling 4.0 and Wan 3.0 listings: watch the API Hop catalog for Kling 4.0 and Alibaba’s Wan 3.0 (Arena Video Edit #1) — multi-model video routing becomes swappable once both are live.
  • BytePlus / Volcano token price changes: the official baseline dates to mid-October 2026; if upstream adds volume discounts or off-peak tiers, this article’s tables will be updated.

FAQ

How is the Seedance 2.5 API billed? What’s the per-second price?

By video completion tokens per million, varying with resolution, frame rate, and duration. As of November 17, 2026, API Hop’s no-reference price is 480p/720p $9.80/1M tokens and 1080p $10.78/1M (2% below official). At 16:9 that’s roughly 480p $0.098/s, 720p $0.213/s, 1080p $0.527/s. Live platform pricing rules.

What does a 30-second Seedance 2.5 video cost?

Without a reference video (text, frames, images, or audio only): ~$2.95 at 480p (~301K tokens), ~$6.39 at 720p (~652K), ~$15.82 at 1080p (~1.47M) on API Hop. With a reference video, the lower with-reference rate applies to “reference duration + 30 s”; the final bill follows the task’s token statistics.

Is the Seedance 2.5 API free?

There’s no long-term free unlimited tier. Consumers can try basics with new-user credits in Dreamina and similar apps; API calls via API Hop, BytePlus, or Volcano Ark are all pay-as-you-go. Top up a small balance and start with a 480p connectivity test (~$0.49 for 5 s). Policies follow each platform’s notices.

Do reference images or audio cost extra?

No extra billed time. Up to 30 reference images and 10 audio clips add no billed seconds — only output duration is charged at the no-reference rate. Only reference video (up to 10 clips) brings uploaded duration into the formula; rules follow the latest billing docs.

Seedance 2.5 or Kling 4.0 — better and cheaper?

Depends on resolution and control needs. At 480p drafts, Seedance 2.5 ($0.098/s) is on par with Kling 4.0 Flash ($0.094/s), plus 50 references and draft_task. For direct batch 1080p finals, Kling’s per-second price ($0.189–$0.235/s) beats Seedance’s 1080p conversion ($0.527/s) and adds 10 keyframes. Choose by workflow.

What is draft_task and how does it save money?

It’s Seedance 2.5’s draft-reuse feature: generate cheap 480p drafts, pick the best, then within 7 days put its jobId into metadata.content’s draft_task.id with resolution: "1080p". You never pay 1080p rates for the rejected drafts; reuse limits follow the API Hop docs.

Why does the Seedance 2.5 API return 400 parameter errors?

Four common causes: resolution set to unsupported "4k" (only 480p/720p/1080p); first/last-frame images without ratio "adaptive"; audioUrls uploaded alone without image/video; or prompt/duration re-sent in a draft_task request. Check each against the API docs.

Information verified 2026-11-17: live rates on the API Hop pricing page and Seedance 2.5 model page · Seedance 2.5 API reference · async jobs documentation · BytePlus ModelArk baseline tables (updated 2026-10). Actual charges follow the completion_tokens in your billing records; this article updates with any price changes.