使用 CometAPI feed-get task 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,或相關的供應商輸出先建立相容格式任務
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"
}
}
}