AI 服务/图像生成
查询图像任务状态
接口说明:根据 logId 查询异步图像任务的执行状态与结果。
GET
查询图像任务状态
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
接口说明:根据 logId 查询异步图像任务的执行状态与结果。
curl --request GET \
--url https://aitoearn.cn/api/ai/image/task/{logId} \
--header 'X-Api-Key: <api-key>'AiToEarn Open Platform API Key。
任务日志ID,由异步图像生成编辑接口返回,用于任务状态或生成结果查询。
请求已被服务处理。业务是否成功以响应体 code === 0 为准。
业务状态码。0 表示成功,非 0 表示业务错误。
响应消息。
Hide child attributes
任务日志ID
任务状态
generating, success, failed 开始时间
消耗Credits
请求参数
创建时间
更新时间
持续时间(毫秒)
响应结果
错误信息
请求 ID。
错误响应时间戳,Unix 毫秒。
curl --request GET \
--url https://aitoearn.cn/api/ai/image/task/{logId} \
--header 'X-Api-Key: <api-key>'