Przejdź do głównej treści
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.

Użyj tego endpointu, aby sprawdzić zadanie Runway według id.

Najpierw sprawdź te pola

  • id dla identyfikatora zadania
  • status dla bieżącego stanu zadania
  • output dla adresów URL gotowych zasobów, gdy zadanie zakończy się powodzeniem
  • failure i failureCode, gdy zadanie zakończy się niepowodzeniem

Kiedy używać

  • Po wywołaniu strony tworzenia zadania Runway w formacie oficjalnym, takiej jak text-to-image, image-to-video, video-to-video lub upscale
  • Gdy potrzebujesz tego formatu zamiast trasy feed w formacie zgodności

Zachowanie ponownych prób

  • Świeżo utworzone zadanie może przez krótki czas zwracać task_not_exist
  • Odczekaj kilka sekund i spróbuj ponownie, zanim uznasz id zadania za nieprawidłowe
  • Gdy zadanie będzie już widoczne, ta trasa i trasa feed w formacie zgodności mogą zwracać tę samą odpowiedź dla zadań w kolejce lub w trakcie przetwarzania

Autoryzacje

Authorization
string
header
wymagane

Bearer token authentication. Use your CometAPI key.

Nagłówki

X-Runway-Version
string

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

Parametry ścieżki

id
string
wymagane

Runway task id returned by the create endpoint.

Odpowiedź

200 - application/json

Current task state.

id
string
wymagane

Task ID.

status
enum<string>
wymagane

Task status.

Dostępne opcje:
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.