Documentation Index
Fetch the complete documentation index at: https://doc.superaiglobal.com/llms.txt
Use this file to discover all available pages before exploring further.
请求信息
- 方法: GET
- URL:
https://api.superaiglobal.com/v1/queryTask/{taskUUID}/creations
请求头
| 字段 | 值 | 描述 |
|---|
| Content-Type | application/json | 数据交换格式 |
| Authorization | Bearer {your api key} | 将 {your api key} 替换为您的 Bearer token |
路径参数
| 参数名称 | 类型 | 是否必填 | 描述 |
|---|
| taskUUID | String | 是 | createTask 返回的任务 ID |
请求示例
curl -X GET "https://api.superaiglobal.com/v1/queryTask/f5739925-fa8f-41c8-8f33-88aeba1ed365/creations" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key_here"
响应体
| 字段 | 类型 | 描述 |
|---|
| code | String | 生成状态码,创建成功,默认值为200,异常情况,见错误码列表 |
| message | String | 日志信息 |
| data | Object | |
| data.taskStatus | String | 处理状态: queued 任务排队中 running 任务处理中 successed 任务成功 failed 任务失败 |
| data.result | Json | 结果信息 |
响应示例
任务排队中
{
"code": "200",
"message": "success",
"data": {
"taskStatus": "queued",
"result": {}
}
}
任务处理中
{
"code": "200",
"message": "success",
"data": {
"taskStatus": "running",
"result": {}
}
}
任务成功完成
{
"code": "200",
"message": "success",
"data": {
"taskStatus": "succeeded",
"result": {
"status": "successed",
"time_used": 75,
"video_url": "https://upload.superaiglobal.com/upload/aigc_video/24/24b65313f9f5cdda46327058e1f551f2.mp4",
"thumb_path": "https://upload.superaiglobal.com/upload/video_thumb/20251127/56b4ba3a19d9cfa30778f6d7d64844da.jpg"
}
}
}
任务失败
{
"code": "404",
"message": "Task not found: undefined",
"data": null
}