> Markdown copy of https://makernice.com/blog/seedance-2-5-api-quickstart/ for AI tools. The HTML page is the canonical version.

[← All posts](https://makernice.com/blog/)

Guides

# Seedance 2.5 API quickstart: how do you generate your first video?

Makernice Team · 2026-10-09 · Updated 2026-11-12

Prices as of December 3, 2026 (price list v18).

## Key takeaways

-   Generating a Seedance 2.5 video through the Makernice API takes four REST calls: quote, create, poll and download.
-   A quote locks the exact price for 12 minutes and can be used for one generation only.
-   Every create request needs an Idempotency-Key header; retrying with the same key returns the original generation instead of charging twice.
-   A generation ends as succeeded, failed or canceled, and the finished file is served through a 302 redirect from outputs/0.

To generate a video with the Seedance 2.5 API on Makernice, you make four REST calls with one API key: request a quote, create the generation, poll its status, then download the file. This tutorial uses Seedance 2.5, ByteDance's video model, in text-to-video mode, and the same flow works for every video model on the platform. The API is plain REST, not OpenAI-compatible, and there is no official SDK, so every example uses curl.

## What do you need before calling the Seedance 2.5 API?

Calling the Seedance 2.5 API needs a Makernice account with prepaid balance and an API key. Create the key in the console under Developers, API Keys, and give it a spend limit and an expiry date if it will live in a script. Send the key as a Bearer token on every request; only GET /v1/models and GET /v1/pricing work without one.

## Step 1: How do you send your first Seedance 2.5 API request?

Send your first Seedance 2.5 API request to POST /v1/generations/quote, with exactly the input you plan to generate. A quote tells you the cost before anything is held from your wallet. The fields model, mode and prompt are required; duration and resolution are optional and fall back to the model defaults (for Seedance 2.5: 5 seconds and 720p); aspect\_ratio is optional too and is simply not sent when you leave it out.

```
curl https://api.makernice.com/v1/generations/quote \
  -H "Authorization: Bearer $MAKERNICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.5",
    "mode": "t2v",
    "prompt": "A paper boat drifts down a rain-soaked street at dusk, slow dolly-in, warm shop lights reflecting on the water",
    "duration": 5,
    "resolution": "720p",
    "aspect_ratio": "16:9"
  }'
```

The response contains an id starting with qt\_, the amount as a string of micro-USD (1,000,000 micro-USD equal 1 US dollar), the price\_version, an expires\_at timestamp and a facts object that echoes what was priced. The price stays locked for 12 minutes.

## Step 2: How do you create the Seedance 2.5 generation without being charged twice?

Post the quote id together with the same Seedance 2.5 input to POST /v1/generations, and add an Idempotency-Key header of 1 to 200 printable ASCII characters without spaces, such as a UUID or your own order id. The API answers 202 with an id starting with gen\_, status queued and billing held. If the network drops and you retry with the same key, you get the original generation back with 200 instead of a second charge.

```
curl https://api.makernice.com/v1/generations \
  -H "Authorization: Bearer $MAKERNICE_API_KEY" \
  -H "Idempotency-Key: demo-order-1842-attempt-1" \
  -H "Content-Type: application/json" \
  -d '{
    "quote_id": "qt_...",
    "input": {
      "model": "seedance-2.5",
      "mode": "t2v",
      "prompt": "A paper boat drifts down a rain-soaked street at dusk, slow dolly-in, warm shop lights reflecting on the water",
      "duration": 5,
      "resolution": "720p",
      "aspect_ratio": "16:9"
    }
  }'
```

Quote, create, poll, download: the four calls that turn a prompt into a video file.

## Step 3: How do you check the Seedance 2.5 status and download the video?

Poll GET /v1/generations/{id} every few seconds until the Seedance 2.5 generation ends. The status moves from queued to generating and ends as succeeded, failed or canceled; while Makernice confirms a result you may briefly see checking. When it succeeds, outputs\[0\].url points at the file. Request it with your key and you receive a 302 redirect, so let curl follow it with -L.

```
# Check the status until it is succeeded, failed or canceled
curl https://api.makernice.com/v1/generations/gen_... \
  -H "Authorization: Bearer $MAKERNICE_API_KEY"

# Download the file once succeeded
curl -L -o video.mp4 https://api.makernice.com/v1/generations/gen_.../outputs/0 \
  -H "Authorization: Bearer $MAKERNICE_API_KEY"
```

## Which errors will you see on your first Seedance 2.5 API calls?

First Seedance 2.5 API calls usually fail for one of six reasons, and each one comes back with its own status and error code. The table lists each code with the fix.

| Status | Error code | What it means | What to do |
| --- | --- | --- | --- |
| 400 | invalid\_request | A field the mode does not use, or an unknown field, was sent | Remove the field; check GET /v1/models for the mode |
| 422 | price\_unavailable | This model, mode and resolution has no price | Pick a listed resolution |
| 422 | quote\_mismatch | Model, mode, resolution or duration changed after quoting | Quote again with the final input |
| 410 | quote\_expired | The 12 minute quote window passed | Request a fresh quote |
| 409 | quote\_already\_used | The quote was already used for a generation | Request a fresh quote |
| 402 | insufficient\_balance | The wallet cannot cover the hold | Top up in the console |

Once this flow works, read [API integration best practices](https://makernice.com/blog/api-integration-best-practices/) for the idempotency, polling and rate-limit habits worth building in from day one. The [Seedance 2.5 model page](https://makernice.com/models/seedance-2-5/) lists every mode, field and price.

## Frequently asked questions

#### Is the Seedance 2.5 API OpenAI-compatible?

No. Makernice exposes a plain asynchronous REST API with quote, create and poll endpoints, and there is no official SDK. Any HTTP client, including curl, works.

#### How long does a Seedance 2.5 quote stay valid?

A quote locks the price for 12 minutes and can be used for exactly one generation. After that, create returns 410 quote\_expired and you request a new quote.

#### What happens to my money if a generation fails?

Creating a generation only holds the quoted amount. If the generation fails, or you cancel it while it is still queued, the hold is released in full. Note: if a finished output is blocked by output moderation for a policy violation, the run is still charged. You can contact support for a manual review.

#### Do I need an API key to see models and prices?

No. GET /v1/models and GET /v1/pricing are public. Quoting, creating, polling and downloading all require a key sent as a Bearer token.

#### Can you call the Seedance 2.5 API from cURL?

Yes. Every Seedance 2.5 call on Makernice is a plain HTTPS request, so the quote, create, poll and download examples on this page are complete curl commands. Send the key in an Authorization: Bearer header, the JSON body with -d, and add -L to the download so curl follows the 302 redirect to the file.

## Models in this post

Video

### Seedance 2.5

ByteDance's flagship for long takes: up to 30 seconds, 480p to 4K, and up to 16 reference images to keep every shot on-model. Audio is on by default.

By ByteDanceFrom $0.1152/s

https://makernice.com/models/seedance-2-5/
