ImageTaskStatusSchema
statusstring
Job status: queued (accepted, not yet started), in_progress (generating, see progress), completed (result available in result), or failed (generation error).
progressinteger
Completion percentage from 0 to 100. Present while the job is in progress.
result object
Generation result. Present once status is completed.
createdstring
Timestamp when the result was produced.
data object[]
Generated images.
Array [
urlstring
URL of the generated image. Populated when the output is returned as a URL.
b64_jsonstring
Base64-encoded image. Populated instead of url when base64 output is requested.
]
ImageTaskStatusSchema
{
"status": "string",
"progress": null,
"result": {
"created": "string",
"data": [
{
"url": null,
"b64_json": null
}
]
}
}
Was this page helpful?