Models

Loading...

Seedance 2.0 API

ByteDance Seedance 2.0 video generation model

Endpoint

POST https://api.hedra.com/v3/models/seedance-20

Example request

curl -X POST "https://api.hedra.com/v3/models/seedance-20" \
  -H "Authorization: Key $HEDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input": {"prompt": "a cinematic shot of a city at dusk"}}'

Parameters

num_outputsinteger

Number of outputs generated per job. Only 1 is supported.

promptstringrequired

Generation prompt.

aspect_ratiostringrequired

Output aspect ratio.

resolutionstringrequired

Output resolution.

duration_msintegerrequired

Duration in ms.

generate_audioboolean

Whether to generate native audio for the video.

start_image

Start frame (image-to-video). With an aspect ratio from 0.4 to 2.5 and at most 30 MB.

end_image

End frame (first-last-frame-to-video). With an aspect ratio from 0.4 to 2.5 and at most 30 MB.

imagesarray

Reference images. 1 to 9 images, each at most 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB.

videosarray

Reference videos. 1 to 3 videos, each from 2s to 15s and at most 524.2 MB, at most 15s in total.

audiosarray

Reference audios. 1 to 3 audio files, each at most 104.8 MB, at most 15s in total.

qualitystringrequired

Quality level to generate at.