Skip to main content
POST
cURL
This is the Seedance Video Generation API audio video - first & last frame endpoint. Generate video with synchronized audio based on first and last frame images. All 4 models supported. Submit async task and return id, use query endpoint to get results.
Usage: Include text (prompt) and two image_url (role=first_frame first frame, role=last_frame last frame) in content, set generate_audio: true. ratio is adaptive to automatically match first frame image.

Authorizations

TT-API-KEY
string
header
required

Get your API key from the TTAPI Dashboard.

Body

application/json
model
enum<string>
required

Model ID

Available options:
doubao-seedance-2-5-260628,
doubao-seedance-2-0-260128,
doubao-seedance-2-0-fast-260128,
doubao-seedance-2-0-mini-260615
content
object[]
required

Input content list. Must include 2 image_url items (role: first_frame and last_frame), optional text and audio_url

Input content item

resolution
enum<string>
default:720p

Video resolution. Seedance 2.0 options: 480p, 720p, 1080p, 4k. Default 720p

Available options:
480p,
720p,
1080p,
4k
ratio
enum<string>
default:adaptive

Video aspect ratio. Default adaptive (auto), or specify a specific ratio

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

Video duration (seconds). Range [4, 15] or -1 (smart selection)

generate_audio
boolean
default:true

Whether to generate synchronized audio

watermark
boolean
default:false

Whether to add watermark

return_last_frame
boolean
default:false

Whether to return last frame image

callback_url
string

Callback URL

execution_expires_after
integer
default:172800

Task timeout threshold (seconds). Range [3600, 259200]

priority
integer
default:0

Execution priority. Range [0, 9]

safety_identifier
string

End user identifier, max 64 characters

tools
object[]

Tool configuration

service_tier
enum<string>
default:default

Service tier

Available options:
default

Response

200 - application/json

Task submitted successfully

id
string
required

Task ID

Last modified on October 22, 2026