Перейти к основному содержанию
GET
Get a Sonilo task

Авторизации

Authorization
string
header
обязательно

Bearer token authentication. Normally a Firebase or Cloud JWT. A 'comfyui-' prefixed API key is also accepted in this header: the prefix classifies the value as an API key and it is validated exactly as if it had been sent in X-API-Key. Accepted on the operations served by the comfyFirebase auth middleware (BE-9720, parity with ingest).

Параметры пути

task_id
string
обязательно

The task_id returned by the submit request.

Ответ

OK

status
string
обязательно

One of processing, succeeded or failed.

task_id
string
обязательно
audio
object
cost
object

What Sonilo charged for the task. Present when the task succeeded.

duration_seconds
number<double>

Length of the generated audio in seconds. Present when the task succeeded.

error
object

Present when the task failed.

refunded
boolean

Present when the task failed. Whether Sonilo reversed the charge.

type
string

The task type.