Langsung ke konten utama
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.

Gunakan endpoint ini setelah Anda membuat tugas format kompatibilitas Runway. Ini adalah langkah polling utama untuk alur kerja /runway/pro/*.

Periksa field ini terlebih dahulu

  • task_id untuk pengenal tugas
  • status dan progress untuk progres tugas
  • result_url, video_url, atau field output terkait saat tugas selesai
  • fail_reason saat tugas gagal

Pola polling

1

Buat tugas format kompatibilitas terlebih dahulu

Mulai dengan halaman Runway format kompatibilitas seperti Generate, Image-to-Video, Video to Video Style Redraw, atau Act-one Expression Migration.
2

Coba lagi sekali jika tugas belum terlihat

task_id yang baru dibuat terkadang dapat mengembalikan task_not_exist untuk sesaat. Jika itu terjadi, tunggu beberapa detik lalu lakukan polling lagi.
3

Lanjutkan polling sampai tugas mencapai status terminal

Terus periksa endpoint ini sampai tugas keluar dari status antre atau sedang berlangsung dan respons menyertakan URL output yang dapat digunakan.

Otorisasi

Authorization
string
header
wajib

Bearer token authentication. Use your CometAPI key.

Header

X-Runway-Version
string

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

Body

application/json
task_id
string
wajib

Runway task id returned by the create endpoint.

Respons

200 - application/json

Current task state.

task_id
string
wajib

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.