Saltar para o conteúdo principal
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.

Use este endpoint para inspecionar uma tarefa do Runway por id.

Verifique estes campos primeiro

  • id para o identificador da tarefa
  • status para o estado atual da tarefa
  • output para URLs de recursos concluídos quando a tarefa for bem-sucedida
  • failure e failureCode quando a tarefa falhar

Quando usar

  • Após chamar uma página de criação de tarefa do Runway em formato oficial, como text-to-image, image-to-video, video-to-video ou upscale
  • Quando você precisar deste formato em vez da rota feed no formato de compatibilidade

Comportamento de nova tentativa

  • Uma tarefa recém-criada pode retornar brevemente task_not_exist
  • Aguarde alguns segundos e tente novamente antes de tratar o id da tarefa como inválido
  • Quando a tarefa estiver visível, esta rota e a rota feed no formato de compatibilidade podem retornar a mesma resposta em fila ou em andamento

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication. Use your CometAPI key.

Cabeçalhos

X-Runway-Version
string

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

Parâmetros de caminho

id
string
obrigatório

Runway task id returned by the create endpoint.

Resposta

200 - application/json

Current task state.

id
string
obrigatório

Task ID.

status
enum<string>
obrigatório

Task status.

Opções disponíveis:
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.