Skip to main content
POST
/
v1
/
chat
/
completions
seedance-1-0-pro-250528 (text to video)
curl --request POST \
  --url https://api.example.com/v1/chat/completions
BytePlus’s GPTProto format for the text to video API.
curl --location 'https://gptproto.com/api/v3/bytedance/seedance-1-0-pro-250528/text-to-video' \
--header 'authorization: sk-xx' \
--data '{
    "prompt": "The camera enters a bright and cozy band rehearsal room—empty of people but full of instruments: guitars, amps, bass, drums. The scene is rich in realistic detail. [Slow pan] as the drumhead subtly quivers in the silence.",
    "aspect_ratio": "16:9",
    "resolution": "480p",
    "duration": "5",
    "seed": -1
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
promptstring✅ Yes-Video generation prompt describing the desired video content
aspect_ratiostring❌ No16:9Video aspect ratio (e.g., 16:9, 9:16, 1:1)
resolutionstring❌ No480pOutput video resolution (e.g., 480p, 720p, 1080p)
durationstring❌ No5Video duration in seconds
seedinteger❌ No-1Random seed for reproducible results (-1 for random)