API reference · errors

Errors and failed jobs

Two layers can go wrong. An HTTP error means the request was refused and no job exists. A job with status: "fail" means it was accepted, ran, and failed — and its credits were refunded. They need different handling.

HTTP errors · Any endpoint

HTTPBodyWhenNext step
401Missing Authorization headerNo header at all.Send Authorization: Bearer <key>.
401Invalid Authorization format. Use: Bearer YOUR_API_KEYHeader present but not Bearer <key>.Fix the scheme: one space, no quotes.
401Invalid API KeyKey does not exist.Check for truncation or a key from another environment.
401API Key is inactive / API Key has expiredKey disabled or past its expiry.Create a new key.

HTTP errors · createTask

HTTPBodyWhenNext step
400Invalid request parametersBody is not { model, inputs } shaped, or callBackUrl is not a URL.Fix the body shape. Don't retry unchanged.
400Invalid inputs for model + errors[]A field in inputs is missing or out of range (duration outside 4–30, outputResolution "4k").Read errors[].path. Nothing was charged.
400Unknown modelmodel is not a Kinovi model id.Use an id from the models page.
402Insufficient credits + required, availableBalance below the reservation for these settings.Top up or shorten the job. Nothing was charged.
403{ message }The model is not available to this account.Pick another model, or contact the provider.
429Concurrency limit reached + limit, currentToo many of your tasks waiting or generating. New accounts start at 3.Wait for one of your tasks to finish, then submit.
500{ message }Unexpected error.Retry with backoff.

HTTP errors · recordInfo

HTTPBodyWhenNext step
400Missing taskId parameterNo ?taskId= on the URL.Add the query parameter.
403Access denied (code access_denied)The task belongs to another account.Use the key that created the task.
404Task not found (code not_found)Unknown taskId.Check the id; stop polling it.

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

A status-code switch

async function submit(body) {
  const res = await fetch("https://kinovi.ai/api/v1/jobs/createTask", { method: "POST", headers, body: JSON.stringify(body) });
  const data = await res.json().catch(() => ({}));
  switch (res.status) {
    case 200: return data.taskId;
    case 400: throw new BadRequest(data.message, data.errors);   // fix input, don't retry
    case 401: throw new ConfigError(data.message);                // wrong / inactive key
    case 402: throw new NeedsCredits(data.required, data.available);
    case 403: throw new NotAllowed(data.message);                 // model not on this account
    case 429: return waitForSlotThenRetry(body, data.limit);      // your own jobs must finish first
    default:  return retryWithBackoff(body);                      // 5xx: transient
  }
}

Sketch only — the helper functions are yours. The point is that 400, 401, 402 and 403 are never retried unchanged, while 429 waits for one of your tasks to finish rather than for a fixed time.

Failed jobs: error.code

When status is fail, error carries a code and a human-readable message. These are the codes Kinovi documents for Seedance 2.5 and its extend / edit variants:

error.codeExample messageCause · what to do
asset_review_failedReference image 1 failed review. Please replace it.The named reference could not be fetched or was rejected. Re-host or replace it.
InvalidParameter…the parameter video total duration…videoUrls add up to more than 30 s. Trim or drop a clip.
1001Failed to download your reference video…A videoUrls entry could not be downloaded. Check the URL is public.
1001Your uploaded video may contain sensitive content…Reference rejected by moderation. Use different media.
1001The generated video did not pass review…Result failed moderation. Change the prompt or references.
1001The generated video may violate platform or copyright rules…Policy or copyright flag. Change the prompt or references.
1001Service temporarily unavailable. Please try again later.Temporary capacity problem. Retry after a short delay.

For edit jobs there is one more documented 1001: “Request parameters are invalid for video editing…”, which means the source is shorter than 4 s or longer than 30 s. Kinovi's Seedance 2.5 page also notes that when a first route rejects a task on review grounds it resubmits on a second route automatically, with no new request and no second charge — so a fail you receive has already had that second attempt.

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

Retry rules of thumb

This site does not publish an SLA or uptime figure; none is documented by the provider.

Open the Seedance API page on Kinovi →