Videos
Create video
Create an asynchronous video generation task and save the task ID for polling.
POST
Create video
Use a production DGrid Model API Key with model access and enough available balance for the estimated cost. The following parameters describe Seedance 2.5. See the video generation guide for credential setup and a complete walkthrough.
Send the body as
HTTP
After an asset submitted through DGrid by the same user reaches
Seedance 2.5 request parameters
Save this example as
request.json.
application/json with a Bearer token. Set a unique Idempotency-Key for each new logical task. Submitting the request may incur charges.
202 means DGrid accepted the task and reserved the estimated cost. Save id to query the task. This response uses illustrative values.
Reference media
On the BytePlus Seedance channel, add media items to thecontent array alongside the text prompt. Use each upload’s complete HTTPS URL, or provide a server-accessible HTTPS link. External reference videos must be direct MP4 links with readable duration and HTTP Range support.
Active, you can use asset://<IMAGE_ASSET_ID> in image_url.url or asset://<VIDEO_ASSET_ID> in video_url.url. DGrid checks the official review status before reserving the estimated cost and again before submitting the generation request upstream. An Active asset can still be referenced after its signed upload link expires. Model input and content requirements still apply. See Upload reference asset.
Idempotency and errors
If a creation request times out or returns a temporary503 before you receive a task ID, retry with the same API key, idempotency key, and request body. Any change to the body, including a signed URL, may cause a conflict. If acceptance is still uncertain, check or recover the original request before making a new one. If you already have the task ID, query that task.
Check the HTTP status first. Error details can appear as an error string or an error.code field. A gateway error can have a non-JSON body.
Authorizations
Headers
Body
application/json

