Get a generation's status
Returns the current status of a generation started with POST /v1/library/generations. Poll until status is completed (then item holds the finished library item) or failed (then error says why; start a new generation).
Path parameters
Generation ID — the generation.id returned when it was started
Generation ID — the generation.id returned when it was started
Response
OK
Example response
{
"generation": {
"id": "mi_abc123def456",
"item": {
"category": "Everyday",
"durationMs": 4200,
"id": "media_abc123def456",
"name": "Intro camera take",
"presetId": "cha-ching",
"scope": "private",
"sourceId": "su_abc123def456",
"type": "video"
},
"prompt": "A watercolor illustration of a lighthouse at dawn",
"status": "completed",
"type": "image"
}
}Changes
Changed in 3 of the 19 revisions of this API.101
- ●
added the new
edit_conflictenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
edit_conflictenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
edit_conflictenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
edit_conflictenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
edit_conflictenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
edit_conflictenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
edit_conflictenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
edit_conflictenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
edit_conflictenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
screenshotenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
- ○
endpoint added
endpoint-added
- ○
Of the 19 revisions, 1 has no diff computed.