Skip to main content
POST
cURL
Estimate the cost of an audio-sync video job before submitting it.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
enum<string>
default:application/json
required
Available options:
application/json

Body

application/json

Audio to video price calculation parameters

width
integer
required

Width of the generated video in pixels

Example:

512

height
integer
required

Height of the generated video in pixels

Example:

512

frames
integer
required

Number of video frames to generate. The accepted range is model-specific - read info.limits.min_frames / info.limits.max_frames for your model from the Model Selection endpoint before sending the request; a value outside that range is rejected with 422. For the example model Ltx2_3_22B_Dist_INT8 the allowed range is 49-241 (default 120).

Required range: x >= 1
Example:

97

fps
integer
required

FPS of generated video. The accepted range is model-specific - read info.limits.min_fps / info.limits.max_fps for your model from the Model Selection endpoint before sending the request; a value outside that range is rejected with 422. For the example model Ltx2_3_22B_Dist_INT8 the only accepted value is 24.

Required range: x >= 1
Example:

24

model
string
required

The model to use for video generation. Available models can be retrieved via the GET /api/v2/models endpoint.

Example:

"Ltx2_3_22B_Dist_INT8"

steps
integer

Number of inference steps. The accepted range is model-specific - read info.limits.min_steps / info.limits.max_steps for your model from the Model Selection endpoint before sending the request; a value outside that range is rejected with 422.

Required range: x >= 1
Example:

20

Response

Calculated price for audio2video inference.

data
object