Skip to main content
GET
Get a task
任务只能由创建它的账户查询。

授权

Authorization
string
header
必填

Use your YingTu API key as a bearer token.

路径参数

task_id
string
必填

Public task identifier returned by the submit endpoint.

响应

Task state

task_id
string
必填
model
string
必填
status
enum<string>
必填
可用选项:
queued,
processing,
succeeded,
failed
created_at
string<date-time>
必填
progress
integer
必填范围: 0 <= x <= 100
completed_at
string<date-time> | null
output
object | null
示例:
error
object | null