跳轉到主要內容
GET
cURL
使用此端點時,請使用 id,此值由任何 /runwayml/v1 建立 請求傳回。請使用與建立該任務相同帳戶的 CometAPI API 金鑰進行驗證。 建立該任務。

追蹤任務狀態

回應為任務物件。直接從回應中讀取 id、status 和 output ,不含 data 封裝。 剛提交的任務可能會短暫傳回 HTTP 400,並附帶 code: "task_not_exist"。請等待數秒後,使用相同的 id 重試。 若情況持續發生,請檢查任務 ID 與用於驗證的帳戶。 請勿為了檢查狀態而再次提交建立請求。

儲存輸出

output 陣列會依據所使用的建立端點和選取的格式,包含圖片、影片或音訊 URL。 請及時下載已完成的資產, 並儲存至您自己的儲存空間。結果 URL 為暫時性。 如需建立新的整合,請在 Runway 總覽.

授權

Authorization
string
header
必填

Use your CometAPI API key.

路徑參數

id
string
必填

Task ID returned by a /runwayml/v1 creation request.

回應

Task details. Fields vary with the task state.

id
string
必填

Task ID returned by a Runway task-creation request.

status
enum<string>

Task state, when available. Poll until SUCCEEDED, FAILED, or CANCELLED.

可用選項:
PENDING,
THROTTLED,
RUNNING,
SUCCEEDED,
FAILED,
CANCELLED
createdAt
string<date-time>

Task submission timestamp, when available.

progress
number

Fraction completed, when reported for a running task.

必填範圍: 0 <= x <= 1
output
string<uri>[]

Result URLs for a succeeded task. Download the assets promptly for storage.

failure
string

Failure explanation, when present on a failed task.

failureCode
string

Machine-readable failure code, when present.

estimatedCost
object

Task estimate metadata, when returned.

cost
object

Task cost metadata, when returned.

最後修改於 2026年9月21日