GET
/
video
/
{task_id}
/
result
curl --request GET \
  --url https://geekai.dev/api/v1/video/{task_id}/result \
  --header 'Authorization: Bearer <token>'
{
  "model": "cogvideox-flash",
  "task_id": "bigmodel-video-123456789",
  "task_status": "success",
  "progress": 85,
  "video_result": {
    "url": "<string>",
    "cover_image_url": "<string>",
    "duration": 123,
    "size": 123,
    "format": "mp4",
    "resolution": "1920x1080",
    "fps": 30,
    "created_at": "2023-11-07T05:31:56Z"
  },
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": {}
  }
}

The response data format is exactly the same as the create video interface. You only need to pay attention to the task_status and video_result field values.

cURL Request Example

curl --location --request GET 'https://geekai.dev/api/v1/video/bigmodel-video-xxxxx/result' \
    --header 'Authorization: Bearer {YOUR_GEEKAI_API_KEY}'

Authorizations

Authorization
string
header
required

token

Path Parameters

task_id
string
required

task ID

Response

200
application/json

successful response

The response is of type object.