Skip to main content
POST
/
v1
/
videos
curl -X POST https://gogogotoken.com/v1/videos \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedance-2-0-fast",
    "prompt": "一款智能手表在白色展示台上缓慢旋转,柔和棚拍光线,镜头平稳推进",
    "duration": 5
  }'
{
  "id": "task_1234567890",
  "status": "queued",
  "model": "doubao-seedance-2-0-fast"
}
OpenAI 兼容视频接口与 /v1/video/generations 行为一致,便于迁移使用 OpenAI Video API 格式的客户端。
curl -X POST https://gogogotoken.com/v1/videos \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedance-2-0-fast",
    "prompt": "一款智能手表在白色展示台上缓慢旋转,柔和棚拍光线,镜头平稳推进",
    "duration": 5
  }'
{
  "id": "task_1234567890",
  "status": "queued",
  "model": "doubao-seedance-2-0-fast"
}
参数和响应格式与 GET /v1/video/generations/{task_id} 相同。

请求体

model
string
default:"doubao-seedance-2-0-fast"
required
视频模型 ID。
prompt
string
default:"一款智能手表在白色展示台上缓慢旋转,柔和棚拍光线,镜头平稳推进"
required
视频描述。
duration
number
default:5
视频时长。