Seedance Video
Seedance Video
Seedance 2.5, 2.0 and 2.0 Mini request fields, generation modes, examples and pricing
POST
Send a JSON body to
POST https://api.maxapi.io/api/v1/task/submit with an API key in the Authorization header.
Models and limits
Reference limits apply to
reference-to-video. All three models support 720p and 1080p.
Request fields
Media inputs
Pass each field as a JSON array of URL strings, even for a single file. For example, use"imageUrls": ["https://cdn.example.com/start.jpg"]. Each URL must point directly to a media file that MaxAPI can fetch over HTTP(S). Replace the sample URLs with your own. A signed URL can be used if it stays valid for the duration of the task and can be fetched without extra headers or cookies. Local paths, Base64 data URLs and file-sharing preview pages do not work as media links.
input.imageUrls
- Image to video: Pass exactly one image in
imageUrls[0]. It becomes the opening frame. - First and last frames: Pass exactly two images.
imageUrls[0]is the opening frame andimageUrls[1]is the closing frame. Setmodetofirst-last-frameand omitvideoUrlsandaudioUrls. - Reference to video: Use images to guide the subject, appearance or style. You can combine them with reference video and audio. The limit is 30 images for 2.5 and 9 for 2.0 or Mini. Reference images have no separate charge.
input.videoUrls
- Use in
reference-to-videoto guide motion, camera movement or scene action. A video can be the only reference, or you can combine it with images and audio. - Send direct MP4 or MOV links. For 2.5, use up to 10 clips with a combined duration of at most 30 seconds. For 2.0 or Mini, use up to 3 clips totaling at most 15 seconds.
- MaxAPI reads each source file to get its duration. The reference-video charge uses the sum of source durations.
input.durationstill sets the output length. If the durations cannot be read or their sum exceeds the limit, the submission returns HTTP 400.
input.audioUrls
- Use in
reference-to-videofor an audio reference such as music, rhythm or ambience. Provide at least one image or video in the same request. For example,imageUrlscan hold a product photo andaudioUrlscan hold a link to a rhythm track. - Pass up to 10 audio URLs for 2.5 or up to 3 for 2.0 or Mini. Reference audio has no separate charge.
audioUrlssupplies source material.input.audiocontrols whether the generated video contains audio. Setinput.audiotofalsefor a silent output.
Generation modes
If you omit
mode, no media selects text-to-video, a single image by itself selects image-to-video, and other valid media combinations select reference-to-video. Two images without a mode become references. Always set mode to first-last-frame to use them as the opening and closing frames.
Switch between modes in the request examples. To use the first and last frames example with another Seedance model, change model to its ID from the table above.
Get the result
Readdata.taskId from the submission response. Poll Query Task or use a webhook. When data.status is SUCCESS, read the video URL from data.result.urls[0]. Stop polling on SUCCESS, FAILURE, TIMEOUT or CANCELLED.
Pricing
Rates are in USD per second. For a request with reference video, use the output rate in the fourth column and add the reference rate multiplied by the total reference video duration. Reference images and audio have no separate charge.
One credit is $0.01. Round the total cost up to a whole credit. A 5-second Seedance 2.5 request at 720p with a 5-second reference video costs 170 credits ($1.70).