跳转到主要内容
GET
/
v1
/
image
/
pending
图片生成信息
curl --request GET \
  --url https://api.senseaudio.cn/v1/image/pending \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "error_message": "<string>",
  "url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.senseaudio.cn/llms.txt

Use this file to discover all available pages before exploring further.

说明

使用异步方式生成图片任务后,使用此接口获取异步图片任务的状态和生成结果。

授权

Authorization
string
header
必填

格式:Bearer <API_KEY>

路径参数

task_id
string
必填

响应

200 - application/json

成功

status
string

任务状态,可能为completed(生成成功)/failed(生成失败)/pending(正在生成)

error_message
string

如果状态为failed,此项存在并存储图片生成失败原因

url
string

如果状态为completed,此项存在并存储图片的 URL