Seedance API: video generation you can wire into your own app
Your backend posts a prompt, with images, clips or audio if you have them, and later picks up a finished MP4 hosted by Yovid. Credits sit on hold while the clip renders and come back if it fails.
Four steps from key to finished clip
- 1
Keep a key on your server
Make one under Settings → API keys. The secret is shown a single time, so put it straight into an environment variable or secrets manager. It never belongs in browser or mobile code.
export YOVID_API_KEY="sk_sd_..." - 2
Submit the job
Post JSON with a prompt and a model ID. Image, video and audio links are optional, and the ones you include decide how the clip is made. The reply comes back right away with a
task_id.POST/v1/videos/generationscurl -X POST https://yovid.ai/v1/videos/generations \ -H "Authorization: Bearer $YOVID_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "The ceramic mug from the photo turns slowly on a sunlit kitchen counter", "model": "seedance-2.0", "image_urls": ["https://example.com/mug.jpg"], "duration": 8, "aspect_ratio": "9:16" }'200 { "task_id": "kP4wX9nB2qLr7TzM0aVcE", "status": "pending", "created_at": "2026-12-03T14:05:22.000Z" } - 3
Check on it
Read the task every few seconds. It goes from
pendingtoprocessingand stops atcompletedorfailed. A finished task carries the MP4 link and the exact number of credits it used.GET/v1/tasks/{task_id}curl https://yovid.ai/v1/tasks/kP4wX9nB2qLr7TzM0aVcE \ -H "Authorization: Bearer $YOVID_API_KEY"200 { "task_id": "kP4wX9nB2qLr7TzM0aVcE", "status": "completed", "model": "seedance-2.0", "output": { "video_url": "https://media.yovid.ai/videos/video_kP4wX9nB2qLr7TzM0aVcE_1796306801000.mp4", "duration": 8, "quality": "720p" }, "credits_used": 40, "error": null, "created_at": "2026-12-03T14:05:22.000Z", "completed_at": "2026-12-03T14:06:41.000Z" } - 4
Reconcile the balance
Your key spends the same credits as your yovid.ai account. The credits endpoint splits them into what is held for running jobs and what you can still spend.
GET/v1/creditscurl https://yovid.ai/v1/credits \ -H "Authorization: Bearer $YOVID_API_KEY" { "total": 960, "reserved": 0, "available": 960 }
Four Seedance models, one request format
| Model | Length | Images / videos / audio | Credits per second | Who can call it | ||
|---|---|---|---|---|---|---|
| 480p | 720p | 1080p | ||||
| Seedance 2.0 Mini | 4–15 s | 9 / 1 / 0 | 1.16 | 2.5 | Every account | |
| Seedance 2.0 Fast | 4–15 s | 9 / 1 / 0 | 1.74 | 3.75 | Any plan or credit pack | |
| Seedance 2.0 | 4–15 s | 9 / 1 / 0 | 2.32 | 5 | 11.29 | Any plan or credit pack |
| Seedance 2.5 | 4–30 s | 30 / 10 / 10 | 3.05 | 6.1 | 18 | Any plan or credit pack |
Billing you can work out in advance
- pending · processing
- 40 on hold
- completed
- 40 charged
- failed
- 0 charged, hold returned
- Rates in the table are list prices per second of output. Your plan can change the final figure, and each task reports what it actually cost in
credits_used. - A reference clip is billed for its own length too. The server reads each clip’s duration from its MP4 or MOV header and adds those seconds to the output’s.
- If that duration can’t be read, the call returns
422withparam: video_urlsand nothing is put on hold. - On Seedance 2.5, sending
content_filter: falseraises the price by 10%. - Calls turned away for validation, plan or balance (422, 403, 402) hold nothing. A 502 means rendering never started, and it is not charged.
What each plan allows
| Free | Lite | Pro | Premium | |
|---|---|---|---|---|
| Seedance 2.0 Mini | ||||
| Seedance 2.0, 2.0 Fast and 2.5 | ||||
| 1080p output | ||||
| Videos rendering at once | 1 | 1 | 4 | 8 |
- A credit pack without a subscription opens all four models and 1080p, with 1 video rendering at a time.
- Every key gets 120 requests a minute, polling included.
- Space create calls from one IP address at least a second apart and keep them under 20 a minute.
- Clips started on yovid.ai count toward the same cap.
Before you integrate
- Can I call the API straight from a browser or mobile app?
- No. Whoever holds the key can spend your credits, so keep it on a server you run and let your front end talk to that server.
- My create call timed out. Should my code send it again?
- Not on its own. The create endpoint has no idempotency key, so if the first call did go through, a resend starts a second video and holds credits for it as well. Save every
task_idthe moment it arrives. - How do I choose between a start frame, start and end frames, and references?
- There is no
modefield. One image becomes the opening frame, two become the opening and closing frames, and three or more, or any video or audio link, are used as references. Addreference_mode: trueto treat one or two images as references instead. - Do jobs started on yovid.ai affect my API usage?
- Yes. They draw on the same credits and count toward your plan’s limit on videos rendering at once.
- How long does
output.video_urlkeep working? - It points at a copy saved in Yovid’s storage, so it still works after the task is over. Download the file if you want it in your own bucket.
- What happens to code that still asks for
seedance-1.5-pro? - Seedance 1.5 Pro (retired 12 November 2026) and Seedance 1.0 Pro Fast (retired 24 November 2026) answer
410 model_retiredbefore any credits are held. Move those calls to one of the four models above.