Estimate Cost
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.
Response
Generations retrieved successfully
estimatedFrameCount
The estimated frame count for the generation.
estimatedGenerationCost
The estimated cost of the generation in USD.