Skip to main content

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.

Default: null
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.

    Default: null
    b64_jsonstring

    Base64-encoded image. Populated instead of url when base64 output is requested.

    Default: null
  • ]
  • ImageTaskStatusSchema
    {
    "status": "string",
    "progress": null,
    "result": {
    "created": "string",
    "data": [
    {
    "url": null,
    "b64_json": null
    }
    ]
    }
    }