Skip to main content
← Other Model name: ltxv-2/text-to-video
Generation type: text_to_video
Endpoint: POST /api/asset_generator/

Pricing

Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.

Quick start

Input parameters

Send these fields in input_params.
string
required
The prompt to generate an image from.Minimum characters: 1. Maximum characters: 2000.
integer
default:25
The frames per second of the generated videoAllowed values: 25, 50.
integer
default:6
The duration of the generated video in secondsAllowed values: 6, 8, 10.
string
default:"1080p"
The resolution of the generated videoAllowed values: "1080p", "1440p", "2160p".
string
default:"16:9"
The aspect ratio of the generated videoAllowed values: "16:9".
boolean
default:true
Whether to generate audio for the generated video

Response

The request returns the task with status: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.