Get Generation

Path parameters

idstringRequired

A unique identifier for the generation.

Headers

x-api-keystringRequired

Response

Job status retrieved successfully

createdAtdatetime

The date and time the generation was created.

idstring

A unique identifier for the generation.

inputlist of objects

An array of input objects used for generation.

modelenum

The name of the model used for generation.

Allowed values:
statusenum

The status of the generation.

Allowed values:
errorstringOptional

The error message if the generation failed.

optionsobjectOptional

Options for the generation.

outputDurationdoubleOptional

The duration of the output media.

outputUrlstringOptional

The URL of the output media.

webhookUrlstringOptional

The URL to the webhook endpoint.

Errors