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
headerrequired

Body

application/json
model
enum<string>
default: looprequired

name of the model to use for generation.

Available options:
lipsync-1.8.0-beta,
lipsync-1.7.1,
lipsync-1.6.0
input
object[]
required

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

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
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.