Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qclawrouter.com/llms.txt

Use this file to discover all available pages before exploring further.

说明

doubao-seedance-1-5-pro 视频生成模型,采用异步任务机制,提交后通过 task_id 查询结果。

请求示例

curl https://api.qclawrouter.com/v1/video/generations \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedance-1-5-pro",
    "prompt": "A cat playing in the garden"
  }'

返回示例

{
  "task_id": "task_xxx",
  "status": "pending",
  "created_at": 1677652288
}
视频生成为异步任务,提交成功后使用返回的 task_id 轮询结果,详见获取视频任务状态

Webhook 回调

如需任务完成后自动通知,在请求中加入 callback_url 参数:
{
  "model": "doubao-seedance-1-5-pro",
  "prompt": "A cat playing in the garden",
  "callback_url": "https://your-server.com/webhook"
}