Win 1,000,000 credits
A hand reaching toward a dark control console where one amber light glows among rows of blue lights
API

Official BytePlus partnerBytePlus, a ByteDance company

Seedance API errors: what each code means and how to fix it

Every Seedance API error on KreatorFlow explained: 400, 401, 402, 404, 409, 413 and 429 responses, failed and declined jobs, and how to fix each one.

5 min read

Short answer

There are two kinds of errors. Request errors fail the HTTP call itself (wrong parameters, bad key, low balance, rate limit) and nothing is reserved. Job errors end an accepted job as failed, with an errorCode on the job, and its reserved tokens are released. The tables below list every code with the fix.

Updated:

Debug a failed Seedance request

  1. 1

    Read the code, not the message

    Branch on code (request errors) or job.errorCode (job errors); messages can change, codes do not.

  2. 2

    Check limits first

    Most 400s are a duration, resolution or aspect ratio the model does not offer. GET /v1/models lists each model's limits.

  3. 3

    Respect 429s

    Wait the seconds in Retry-After before sending again.

  4. 4

    Resend safely

    After a timeout, resend with the same Idempotency-Key. After a declined prompt, change it and use a new key.

Request errors (the HTTP call fails)

CodeStatusMeaningFix
invalid_api_key401The key is missing, wrong or revoked.Send Authorization: Bearer <key>. Create a new key if it was revoked.
insufficient_balance402Not enough tokens for the quoted cost.Top up under Billing. data.top_up_url links there.
account_not_active403The developer account is suspended.Contact support.
scope_missing403The key lacks the scope this endpoint needs.Use a key with that scope.
job_not_found404No job with that id for this key's account.Check the id; jobs are private to the account.
character_not_found404The character id or slug doesn't exist.List characters with GET /v1/characters.
upload_not_found404The upload_id doesn't exist in this workspace.Create the upload again.
reference_upload_not_developer400The upload_id is a file uploaded on the website, not through the API.Upload this file with /v1/uploads first.
reference_image_wrong_type400A reference image or frame is a video, audio or document file (data.field names it).Send JPEG, PNG or WebP; send clips as reference_video_upload_ids.
reference_upload_not_found404A reference upload_id doesn't exist in this workspace.Re-upload the file and use the new upload_id.
video_edit_source_not_found404The source_video_upload_id doesn't exist.Upload the clip with upload_type VIDEO.
upload_in_use409A queued or processing job still uses this upload.Delete it after the job finishes.
character_pending409The character is still being reviewed. Nothing was reserved.Wait retry_after seconds, then retry.
upload_too_large413The file is over the size limit for its type.Images 50 MB, video 200 MB, audio 15 MB.
upload_larger_than_declared413The stored file is more than 10% larger than the file_size you declared. It was deleted.Create a new upload with the real file_size and PUT the file again.
character_registration_failed422The character image did not pass review.Register the character again with another image.
rate_limited429Too many requests in the window.Wait the seconds in the Retry-After header.
prompt_required400No prompt (or text for speech) was sent.Add a prompt.
prompt_too_long400The prompt is over the model's limit.Shorten it; GET /v1/models lists maxPromptChars.
model_not_found400Unknown model alias.Use an id from GET /v1/models.
duration_not_supported400The model doesn't offer that length.Send one of the model's durations.
aspect_ratio_not_supported400The model doesn't offer that aspect ratio.Send one of the model's aspect ratios.
resolution_not_supported400The model doesn't offer that resolution.Send one of the model's resolutions.
reference_combination_not_supported400These references can't be combined, e.g. start/end frames with reference images.Send one kind per request.
upload_invalid400The upload request is missing a field or has a bad type.Send file_name, mime_type, file_size and upload_type.
video_edit_model_not_supported400Video edits need a Seedance 2.0 family model (2.0, Fast or Mini).Use kreator-video-seedance-2, kreator-video-fast or kreator-video-mini.
video_edit_source_required400A video edit needs a source clip.Send source_video_upload_id or video.
voice_required400Speech needs a voice.Use an id from GET /v1/voices.
paid_account_required403Lip Sync needs a paid account. Nothing was charged.Top up with a card under Billing.
paid_check_unavailable503The account's payment status could not be read just now. Nothing was charged.Send the same request again in a moment.
audio_reference_too_long400The audio references add up to more than the model accepts in total (15 s on Seedance 2.0, 30 s on 2.5). Nothing was charged.Trim or remove audio so all audio references combined fit.
image_upload_not_found404The image_upload_id isn't in this workspace.Upload the photo with upload_type IMAGE and use the new upload_id.
audio_upload_not_found404The audio_upload_id isn't in this workspace (or audio_job_id isn't a completed /v1/audio job).Upload the track with upload_type AUDIO, or use a completed audio job id.
audio_too_short400The voice track is under 4 seconds. Nothing was charged.Send 4 seconds to 5 minutes of audio.
audio_too_long400The voice track is over 5 minutes. Nothing was charged.Trim it to 5 minutes or less.
audio_unreadable400The audio couldn't be read. Nothing was charged.Use an MP3 or WAV under 15 MB.
image_rejected422The photo didn't pass the safety check. Nothing was charged.Use a different photo.
internal_error500Something failed on our side.Retry with the same Idempotency-Key.
dispatch_disabled503Generation is paused for this environment.Retry later.

