GET
/
v2
/
generate
/
{id}

getting started

retrieve the status and result of a previously created generation.

Authorizations

x-api-key
string
headerrequired

Path Parameters

id
string
required

Job ID

Response

200 - application/json
id
string
required

A unique identifier for the generation.

createdAt
string
required

The date and time the generation was created.

status
enum<string>
required

The status of the generation.

Available options:
CANCELED,
COMPLETED,
FAILED,
PENDING,
PROCESSING,
REJECTED
model
string
required

The name of the model used for generation.

input
object[]
required

An array of input objects containing type and URL.

webhookUrl
object

The URL to the webhook endpoint.

options
object

Options for the generation.

outputUrl
object

The URL of the output media.

outputDuration
object

The duration of the output media.

error
string

The error message if the generation failed.