GET
/
video
/
{task_id}
/
result
视频任务查询接口
curl --request GET \
  --url https://geekai.co/api/v1/video/{task_id}/result \
  --header 'Authorization: Bearer <token>'
{
  "model": "cogvideox-flash",
  "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "task_status": "succeed",
  "video_result": {
    "url": "<string>",
    "cover_image_url": "<string>",
    "duration": 123,
    "revised_prompt": "<string>"
  },
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": {}
  }
}
异步创建的视频任务(async参数为true)需要通过视频结果获取接口查询视频生成状态,该接口响应数据格式和创建视频接口完全一致,只需要关注 task_statusvideo_result 字段值即可。

请求/响应参数明细

Authorizations

Authorization
string
header
required

JWT认证token

Path Parameters

task_id
string<uuid>
required

视频生成任务ID

Response

200
application/json

成功响应

The response is of type object.