Makernice
← All posts
A white paper boat drifting down a rain-soaked cobblestone street at dusk, warm shop lights reflecting on the waterGuides

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

Makernice Team · ·

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

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"
    }
  }'
3D clay illustration of a track running through four pedestals, a ticket, a padlock, an hourglass and a download arrow, ending at a film frame
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.

StatusError codeWhat it meansWhat to do
400invalid_requestA field the mode does not use, or an unknown field, was sentRemove the field; check GET /v1/models for the mode
422price_unavailableThis model, mode and resolution has no pricePick a listed resolution
422quote_mismatchModel, mode, resolution or duration changed after quotingQuote again with the final input
410quote_expiredThe 12 minute quote window passedRequest a fresh quote
409quote_already_usedThe quote was already used for a generationRequest a fresh quote
402insufficient_balanceThe wallet cannot cover the holdTop up in the console

Once this flow works, read API integration best practices for the idempotency, polling and rate-limit habits worth building in from day one. The Seedance 2.5 model page 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