使用 CometAPI 的 feed-get 任務 API(POST /runway/feed)擷取 Runway 影片生成 feed 任務,並支援透過 X-Runway-Version 取得版本化結果。
curl --request POST \
--url https://api.cometapi.com/runway/feed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task_id": "3d957031-9a2a-45e2-9dc7-bc8513059c50"
}
'{
"code": "success",
"message": "",
"data": {
"task_id": "3d957031-9a2a-45e2-9dc7-bc8513059c50",
"action": "IMAGE_TO_VIDEO",
"status": "QUEUED",
"fail_reason": "",
"submit_time": 1773366766,
"start_time": 0,
"finish_time": 0,
"progress": "0%",
"data": {
"id": "3d957031-9a2a-45e2-9dc7-bc8513059c50",
"status": "PENDING",
"createdAt": "2026-03-13T09:52:46+08:00"
}
}
}/runway/pro/* 工作流程中的主要輪詢步驟。
code 與 message,用於判斷包裝層級狀態data.status 與 data.progress,用於查看任務進度data.data,用於查看供應商端的任務中繼資料video_url、poster 或其他相關供應商輸出先建立反向格式任務
code: success 且 data.status: QUEUED。Bearer token authentication. Use your CometAPI key.
Optional Runway version header, for example 2024-11-06.
Runway task id returned by the create endpoint.
curl --request POST \
--url https://api.cometapi.com/runway/feed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task_id": "3d957031-9a2a-45e2-9dc7-bc8513059c50"
}
'{
"code": "success",
"message": "",
"data": {
"task_id": "3d957031-9a2a-45e2-9dc7-bc8513059c50",
"action": "IMAGE_TO_VIDEO",
"status": "QUEUED",
"fail_reason": "",
"submit_time": 1773366766,
"start_time": 0,
"finish_time": 0,
"progress": "0%",
"data": {
"id": "3d957031-9a2a-45e2-9dc7-bc8513059c50",
"status": "PENDING",
"createdAt": "2026-03-13T09:52:46+08:00"
}
}
}