Skip to main content
GET
/
services
/
aigc
/
tasks
Query video generation task result
curl --request GET \
  --url https://api.aisa.one/apis/v1/services/aigc/tasks \
  --header 'Authorization: Bearer <token>'
{
  "request_id": "<string>",
  "output": {
    "task_id": "<string>",
    "task_status": "PENDING",
    "video_url": "<string>",
    "submit_time": "<string>",
    "scheduled_time": "<string>",
    "end_time": "<string>",
    "orig_prompt": "<string>"
  },
  "usage": {
    "input_video_duration": 123,
    "output_video_duration": 123,
    "duration": 123,
    "video_count": 123,
    "SR": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

task_id
string
required

Response

Task status response

request_id
string
output
object
usage
object