Перейти до основного вмісту
GET
/
runwayml
/
v1
/
tasks
/
{id}
Poll a Runway official-format task
curl --request GET \
  --url https://api.cometapi.com/runwayml/v1/tasks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "d0658ae1-bbdd-4adc-aaba-fd8070e14d79",
  "status": "SUCCEEDED",
  "createdAt": "2026-05-01T12:47:47.351Z",
  "output": [
    "https://example.com/output.mp4"
  ]
}

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.

Використовуйте цей endpoint, щоб перевірити завдання Runway за id.

Спочатку перевірте ці поля

  • id для ідентифікатора завдання
  • status для поточного стану завдання
  • output для URL готових ресурсів, коли завдання успішно виконано
  • failure і failureCode, коли завдання завершується з помилкою

Коли це використовувати

  • Після виклику сторінки створення завдання Runway в official format, наприклад text-to-image, image-to-video, video-to-video або upscale
  • Коли вам потрібен цей формат замість маршруту feed у compatibility format

Поведінка повторних спроб

  • Щойно створене завдання може на короткий час повертати task_not_exist
  • Зачекайте кілька секунд і повторіть спробу, перш ніж вважати id завдання недійсним
  • Щойно завдання стане видимим, цей маршрут і маршрут feed у compatibility format можуть повертати однакову відповідь queued або in-progress

Авторизації

Authorization
string
header
обов'язково

Bearer token authentication. Use your CometAPI key.

Заголовки

X-Runway-Version
string

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

Параметри шляху

id
string
обов'язково

Runway task id returned by the create endpoint.

Відповідь

200 - application/json

Current task state.

id
string
обов'язково

Task ID.

status
enum<string>
обов'язково

Task status.

Доступні опції:
PENDING,
RUNNING,
SUCCEEDED,
FAILED
createdAt
string

Task creation timestamp.

output
string[]

Output URLs returned after the task succeeds.

failure
string

Failure reason returned after the task fails.

failureCode
string

Failure code returned after the task fails.

progress
number

Task progress.