Seedance video API

Official Group video generation, reference images, asynchronous tasks and pricing.

Use an Official Group API key to create a task with POST /v1/videos/generations, then query GET /v1/tasks/{id} with the same key. Submission returns 202 Accepted; delivery is complete only when the task status is completed.

Models and customer prices

Prices below are in US dollars per second, billed by the selected tier and the requested video duration.

Model IDDuration range480p720p1080p4K
seedance-1-0-pro-fast2–12 seconds0.0110.0250.052—
seedance-1-0-pro-quality2–12 seconds0.02550.0550.13—
seedance-1-5-pro4–12 seconds0.02550.0550.135—
seedance-2.04–15 seconds0.08250.17750.4430.9025
seedance-2.0-fast4–15 seconds0.04980.107——
seedance-2.0-mini4–15 seconds0.0226890.048793——

seedance-2.5 supports 4–30 seconds at 480p/720p/1080p and is billed by actual output tokens: US$12.5 per million tokens for 480p and 720p, and US$13.75 per million tokens for 1080p. It settles on actual usage after completion; the task bill shows the final amount.

Generate a video

curl 'https://app.apipool.dev/v1/videos/generations' \
  -H "Authorization: Bearer $APIPOOL_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "seedance-2.0-fast",
    "prompt": "A white ceramic cup slowly rotates on a wooden table, static camera, natural light.",
    "duration": 4,
    "resolution": "480p",
    "size": "16:9",
    "generate_audio": false
  }'

Save the id from the response and query the task with the same key:

curl "https://app.apipool.dev/v1/tasks/$TASK_ID" \
  -H "Authorization: Bearer $APIPOOL_API_KEY"

Do not resubmit because a task has not finished yet. If the submission response is unclear, check existing task records first; duplicate submissions may be charged more than once.

Parameters and reference images

  • prompt: up to 4000 characters. Required for text-to-video; the 2.0 series may omit it when using image_urls or image_with_roles, and it is always required for other models.

  • duration: integer seconds, default 5. See the table above for ranges.

  • resolution: defaults to 1080p for 1.0 and 720p for other models.

  • size: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9; 2.x also supports adaptive (matches the ratio of the input media automatically). seedance-2.5 defaults to adaptive; other models default to 16:9. You can also use aspect_ratio; if both are set they must match. When seedance-2.5 uses a first frame or first and last frames, size must be adaptive or omitted; a fixed ratio fails on submission.

  • generate_audio: a boolean for 1.5 and 2.x, default true; not supported on 1.0. 1.5 also accepts audio.

  • seed: optional integer from -1 to 4294967295; -1 means random.

  • image_urls: array of public HTTP(S) image URLs. Up to 1 for 1.0 Fast, 2 for 1.0 Quality and 1.5, 9 for the 2.0 series, and 30 for 2.5.

  • image_with_roles: use either this or image_urls. Each item is {"url":"https://example.com/image.png","role":"first_frame"}; at most one first frame and one last frame, and a last frame requires a first frame. 1.0 Fast does not support a last frame; 2.x also supports reference_image.

    In a plain 1.x image array, one image is used as the first frame and two images as the first and last frames. Reference image example:

{
  "model": "seedance-1-5-pro",
  "prompt": "Keep the cup's shape while the camera slowly moves forward.",
  "duration": 4,
  "resolution": "720p",
  "image_urls": ["https://example.com/cup.png"],
  "generate_audio": false
}

seedance-2.5 first and last frame example (size can be omitted; it defaults to adaptive):

{
  "model": "seedance-2.5",
  "prompt": "The cup slowly rises from the table as the camera follows.",
  "duration": 5,
  "resolution": "720p",
  "image_with_roles": [
    { "url": "https://example.com/start.png", "role": "first_frame" },
    { "url": "https://example.com/end.png", "role": "last_frame" }
  ],
  "generate_audio": false
}

Seedance 2.5 reference video and audio

Only seedance-2.5 supports the following reference inputs, and they cannot be combined with first or last frame roles:

  • video_urls: up to 10 public HTTPS video URLs, 2–30 seconds each and no more than 30 seconds in total. MP4/MOV, H.264/H.265, 24–60 FPS, up to 200 MB each.
  • audio_urls: up to 10 public HTTPS audio URLs in MP3/WAV, 2–30 seconds each and no more than 30 seconds in total, up to 15 MB each. Audio references can be used on their own.
  • Video width and height must each be 300–6000 pixels, with an aspect ratio of 0.4–2.5 and 409,600–8,295,044 total pixels. Media must be publicly accessible; client-reported durations are not accepted.

With a reference video, the customer price is US$7.5 per million actual output tokens for 480p/720p and US$8.21 per million actual output tokens for 1080p. With reference audio only, the regular output token tier applies; there is no extra charge per second of reference audio. Final settlement still uses the actual output tokens returned by the task.

{
  "model": "seedance-2.5",
  "prompt": "Keep the cup's shape and let it rotate slowly.",
  "duration": 4,
  "resolution": "480p",
  "video_urls": ["https://example.com/reference.mp4"],
  "generate_audio": false
}

Reference video and audio are not yet available for other Seedance models. No model accepts parent-task editing, extension, drafts, search or private portrait assets. Unreachable media, out-of-spec media or unsupported parameters return an error before a generation task is created.

Results and troubleshooting

After completion, play or download the video from the URL returned by the task, and note when the result expires. If a link has expired, query the task again; after the task retention period ends, you need to generate again.

For parameter errors, first check the model, resolution, duration and number of reference images. While a task is still generating or waiting for usage, keep querying instead of creating another. If a task fails, review the returned error and billing status. If you still need help, give support the task ID; do not send your API key.