Videos
Upload reference asset
Upload a reference image or video and optionally submit it for review on the BytePlus Seedance channel.
POST
Upload reference asset
Use a production DGrid Model API Key. You can skip uploading if you already have a suitable HTTPS link that the server can access.
HTTP
Upload a file
Send one image or video in the multipartfile field. The server detects the file type from its contents. Let cURL or your HTTP client set the multipart boundary automatically.
The public gateway may enforce a smaller request body limit. The file still needs to meet model-specific requirements such as dimensions, duration, frame rate, and input combinations.
Upload and submit for review
Set the optional query parametersubmit_for_review to a single true to submit the file for review. Omit it or send false to upload only. A submitted video’s duration must be readable at upload time.
201 confirms upload. A submission for review also returns an asset_id. Query that ID for the review result.
To use a signed upload URL in a new request after it expires, upload the file again to obtain a fresh URL. You can also use the ID of an
Active asset as described in Create video.
Check review status
SendGET /v1/video-assets/{asset_id} with credentials for the same DGrid user. Use the asset_id from the upload response. The request has no body.
Status values are case-sensitive. Keep the asset ID and investigate any unrecognized status. You can resume polling with that ID if the local wait times out.
Upload and review errors
For409 video_asset_submission_unconfirmed, the same asset is being submitted or upstream acceptance is uncertain. If you have an asset_id, query it. Otherwise, wait and retry submission with the same file. Contact DGrid support if the error persists. The video creation idempotency key applies to video creation requests only.
Authorizations
Query Parameters
Response
Reference asset uploaded.

