Text-to-Video Price Calculation
Endpoint for calculating price for text2video inference
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
application/json Body
Text to video conversion parameters
Width of the generated video in pixels
512
Height of the generated video in pixels
512
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. For the example model Ltxv_13B_0_9_8_Distilled_FP8 the only accepted value is 1.
x >= 11
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 Ltxv_13B_0_9_8_Distilled_FP8 the allowed range is 30-120 (default 120).
x >= 1120
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 Ltxv_13B_0_9_8_Distilled_FP8 the only accepted value is 30.
x >= 130
The model to use for video generation. Available models can be retrieved via the GET /api/v1/client/models endpoint.
"Ltxv_13B_0_9_8_Distilled_FP8"
Response
Calculated price for txt2video inference.