Skip to main content
GET
查询任务状态
使用生成接口返回的 task_id 查询任务进度。
当任务状态变成 completed 时,最终图片地址位于 data.result.images[0].url[0]

授权

Authorization
string
header
必填

Paste your SmewAI API key as a Bearer token.

路径参数

task_id
string
必填

Task ID returned by /v1/images/generations.

响应

Task status

code
integer
示例:

200

data
object