Skip to content

查询:任务结果

概览

  • 请求方法:GET
  • 路径:/task/{task_id}
  • 内容类型:application/json
  • Tags:视频模型(Video)/vidu视频

认证

  • Header: Authorization: Bearer <token>

路径参数

参数类型必填描述
task_idstring任务ID

示例请求

bash
curl -X GET "https://api.gpt.ge/task/809413373237157888" \
  -H "Authorization: Bearer sk-xxxx"

示例返回(200)

json
{
  "id":"817971131377016832",
  "state":"success",
  "err_code":"",
  "creations":[
    {
      "id":"817971246397415422",
      "url":"https://prod-ss-vidu.../video.mp4",
      "cover_url":"https://prod-ss-vidu.../cover.jpeg",
      "watermarked_url":""
    }
  ]
}