Skip to main content
POST
/
v1
/
videos
Seedance 2.0 Text-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": "A small cat running on the grass, sunny day, camera following the movement"
    }
  ],
  "seconds": "5",
  "size": "720p",
  "ratio": "16:9",
  "generate_audio": true
}
'
{
  "id": "<string>",
  "task_id": "<string>",
  "status": "<string>"
}

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
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 image. Supported by the 2.0 series.

safety_identifier
string

Unique terminal user identifier for compliance detection. Only supported by the 2.0 series, length not exceeding 64 characters.

Response

Submission successful, returns a video task object.

id
string
task_id
string
status
string

Task status.