Formato ufficiale
Recuperare un task Runway
Usa CometAPI per chiamare GET /runwayml/v1/tasks/ e recuperare stato, avanzamento, output e metadati di un task di generazione video Runway tramite task ID.
GET
Usa questo endpoint per ispezionare un task Runway tramite id.
Controlla prima questi campi
idper l’identificatore del taskstatusper lo stato corrente del taskoutputper gli URL delle risorse completate quando il task ha esito positivofailureefailureCodequando il task non riesce
Quando usarlo
- Dopo aver chiamato una pagina di creazione task Runway in formato ufficiale, come text-to-image, image-to-video o video-to-video
Comportamento dei tentativi
- Un task appena creato può restituire brevemente
task_not_exist - Attendi qualche secondo e riprova prima di considerare non valido il task id
- Una volta che il task è visibile, continua a interrogare questo endpoint finché non restituisce uno stato terminale o un output completato.
Autorizzazioni
Bearer token authentication. Use your CometAPI key.
Intestazioni
Optional Runway version header, for example 2024-11-06.
Parametri del percorso
Runway task id returned by the create endpoint.
Risposta
200 - application/json
Current task state.
Task ID.
Task status.
Opzioni disponibili:
PENDING, RUNNING, SUCCEEDED, FAILED Task creation timestamp.
Output URLs returned after the task succeeds.
Failure reason returned after the task fails.
Failure code returned after the task fails.
Task progress.