Seedream Image
Query Result
Query an asynchronous Seedream image task
Use the id (also returned as task_id) from the async submission to query the task. Only the owning account may retrieve it; missing or inaccessible tasks return 400.
Status and image output
queued and in_progress mean the task is pending; completed supplies images in data; failed supplies the reason in error. This adaptor preserves upstream image results, usually as url; b64_json appears only when returned by upstream. Unlike the GPT Image reference, the response is not Base64-only.
Authorization
BearerAuth
AuthorizationBearer <token>
In: header
Path Parameters
task_id*string
提交时返回的 id / task_id;只能查询当前账号的任务
Response Body
application/json
curl -X GET "https://www.omwai.xyz/v1/images/async/generations/string"{
"id": "string",
"task_id": "string",
"object": "image.task",
"model": "string",
"status": "queued",
"progress": "string",
"created_at": 0,
"completed_at": 0,
"data": [
{
"url": "string",
"b64_json": "string",
"revised_prompt": "string"
}
],
"error": {
"code": "string",
"message": "string"
}
}Empty
How is this guide?
Last updated on