Guide · shipping today

Build on Seedance 2.5 now

If you need video generation in your product this quarter, waiting for an unannounced model is a plan without a date. Seedance 2.5 is the newest Seedance model ByteDance Seed lists (checked 2026-11-30) and it has a public API today. The goal of this guide is simple: ship on 2.5 in a way where trying a different model later is a configuration change and a test run — without pretending to know what a future model's API will look like.

1. Put the model id in configuration

Hard-coding "seedance2-5" in a dozen call sites is the main thing that makes a later switch painful. Read it from the environment, and keep model-specific limits in one table that your validation uses.

// models.ts — the only file that knows model-specific limits
export const MODELS = {
  "seedance2-5":       { resolutions: ["480p", "720p", "1080p"], duration: [4, 30] },
  "seedance2-5-flash": { resolutions: ["480p", "720p"],          duration: [4, 30] },
  "seedance-20":       { resolutions: ["480p", "720p", "1080p", "4k"], duration: [4, 15] },
} as const;

export type ModelId = keyof typeof MODELS;
export const MODEL = (process.env.SEEDANCE_MODEL ?? "seedance2-5") as ModelId;

export function validate(model: ModelId, inputs: { duration: number; outputResolution: string }) {
  const m = MODELS[model];
  if (!m) throw new Error(`unknown model ${model}`);
  const [lo, hi] = m.duration;
  if (inputs.duration < lo || inputs.duration > hi) throw new Error(`duration ${lo}–${hi} for ${model}`);
  if (!(m.resolutions as readonly string[]).includes(inputs.outputResolution))
    throw new Error(`${inputs.outputResolution} not offered on ${model}`);
}

The limits in that table come from the provider's docs: Seedance 2.5 takes 4–30 s and renders 480p–1080p directly (4K via draft upgrade); Flash caps at 720p; Seedance 2.0 takes 4–15 s. When a new model is genuinely released and listed, you add a row after reading its docs — not before.

Sources, read 2026-12-01: [Kinovi Docs — Seedance 2.5 — kinovi.ai/docs/models/seedance2-5] · [Kinovi Docs — Models — kinovi.ai/docs/models]

2. Store jobs, not just results

Generation is asynchronous and takes minutes, so your system needs a record of every job in flight. A single table is enough for most apps:

-- one row per submitted job
create table video_jobs (
  task_id        text primary key,      -- from createTask, stored before anything else
  model          text not null,         -- the id actually sent
  inputs         jsonb not null,        -- the exact request, for reruns and audits
  status         text not null,         -- waiting | generating | success | fail
  output_url     text,
  error_code     text,
  credits_used   numeric,
  create_time    bigint,                -- from recordInfo (epoch ms)
  complete_time  bigint,
  settled_by     text                   -- 'callback' | 'poll'
);

3. Settle jobs by callback, verify by polling

Pass a callBackUrl so finished jobs are pushed to you, and run a slow sweeper that polls recordInfo for any row still open. Kinovi documents that the callback is sent once and not retried, so the sweeper is not optional. The provider says to allow at least 20 minutes (15 for extend and edit) before treating a task as stuck; beyond that, the timeout is your product decision.

Sources, read 2026-12-01: [Kinovi Docs — API Reference — kinovi.ai/docs/api] · [Kinovi Docs — Seedance 2.5 — kinovi.ai/docs/models/seedance2-5]

4. Respect the concurrency cap

Each account has a cap on tasks waiting or generating at once — new accounts start at 3 — and over-submitting returns 429 with limit and current. Put a small queue in front of createTask that keeps at most limit jobs in flight. That one component makes batch features predictable.

Sources, read 2026-12-01: [Kinovi Docs — API Reference — kinovi.ai/docs/api]

5. Use the cheap paths while iterating

6. What not to build yet

7. When something new actually ships

  1. Confirm it on a first-party page (the status page tracks this).
  2. Read the provider's docs for its id, inputs, limits and price.
  3. Add a row to your models table and run a sample of your stored real requests against it.
  4. Compare outputs, failure rate, turnaround and cost on your own data, then flip the config — or don't.

Everything you need for steps 1–5 is in the API reference, with copyable code on the samples page.

Start building on Seedance 2.5 →