Generations

Read a generation

Status, cost and output files of one generation. Poll this until status is failed, or completed with a non-empty outputs array: the files are attached a moment after the status turns completed. Output URLs are unguessable links that work without authentication; anyone you share one with can download the file.

get/api/v2/generations/{id}

Request

  • Base URL: https://azurade.com
  • URL: https://azurade.com/api/v2/generations/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Path parameters

idstring required

Response

OK

costnumber

Credits the generation costs: taken when it was accepted, less the share of any images it was asked for and did not deliver, which is refunded

createdstring date-time
errorstring

Why it failed, when it did

idstring
inputobject

The request body as submitted

modelstring
prompt_usedstring

The prompt the model was given, when translate_prompt or enhance_prompt rewrote the one in input

status'pending' | 'completed' | 'failed' | 'stalled' | 'canceled'
type'image' | 'video'
updatedstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.