Naar hoofdinhoud gaan
POST
/
runway
/
feed
Poll a Runway compatibility-format task
curl --request POST \
  --url https://api.cometapi.com/runway/feed \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "task_id": "4156043d-9ea5-47c5-9e38-3f8446a0b20d"
}
'
{
  "task_id": "4156043d-9ea5-47c5-9e38-3f8446a0b20d"
}

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.

Gebruik dit endpoint nadat je een Runway-taak in compatibility-format hebt gemaakt. Dit is de belangrijkste pollingstap voor /runway/pro/*-workflows.

Controleer deze velden eerst

  • task_id voor de taakidentificatie
  • status en progress voor de voortgang van de taak
  • result_url, video_url of gerelateerde outputvelden wanneer de taak is voltooid
  • fail_reason wanneer de taak mislukt

Pollingpatroon

1

Maak eerst de taak in compatibility-format

Begin met een Runway-pagina in compatibility-format, zoals Generate, Image-to-Video, Video to Video Style Redraw of Act-one Expression Migration.
2

Probeer het één keer opnieuw als de taak nog niet zichtbaar is

Nieuwe task ids kunnen kort task_not_exist retourneren. Als dat gebeurt, wacht dan een paar seconden en poll opnieuw.
3

Blijf pollen totdat de taak een eindstatus heeft

Blijf dit endpoint controleren totdat de taak niet meer in een queued- of in-progress-status staat en de response een bruikbare output-URL bevat.

Autorisaties

Authorization
string
header
vereist

Bearer token authentication. Use your CometAPI key.

Headers

X-Runway-Version
string

Optional Runway version header, for example 2024-11-06.

Body

application/json
task_id
string
vereist

Runway task id returned by the create endpoint.

Respons

200 - application/json

Current task state.

task_id
string
vereist

Task ID returned by the create endpoint.

action
string

Task action.

status
string

Task status.

fail_reason
string

Failure reason, when available.

result_url
string

Result URL, when available.

submit_time
integer

Task submission timestamp.

start_time
integer

Task start timestamp.

finish_time
integer

Task finish timestamp.

progress
string

Task progress.

data
object

Task metadata.