Skip to main content
POST
/
api
/
v3
/
contents
/
generations
/
tasks
seedance-1-0-lite-i2v-250428 (image to video)
curl --request POST \
  --url https://api.example.com/api/v3/contents/generations/tasks
BytePlus’s official format for the image to video API.
curl -X POST "https://gptproto.com/api/v3/contents/generations/tasks" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "seedance-1-0-lite-i2v-250428",
  "prompt": "A serene landscape with mountains and a lake at sunset",
  "loop": false,
  "duration": "5s",
  "dimension": "768:768",
  "seed": -1
}'
{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
modelstring✅ Yesseedance-1-0-lite-i2v-250428The model identifier for video generation (endpoint ID)
promptstring✅ Yes-Video generation prompt describing the desired video content
loopboolean❌ NofalseWhether to generate a looping video
durationstring❌ No5sVideo duration. Options: 5s, 10s
dimensionstring❌ No768:768Video resolution. Options: 768:768, 768:1280, 1280:768
seedinteger❌ No-Random seed for reproducible results (range: 1-2147483647)
logoobject❌ No-Watermark configuration with position and url