Ana içeriğe atla
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.

Bir Runway görevini id ile incelemek için bu endpoint’i kullanın.

Önce şu alanları kontrol edin

  • Görev tanımlayıcısı için id
  • Geçerli görev durumu için status
  • Görev başarıyla tamamlandığında bitmiş varlık URL’leri için output
  • Görev başarısız olduğunda failure ve failureCode

Ne zaman kullanılır

  • text-to-image, image-to-video, video-to-video veya upscale gibi resmi formatta bir Runway görev oluşturma sayfasını çağırdıktan sonra
  • Uyumluluk formatındaki feed rotası yerine bu formata ihtiyaç duyduğunuzda

Yeniden deneme davranışı

  • Yeni oluşturulmuş bir görev kısa bir süreliğine task_not_exist döndürebilir
  • Görev id’sini geçersiz olarak değerlendirmeden önce birkaç saniye bekleyin ve yeniden deneyin
  • Görev görünür olduktan sonra, bu rota ve uyumluluk formatındaki feed rotası aynı kuyruğa alınmış veya işlemde olan yanıtı döndürebilir

Yetkilendirmeler

Authorization
string
header
gerekli

Bearer token authentication. Use your CometAPI key.

Başlıklar

X-Runway-Version
string

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

Yol Parametreleri

id
string
gerekli

Runway task id returned by the create endpoint.

Yanıt

200 - application/json

Current task state.

id
string
gerekli

Task ID.

status
enum<string>
gerekli

Task status.

Mevcut seçenekler:
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.