POST
/
v2
/
generate

getting started

authenticate and make your first request to the generate api.

what to do next

explore options for monitoring your job’s progress and receiving updates.

Authorizations

x-api-key
string
header
required

Body

application/json
input
object[]
required

input media to use for generation. this is an array of media items.

model
enum<string>
default:
loop
required

name of the model to use for generation.

Available options:
lipsync-1.8.0,
lipsync-1.8.0-beta,
lipsync-1.7.1,
lipsync-1.6.0,
lipsync-1.9.0-beta
options
object

additional options available for generation.

webhookUrl
string

webhook url for generation status updates. once the generation completes we will send a POST request to the webhook url with the generation data.

Response

201 - application/json
createdAt
string
required

The date and time the generation was created.

id
string
required

A unique identifier for the generation.

input
object[]
required

An array of input objects containing type and URL.

model
string
required

The name of the model used for generation.

status
enum<string>
required

The status of the generation.

Available options:
PENDING,
PROCESSING,
COMPLETED,
FAILED,
REJECTED,
CANCELED
error
string

The error message if the generation failed.

options
object

Options for the generation.

outputDuration
object

The duration of the output media.

outputUrl
object

The URL of the output media.

webhookUrl
object

The URL to the webhook endpoint.