Job errors (the job ends as failed, tokens released)

CodeMeaningFix
reference_rejectedA reference did not pass screening.BytePlus's reference review declined it (often a face that looks like a real person). Registering the same image as a character runs the same review, so use a different image or describe the person in the prompt.
reference_asset_pendingA new reference is still being reviewed.Wait errorData.retry_after seconds, resubmit with the same upload_id and a new Idempotency-Key.
reference_asset_failedThe reference did not pass review.Use a different file.
generation_rejectedThe request was declined (prompt, reference or options).Change the prompt, reference or options, then retry.
generation_timeoutThe job did not finish in time. Reserved tokens are released.Retry with a new Idempotency-Key.
generation_unavailableThe model is temporarily unavailable.Retry later or pick another model.
generation_failedThe generation failed.Retry; change the prompt or references if it repeats.

Seedance API price per second on KreatorFlow

Seedance 2.0 and 2.5 at 720p and above on the KreatorFlow API: price per second, tokens per 5-second clip, and clips per prepaid top-up.

Model · resolutionTokens5 s clipList rate per second$20 top-up · 400 tokens$50 top-up · 1,000 tokens$100 top-up · 2,000 tokens$250 top-up · 5,000 tokens
Seedance 2.0 · 720p11/5s$0.55$0.110/s3690181454
Seedance 2.0 · 1080p24/5s$1.20$0.240/s164183208
Seedance 2.0 · 4K58/5s$2.90$0.580/s6173486
Seedance 2.5 · 720p17.6/5s$0.88$0.175/s2256113284
Seedance 2.5 · 1080p34.6/5s$1.73$0.345/s112857144
Seedance 2.5 · 4K100/5s$5.00$0.999/s4102050

Seedance 2.0 and 2.5, 720p and above. List rate per second is the rate card price; a clip is billed at that rate and its total rounded up to the next cent, which is why a 5-second clip can cost up to a cent more than rate x 5. Top-up columns: 5-second clips each top-up covers, without a video input. A 10-second clip uses about twice the tokens.

Why was my reference rejected?

Real faces are allowed: use a photo of yourself or of someone who agreed, as a reference or as a registered character (POST /v1/characters, then pass its id). Prompts that try to impersonate someone or mislead are declined.

Why does the output have a different aspect ratio?

With an input image or first frame, adaptive follows the image. Send an explicit aspect_ratio when the output must match a format, and check the model offers it.

Why did camera_fixed fail with an image input?

Leave camera_fixed out when you send an image or frame input, and describe the camera in the prompt instead (for example locked-off camera).

Frequently asked questions

Am I charged when a Seedance job fails?

No. A failed job's reserved tokens are released.

What does insufficient_balance mean?

Your token balance is lower than the job's quote. Top up in the console; nothing was reserved.

What should I do on a 429?

Wait the number of seconds in the Retry-After header, then send again.

Why was my prompt declined?

It broke the acceptable use policy, for example by trying to impersonate someone. Change the prompt and create a new job.

Errors you can act on

Stable codes, a fix for each, and no charge for failed jobs.

More guides