Bruk CometAPI sin feed-get task API (POST /runway/feed) for å hente Runway-videogenereringsoppgaver med støtte for X-Runway-Version for versjonerte resultater.
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/*-arbeidsflyter.
code og message for status på wrapper-nivådata.status og data.progress for fremdriften til oppgavendata.data for oppgavemetadata på leverandørsidenvideo_url, poster eller relatert provider-output når oppgaven er fullførtOpprett reverse-format-oppgaven først
Prøv én gang til hvis oppgaven ikke er synlig ennå
task_not_exist. Hvis det skjer, vent noen sekunder og poll på nytt.code: success og 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"
}
}
}