官方格式
取得任務詳細資訊
使用 CometAPI 呼叫 GET /runwayml/v1/tasks/,並依據任務 ID 擷取 Runway 影片生成任務的狀態、進度、輸出與中繼資料。
GET
Poll a Runway official-format task
使用此端點可依據 id 檢查 Runway 任務。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
先檢查這些欄位
id:任務識別碼status:目前的任務狀態output:任務成功時已完成資產的 URLfailure和failureCode:任務失敗時的資訊
何時使用
- 在呼叫官方格式的 Runway 任務建立頁面之後,例如 text-to-image、image-to-video、video-to-video 或 upscale
- 當你需要此格式,而不是相容格式的
feed路由時
重試行為
- 新建立的任務可能會短暫回傳
task_not_exist - 在將任務 id 視為無效之前,請先等待幾秒後重試
- 一旦任務可見,此路由與相容格式的
feed路由都可能回傳相同的排隊中或進行中回應
授權
Bearer token authentication. Use your CometAPI key.
標頭
Optional Runway version header, for example 2024-11-06.
路徑參數
Runway task id returned by the create endpoint.
回應
200 - application/json
Current task state.
Task ID.
Task status.
可用選項:
PENDING, RUNNING, SUCCEEDED, FAILED Task creation timestamp.
Output URLs returned after the task succeeds.
Failure reason returned after the task fails.
Failure code returned after the task fails.
Task progress.