查询:单个任务
GET
https://api.chatgptsb.com/runway/tasks/{TaskID}
提示
生成视频
与 任务查询
均可获取到高清无水印视频链接,一般只有视频任务过期后才需要使用该接口获取。获取到的视频链接请尽快下载,否则账号轮换后,不可再次获取
请求参数
Path 参数
TaskID
string
必需
Header 参数
Content-Type
string
可选
示例值:
application/json
Authorization
string
可选
示例值:
Bearer sk-xxxx
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.chatgptsb.com/runway/tasks/' \
--header 'Authorization: Bearer sk-xxxx' \
--header 'Content-Type: application/json'
返回响应
🟢200成功
application/json
Body
task
object
必需
id
string
必需
name
string
必需
image
null
必需
createdAt
string
必需
updatedAt
string
必需
taskType
string
必需
options
object
必需
status
string
必需
error
null
必需
progressText
null
必需
progressRatio
string
必需
estimatedTimeToStartSeconds
null
必需
artifacts
array [object {18}]
必需
sharedAsset
null
必需
示例
{
"task": {
"id": "fc4a68aa-4280-42cb-b55c-e1d9a64960e0",
"name": "Gen-2 1675247627, An older man playing, y3jpg, M 5",
"image": null,
"createdAt": "2024-07-26T16:40:43.864Z",
"updatedAt": "2024-07-26T16:42:04.782Z",
"taskType": "gen2",
"options": {
"name": "Gen-2 1675247627, An older man playing, y3jpg, M 5",
"seconds": 4,
"gen2Options": {
"mode": "gen2",
"seed": 1675247627,
"interpolate": true,
"upscale": false,
"watermark": true,
"motion_score": 22,
"use_motion_score": true,
"use_motion_vectors": false,
"text_prompt": "An older man playing piano, lit from the side.",
"image_prompt": "https://d2jqrm6oza8nb6.cloudfront.net/previews/8bbcaa07-509e-467e-af6e-1fa8f21bff3f.jpg?_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXlIYXNoIjoiNGExOWNhOTE3M2FlMGM5NSIsImJ1Y2tldCI6InJ1bndheS1kYXRhc2V0cyIsInN0YWdlIjoicHJvZCIsImV4cCI6MTcyMjEyNDgwMH0.EajrIuHWvNutCTsT6moNFO8PBhCUiYj7H5KF2E3WwOc",
"init_image": "https://d2jqrm6oza8nb6.cloudfront.net/previews/8bbcaa07-509e-467e-af6e-1fa8f21bff3f.jpg?_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXlIYXNoIjoiNGExOWNhOTE3M2FlMGM5NSIsImJ1Y2tldCI6InJ1bndheS1kYXRhc2V0cyIsInN0YWdlIjoicHJvZCIsImV4cCI6MTcyMjEyNDgwMH0.EajrIuHWvNutCTsT6moNFO8PBhCUiYj7H5KF2E3WwOc"
},
"exploreMode": false,
"assetGroupName": "Generative Video",
"recordingEnabled": true
},
"status": "SUCCEEDED",
"error": null,
"progressText": null,
"progressRatio": "1",
"estimatedTimeToStartSeconds": null,
"artifacts": [
{
"id": "3c33bee5-5d50-4a6d-bb7d-a690496ca2ce",
"createdAt": "2024-07-26T16:42:04.734Z",
"updatedAt": "2024-07-26T16:42:04.734Z",
"userId": 17792681,
"createdBy": 17792681,
"taskId": "fc4a68aa-4280-42cb-b55c-e1d9a64960e0",
"parentAssetGroupId": "bffe20f1-b5c6-4bc1-a32f-bb71c8148adc",
"filename": "Gen-2 1675247627, An older man playing, y3jpg, M 5.mp4",
"url": "https://dnznrvs05pmza.cloudfront.net/9773beb4-39c0-417f-9f4e-f2fd6dc213d5.mp4?_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXlIYXNoIjoiNTI1MjM4NDI3NDcyZWM1NCIsImJ1Y2tldCI6InJ1bndheS10YXNrLWFydGlmYWN0cyIsInN0YWdlIjoicHJvZCIsImV4cCI6MTcyMjEyNDgwMH0.5wlX55clcZqVVzGi48i-ReAB3tpJSkpTRcw6WL8GclQ",
"fileSize": "1340124",
"isDirectory": false,
"previewUrls": [
"https://dnf8butk8bbsy.cloudfront.net/task_artifact_previews/3312f869-e2c2-480d-85eb-5c06490a6171.jpg?_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXlIYXNoIjoiNjE0ZGEwYjBjNzNhYTkzNSIsImJ1Y2tldCI6InJ1bndheS11cGxvYWRzLXByb2QiLCJzdGFnZSI6InByb2QiLCJleHAiOjE3MjIxMjQ4MDB9.jiuoC4Ev5KFglJUEtwKYMyGbtoIMec1GUhSe_y8kx-w",
"https://dnf8butk8bbsy.cloudfront.net/task_artifact_previews/25d1070f-71b7-45ae-ae57-b4fb5c7e0086.jpg?_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXlIYXNoIjoiZmE2MmNjYjdkZjg1MDlkOCIsImJ1Y2tldCI6InJ1bndheS11cGxvYWRzLXByb2QiLCJzdGFnZSI6InByb2QiLCJleHAiOjE3MjIxMjQ4MDB9.tmc-uu0TVBixnJYTjC5mQCVxgBvaK4ppEV2N7BjKzxE",
"https://dnf8butk8bbsy.cloudfront.net/task_artifact_previews/0c13dd88-d14d-49ed-bea4-f526fd820311.jpg?_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXlIYXNoIjoiZGZiOTEwMGVmNTkzMzFkOCIsImJ1Y2tldCI6InJ1bndheS11cGxvYWRzLXByb2QiLCJzdGFnZSI6InByb2QiLCJleHAiOjE3MjIxMjQ4MDB9.9eqVp2pTCmI8SUuYga3slh-wqp5Fe2ndRPFhpiJ9IPQ",
"https://dnf8butk8bbsy.cloudfront.net/task_artifact_previews/6a997662-f054-41ec-a124-2402002bc50f.jpg?_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXlIYXNoIjoiNjNjOTA1ODRjMjM3ZGU2MyIsImJ1Y2tldCI6InJ1bndheS11cGxvYWRzLXByb2QiLCJzdGFnZSI6InByb2QiLCJleHAiOjE3MjIxMjQ4MDB9.oxQiSRQWhdOwPrdh--K4D3Jdh-KxCEASGwt7_zKWMNE",
"https://dnf8butk8bbsy.cloudfront.net/task_artifact_previews/a5483fec-5c29-40c1-8317-73330c6865b7.jpg?_jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXlIYXNoIjoiYTQ1NTM0NDc0ODViMzcwZSIsImJ1Y2tldCI6InJ1bndheS11cGxvYWRzLXByb2QiLCJzdGFnZSI6InByb2QiLCJleHAiOjE3MjIxMjQ4MDB9.3_b5AzPdEWPah140L4WETz4ANaoEkN8GESkexhdREDo"
],
"private": true,
"privateInTeam": true,
"deleted": false,
"reported": false,
"metadata": {
"frameRate": 24,
"duration": 4,
"dimensions": [
512,
1792
],
"size": {
"width": 512,
"height": 1792
}
},
"favorite": false
}
],
"sharedAsset": null
}
}
修改于 2024-11-26 03:10:43