Disclosure: I run HaryAI, one of the providers used below.

Seedance 2.5 is BytePlus's and Volcengine's video model. doubao-seedance-2-5-260628 is Volcengine's id for it; dreamina-seedance-2-5-260628 is BytePlus's id for the same model with fewer content limits. Both take text, an image, a first and last frame, or a reference video, and both run as an async task: you submit a request, get a task id back, poll it, then download the clip once it says succeeded.

Below is that task in both shapes the API understands: BytePlus's own ModelArk format (the same one Volcengine Ark speaks) and the OpenAI Videos format, for tooling that already talks to Sora. Then the same requests again against a gateway that passes both formats through unchanged and bills less, so the body never changes, only the host and key.

The models

Model Vendor id Resolutions Longest clip
Seedance 2.5 doubao-seedance-2-5-260628 480p, 720p, 1080p 30 s
Seedance 2.5 Flash doubao-seedance-2-5-flash-261115 480p, 720p 30 s
Seedance 2.5 Unlock dreamina-seedance-2-5-260628 480p, 720p, 1080p 30 s
Seedance 2.5 Flash Unlock dreamina-seedance-2-5-flash-261115 480p, 720p 30 s

Sound is generated on request, at the same price with or without it. Seedance 2.5 takes up to 30 reference images, 10 reference videos and 10 reference audio clips; Flash takes fewer: 10 images, 5 videos, 5 audio. Always set a length: without one, the hold on your balance is for the longest clip (30 seconds) until the task finishes, and a small balance can get the request refused outright.

Text to video, in BytePlus's own format

This is the ModelArk request shape BytePlus and Volcengine both publish for Seedance. Submit:

curl https://api.haryai.com/api/v3/contents/generations/tasks \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "doubao-seedance-2-5-260628", "content": [{"type": "text", "text": "A cat dancing in the rain"}], "duration": 5, "resolution": "720p", "ratio": "16:9" }' 

That returns {"id": "<task id>"}. Poll it:

curl https://api.haryai.com/api/v3/contents/generations/tasks/<task id> \ -H "Authorization: Bearer $API_KEY" 

status moves from queued to running to succeeded or failed; poll every few seconds. Once it's succeeded, the clip is at content.video_url:

curl -L -o video.mp4 "<content.video_url>" 

That link needs no key and expires after 24 hours, so save the file before then.

Image to video

Same submit, with an image reference added to content alongside the text prompt:

{ "model": "doubao-seedance-2-5-260628", "content": [ {"type": "text", "text": "The cat in the photo starts dancing"}, {"type": "image_url", "image_url": {"url": "https://example.com/cat.jpg"}, "role": "first_frame"} ], "duration": 5, "resolution": "720p" } 

role is required on every image_url item: first_frame for a starting frame, last_frame for an ending one (send both to interpolate between them, with identical first and last frames allowed), reference_image for a style or subject reference rather than a frame. A video_url reference takes role: "reference_video", an audio_url reference role: "reference_audio". The image can be a plain URL or a base64 data: URL; the polling and download steps don't change.

To continue a shot, submit with "return_last_frame": true. The response then also carries content.last_frame_url, a 24-hour image link, which you can feed back in as the next clip's starting frame.

This is BytePlus's and Volcengine's own request and response shape, passed through unchanged, so the same body runs the same way against your own account, with your own key. Point it at BytePlus's host, https://ark.ap-southeast.bytepluses.com, with BytePlus's own id for the model, dreamina-seedance-2-5-260628 (API reference, pricing). Or point it at Volcengine's host, https://ark.cn-beijing.volces.com, with Volcengine's id, doubao-seedance-2-5-260628 (API reference, pricing). Both paths are the same: /api/v3/contents/generations/tasks.

Or the OpenAI Videos format

If your code already speaks OpenAI's Videos API, the one written for Sora, the same model answers there too, under a different base URL:

from openai import OpenAI client = OpenAI(base_url="https://api.haryai.com/v1", api_key=API_KEY) video = client.videos.create_and_poll( model="doubao-seedance-2-5-260628", prompt="A rainy neon alley at night, one red umbrella", seconds="8", size="1280x720", ) client.videos.download_content(video.id).write_to_file("clip.mp4") 

create_and_poll submits and waits for you. For image to video in this format, the reference goes in input_reference (a URL, or an uploaded file in a multipart request); first_frame and last_frame work the same way, for a starting and ending frame. size picks the resolution tier by its longer side: 1920 or more is 1080p, 1280 or more is 720p, anything smaller is 480p.

Billing, either way

Both formats bill the same way: (input video seconds + output seconds) × width × height × 24 ÷ 1024 billing tokens, at BytePlus's published per-token rate. Reference images add nothing to the bill.

Running it on HaryAI instead

Everything above runs unchanged against https://api.haryai.com, with a HaryAI key instead of a BytePlus or Volcengine one. The reason to point here is price: HaryAI bills Seedance 2.5 at 12% off BytePlus's official per-second rate. The Unlock models, the dreamina- ids, cost more: the same model with fewer content limits, at a smaller discount. A failed or refused task is refunded in full.

FAQ

Do I need a BytePlus or Volcengine account to use this?
Only if you call their endpoints directly. Through a gateway like HaryAI, one key covers Seedance without opening an account with either vendor.

Am I charged for a failed video?
On HaryAI, no. If a task fails or is turned down by moderation, everything held for it goes back to your balance.

Why bother setting duration?
Without it, the full price of the longest clip (30 seconds) is held while the task runs, and a request can be refused if your balance doesn't cover that. You're billed for the real length once it finishes.

More on this model: https://haryai.com/en/seedance-2-5