Skip to main content
POST
/
v1
/
videos
Seedance 2.0 Multimodal Reference to Video
curl --request POST \
  --url https://api.powertokens.ai/v1/videos \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "dreamina-seedance-2-0-260128",
  "media": [
    {
      "type": "text",
      "text": "Supplementary prompt"
    },
    {
      "type": "reference_image",
      "url": "https://example.com/img1.jpg"
    },
    {
      "type": "reference_video",
      "url": "https://example.com/motion.mp4"
    },
    {
      "type": "reference_audio",
      "url": "https://example.com/audio.mp3"
    }
  ],
  "seconds": "-1",
  "size": "720p",
  "ratio": "16:9",
  "generate_audio": false,
  "return_last_frame": false,
  "safety_identifier": "user_123"
}
'

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> in the request header.

Body

application/json
model
enum<string>
required

Video generation model name. Fixed to dreamina-seedance-2-0-260128.

Available options:
dreamina-seedance-2-0-260128
media
object[]
required

Multimodal input array. 2.0 supports text, first_frame, last_frame, reference_image, reference_video, reference_audio.

Minimum array length: 1
seconds
enum<string>
default:5

Video generation duration (seconds) as a string. Supports "-1" (smart selection) or "4" to "15".

Available options:
4,
5,
6,
7,
8,
9,
10,
11,
12,
15,
-1
Example:

"5"

size
enum<string>
default:720p

Video output resolution specification. Defaults to 720p.

Available options:
480p,
720p,
1080p
ratio
enum<string>
default:16:9

Video aspect ratio. Text-to-Video defaults to 16:9, Image-to-Video defaults to adaptive.

Available options:
16:9,
4:3,
1:1,
3:4,
9:16,
21:9,
adaptive
seed
integer
default:-1

Random seed, range [-1, 4294967295].

Required range: -1 <= x <= 4294967295
watermark
boolean
default:false

Whether to add a watermark.

generate_audio
boolean
default:true

Whether to generate sound synchronized with the visuals. Supported by the 2.0 series.

return_last_frame
boolean
default:false

Whether to return the last frame image.

safety_identifier
string

Unique identifier for the end user, used for compliance checks. Supported only by the 2.0 series, length not exceeding 64 characters.

Response

200

Submission successful, returns a video task object.