Create Generation
Headers
x-api-key
Request
This endpoint expects an object.
model
name of the model to use for generation.
Allowed values:
input
Array of input objects. Must include one video input item and one audio input item. Audio input items can be provided as either: recorded/captured audio url or a text-to-speech input with tts provider configuration.
options
additional options available for generation.
webhookUrl
webhook url for generation status updates. once the generation completes we will send a POST request to the webhook url with the generation data.
outputFileName
Base filename for the generated output without extension. The .mp4 extension will be added automatically. Only alphanumeric characters, underscores, and hyphens are allowed, up to 255 characters.
Response
Job created successfully
createdAt
The date and time the generation was created.
id
A unique identifier for the generation.
input
An array of input objects used for generation.
model
The name of the model used for generation.
Allowed values:
status
The status of the generation.
Allowed values:
error
The error message if the generation failed.
options
Options for the generation.
outputDuration
The duration of the output media.
outputUrl
The URL of the output media.
segmentOutputUrl
The URL of the segment output media.
webhookUrl
The URL to the webhook endpoint.