说明
Vidu Q3 Pro 视频生成模型,采用异步任务机制,提交后通过 task_id 查询结果。请求示例
返回示例
视频生成为异步任务,提交成功后使用返回的 task_id 轮询结果,详见获取视频任务状态。
Webhook 回调
如需任务完成后自动通知,在请求中加入callback_url 参数:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
使用 Vidu Q3 Pro 生成视频
curl https://api.qclawrouter.com/v1/video/generations \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "vidu-q3-pro",
"prompt": "A cat playing in the garden"
}'
{
"task_id": "task_xxx",
"status": "pending",
"created_at": 1677652288
}
callback_url 参数:
{
"model": "vidu-q3-pro",
"prompt": "A cat playing in the garden",
"callback_url": "https://your-server.com/webhook"
}