获取任务进度、结果(免费
POST
{{BASE_URL}}/pro/viggle/video-task/by-ids最后修改时间: 3 天前
ids 为 taskID 目前仅支持一个ID;多个ID进来只会去取第一个结果
状态码对应表
"0": "SUCCESS",
"2": "FAILURE",
"3": "IN_PROGRESS"
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer your-hk-key
content-type
string
必需
示例值:
application/json
Body 参数application/json
ids
array[string]
必需
示例
{
"ids": [
"e254d8b6-ddc5-47cf-ba95-da92a63174dc"
]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"code": 0,
"message": "ok",
"ts": "",
"reason": "",
"data": [
{
"taskID": "e254d8b6-ddc5-47cf-ba95-da92a63174dc",
"name": "Diulio Sephus1720193129",
"status": 0,
"image": {
"id": "f7831b4f-657a-4cd1-8b44-04ba0aff61ed",
"name": "163-q",
"url": "https://d1o0mfcotrd9q.cloudfront.net/image-asset/18ab38a4-b013-4afa-b031-e0e901ee7606.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA34TJNLFYRSUCDEUH%2F20240705%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240705T153136Z&X-Amz-Expires=43200&X-Amz-SignedHeaders=host&X-Amz-Signature=f0e9ed80ffc95b6d207d4e6ab4cd29cac5609b1b2c919b60eda5b75958b7546d",
"width": 0,
"height": 0
},
"template": {
"id": "67d1cdaf-d1fb-4bdf-959e-72c5a80b23e4",
"command": "rickroll_never_gonna_give_you_up",
"webCommand": "Rickroll Never Gonna Give You Up",
"description": "Rick Roll beginning",
"webStatus": 0,
"dcStatus": 0,
"appStatus": 0,
"processedURL": "https://d1o0mfcotrd9q.cloudfront.net/template/b130f4ab-0dd6-439f-b05f-f9f1bf51383f.mp4",
"processedHdURL": "",
"processedCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822894720-c300cc94-581b-4a4e-9331-65bbd5ca315c.jpg",
"bgURL": "",
"bgCoverURL": "",
"displayURL": "https://d1o0mfcotrd9q.cloudfront.net/template/7e266c1a-20ba-4e11-8fc9-8101e358f226.mp4",
"displayHdURL": "",
"displayCoverURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822895423-34350ebc-be64-4400-8b50-cfc01dfaa4f7.jpg",
"gifURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822897007-762018cc-7bbe-455e-84d2-95b88d62cac0.gif",
"webPURL": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1719822895792-4bcdc6f6-3726-4193-8ed1-418547a9122b.webp",
"source": "YouTube: Rick Astley",
"sort": 0,
"width": 1280,
"height": 960
},
"videoDuration": 6.64,
"bgMode": 2,
"modelInfoID": 3,
"optimize": true,
"watermark": 0,
"freeCredits": 0,
"planCredits": 0,
"purchasedCredits": 0,
"mqType": 0,
"result": "https://d1o0mfcotrd9q.cloudfront.net/gras/725cd928-a588-4f1f-ab01-fd350cdb20ef.mp4",
"resultCover": "https://d1o0mfcotrd9q.cloudfront.net/web-template/1720193136070-241cae7f-82a9-4106-8380-adb123bf7847.jpg",
"createdAt": "2024-07-05T15:25:30.034Z"
}
]
}
最后修改时间: 3 天前