{"openapi":"3.1.0","info":{"title":"LTX Video-0.9.7 13B Distilled","version":"1.0.0","description":"Generate videos from prompts using LTX Video-0.9.7 13B Distilled and custom LoRA"},"paths":{"/mixio/ltx-video-13b-distilled":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"DistilledTextToVideoInput","required":["prompt"],"properties":{"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed","description":"Random seed for generation"},"loras":{"type":"array","items":{"$ref":"#/components/schemas/LoRAWeight"},"title":"Loras","default":[],"description":"LoRA weights to use for generation"},"prompt":{"type":"string","title":"Prompt","examples":["A cinematic fast-tracking shot follows a vintage, teal camper van as it descends a winding mountain trail. The van, slightly weathered but well-maintained, is the central focus, its retro design emphasized by the motion blur. Medium shot reveals the dusty, ochre trail, edged with vibrant green pine trees. Close-up on the van's tires shows the gravel spraying, highlighting the speed and rugged terrain. Sunlight filters through the trees, casting dappled shadows on the van and the trail. The background is a hazy, majestic mountain range bathed in warm, golden light. The overall mood is adventurous and exhilarating. High resolution 4k movie scene."],"description":"Text prompt to guide generation"},"frame_rate":{"type":"integer","title":"Frame Rate","default":24,"maximum":60,"minimum":1,"examples":[24],"description":"The frame rate of the video."},"num_frames":{"type":"integer","title":"Number of Frames","default":121,"maximum":1441,"minimum":9,"examples":[121],"description":"The number of frames in the video."},"resolution":{"enum":["480p","720p"],"type":"string","title":"Resolution","default":"720p","examples":["720p"],"description":"Resolution of the generated video."},"aspect_ratio":{"enum":["9:16","1:1","16:9"],"type":"string","title":"Aspect Ratio","default":"16:9","examples":["16:9"],"description":"Aspect ratio of the generated video."},"expand_prompt":{"type":"boolean","title":"Expand Prompt","default":false,"examples":[false],"description":"Whether to expand the prompt using a language model."},"reverse_video":{"type":"boolean","title":"Reverse Video","default":false,"examples":[false],"description":"Whether to reverse the video."},"negative_prompt":{"type":"string","title":"Negative Prompt","default":"worst quality, inconsistent motion, blurry, jittery, distorted","description":"Negative prompt for generation"},"enable_detail_pass":{"type":"boolean","title":"Enable Detail Pass","default":false,"examples":[false],"description":"Whether to use a detail pass. If True, the model will perform a second pass to refine the video and enhance details. This incurs a 2.0x cost multiplier on the base price."},"enable_safety_checker":{"type":"boolean","title":"Enable Safety Checker","default":true,"examples":[true],"description":"Whether to enable the safety checker."},"temporal_adain_factor":{"type":"number","title":"Temporal AdaIN Factor","default":0.5,"maximum":1,"minimum":0,"examples":[0.5],"multipleOf":0.05,"description":"The factor for adaptive instance normalization (AdaIN) applied to generated video chunks after the first. This can help deal with a gradual increase in saturation/contrast in the generated video by normalizing the color distribution across the video. A high value will ensure the color distribution is more consistent across the video, while a low value will allow for more variation in color distribution."},"tone_map_compression_ratio":{"type":"number","title":"Tone Map Compression Ratio","default":0,"maximum":1,"minimum":0,"examples":[0],"multipleOf":0.05,"description":"The compression ratio for tone mapping. This is used to compress the dynamic range of the video to improve visual quality. A value of 0.0 means no compression, while a value of 1.0 means maximum compression."},"first_pass_num_inference_steps":{"type":"integer","title":"Number of Inference Steps","default":8,"maximum":12,"minimum":2,"examples":[8],"description":"Number of inference steps during the first pass."},"second_pass_skip_initial_steps":{"type":"integer","title":"Second Pass Skip Initial Steps","default":5,"maximum":11,"minimum":1,"examples":[5],"description":"The number of inference steps to skip in the initial steps of the second pass. By skipping some steps at the beginning, the second pass can focus on smaller details instead of larger changes."},"second_pass_num_inference_steps":{"type":"integer","title":"Second Pass Number of Inference Steps","default":8,"maximum":12,"minimum":2,"examples":[8],"description":"Number of inference steps during the second pass."}},"description":"Distilled model input","x-fal-order-properties":["prompt","negative_prompt","loras","resolution","aspect_ratio","seed","num_frames","first_pass_num_inference_steps","second_pass_num_inference_steps","second_pass_skip_initial_steps","frame_rate","expand_prompt","reverse_video","enable_safety_checker","enable_detail_pass","temporal_adain_factor","tone_map_compression_ratio"]}}}}}},"/mixio/ltx-video-13b-distilled/requests/{request_id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","title":"TextToVideoOutput","required":["video","prompt","seed"],"properties":{"seed":{"type":"integer","title":"Seed","description":"The seed used for generation."},"video":{"$ref":"#/components/schemas/File","examples":[{"url":"https://storage.googleapis.com/falserverless/example_outputs/ltxv-multiscale-text-to-video.mp4"}],"description":"The generated video file."},"prompt":{"type":"string","title":"Prompt","examples":["A cinematic fast-tracking shot follows a vintage, teal camper van as it descends a winding mountain trail. The van, slightly weathered but well-maintained, is the central focus, its retro design emphasized by the motion blur. Medium shot reveals the dusty, ochre trail, edged with vibrant green pine trees. Close-up on the van's tires shows the gravel spraying, highlighting the speed and rugged terrain. Sunlight filters through the trees, casting dappled shadows on the van and the trail. The background is a hazy, majestic mountain range bathed in warm, golden light. The overall mood is adventurous and exhilarating. High resolution 4k movie scene."],"description":"The prompt used for generation."}},"x-fal-order-properties":["video","prompt","seed"]}}}}}}},"/mixio/ltx-video-13b-distilled/requests/{request_id}/status":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["status","request_id"],"properties":{"logs":{"type":"object","description":"The logs.","additionalProperties":true},"status":{"enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"],"type":"string"},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"cancel_url":{"type":"string","description":"The cancel url."},"request_id":{"type":"string","description":"The request id."},"status_url":{"type":"string","description":"The status url."},"response_url":{"type":"string","description":"The response url."},"queue_position":{"type":"integer","description":"The queue position."}}}}}}}}},"/mixio/ltx-video-13b-distilled/requests/{request_id}/cancel":{"put":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}}},"components":{"schemas":{"File":{"type":"object","title":"File","required":["url"],"properties":{"url":{"type":"string","title":"Url","description":"The URL where the file can be downloaded from."},"file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Name","examples":["z9RV14K95DvU.png"],"description":"The name of the file. It will be auto-generated if not provided."},"file_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Size","examples":[4404019],"description":"The size of the file in bytes."},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type","examples":["image/png"],"description":"The mime type of the file."}},"x-fal-order-properties":["url","content_type","file_name","file_size"]},"LoRAWeight":{"type":"object","title":"LoRAWeight","required":["path"],"properties":{"path":{"type":"string","title":"Path","description":"URL or path to the LoRA weights."},"scale":{"type":"number","title":"Scale","default":1,"maximum":4,"minimum":0,"description":"Scale of the LoRA weight. This is a multiplier applied to the LoRA weight when loading it."},"weight_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weight Name","description":"Name of the LoRA weight. Only used if `path` is a HuggingFace repository, and is only required when the repository contains multiple LoRA weights."}},"x-fal-order-properties":["path","weight_name","scale"]},"QueueStatus":{"type":"object","required":["status","request_id"],"properties":{"logs":{"type":"object","description":"The logs.","additionalProperties":true},"status":{"enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"],"type":"string"},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"cancel_url":{"type":"string","description":"The cancel url."},"request_id":{"type":"string","description":"The request id."},"status_url":{"type":"string","description":"The status url."},"response_url":{"type":"string","description":"The response url."},"queue_position":{"type":"integer","description":"The queue position."}}},"LtxVideo13bDistilledInput":{"type":"object","title":"DistilledTextToVideoInput","required":["prompt"],"properties":{"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed","description":"Random seed for generation"},"loras":{"type":"array","items":{"$ref":"#/components/schemas/LoRAWeight"},"title":"Loras","default":[],"description":"LoRA weights to use for generation"},"prompt":{"type":"string","title":"Prompt","examples":["A cinematic fast-tracking shot follows a vintage, teal camper van as it descends a winding mountain trail. The van, slightly weathered but well-maintained, is the central focus, its retro design emphasized by the motion blur. Medium shot reveals the dusty, ochre trail, edged with vibrant green pine trees. Close-up on the van's tires shows the gravel spraying, highlighting the speed and rugged terrain. Sunlight filters through the trees, casting dappled shadows on the van and the trail. The background is a hazy, majestic mountain range bathed in warm, golden light. The overall mood is adventurous and exhilarating. High resolution 4k movie scene."],"description":"Text prompt to guide generation"},"frame_rate":{"type":"integer","title":"Frame Rate","default":24,"maximum":60,"minimum":1,"examples":[24],"description":"The frame rate of the video."},"num_frames":{"type":"integer","title":"Number of Frames","default":121,"maximum":1441,"minimum":9,"examples":[121],"description":"The number of frames in the video."},"resolution":{"enum":["480p","720p"],"type":"string","title":"Resolution","default":"720p","examples":["720p"],"description":"Resolution of the generated video."},"aspect_ratio":{"enum":["9:16","1:1","16:9"],"type":"string","title":"Aspect Ratio","default":"16:9","examples":["16:9"],"description":"Aspect ratio of the generated video."},"expand_prompt":{"type":"boolean","title":"Expand Prompt","default":false,"examples":[false],"description":"Whether to expand the prompt using a language model."},"reverse_video":{"type":"boolean","title":"Reverse Video","default":false,"examples":[false],"description":"Whether to reverse the video."},"negative_prompt":{"type":"string","title":"Negative Prompt","default":"worst quality, inconsistent motion, blurry, jittery, distorted","description":"Negative prompt for generation"},"enable_detail_pass":{"type":"boolean","title":"Enable Detail Pass","default":false,"examples":[false],"description":"Whether to use a detail pass. If True, the model will perform a second pass to refine the video and enhance details. This incurs a 2.0x cost multiplier on the base price."},"enable_safety_checker":{"type":"boolean","title":"Enable Safety Checker","default":true,"examples":[true],"description":"Whether to enable the safety checker."},"temporal_adain_factor":{"type":"number","title":"Temporal AdaIN Factor","default":0.5,"maximum":1,"minimum":0,"examples":[0.5],"multipleOf":0.05,"description":"The factor for adaptive instance normalization (AdaIN) applied to generated video chunks after the first. This can help deal with a gradual increase in saturation/contrast in the generated video by normalizing the color distribution across the video. A high value will ensure the color distribution is more consistent across the video, while a low value will allow for more variation in color distribution."},"tone_map_compression_ratio":{"type":"number","title":"Tone Map Compression Ratio","default":0,"maximum":1,"minimum":0,"examples":[0],"multipleOf":0.05,"description":"The compression ratio for tone mapping. This is used to compress the dynamic range of the video to improve visual quality. A value of 0.0 means no compression, while a value of 1.0 means maximum compression."},"first_pass_num_inference_steps":{"type":"integer","title":"Number of Inference Steps","default":8,"maximum":12,"minimum":2,"examples":[8],"description":"Number of inference steps during the first pass."},"second_pass_skip_initial_steps":{"type":"integer","title":"Second Pass Skip Initial Steps","default":5,"maximum":11,"minimum":1,"examples":[5],"description":"The number of inference steps to skip in the initial steps of the second pass. By skipping some steps at the beginning, the second pass can focus on smaller details instead of larger changes."},"second_pass_num_inference_steps":{"type":"integer","title":"Second Pass Number of Inference Steps","default":8,"maximum":12,"minimum":2,"examples":[8],"description":"Number of inference steps during the second pass."}},"description":"Distilled model input","x-fal-order-properties":["prompt","negative_prompt","loras","resolution","aspect_ratio","seed","num_frames","first_pass_num_inference_steps","second_pass_num_inference_steps","second_pass_skip_initial_steps","frame_rate","expand_prompt","reverse_video","enable_safety_checker","enable_detail_pass","temporal_adain_factor","tone_map_compression_ratio"]},"LtxVideo13bDistilledOutput":{"type":"object","title":"TextToVideoOutput","required":["video","prompt","seed"],"properties":{"seed":{"type":"integer","title":"Seed","description":"The seed used for generation."},"video":{"$ref":"#/components/schemas/File","examples":[{"url":"https://storage.googleapis.com/falserverless/example_outputs/ltxv-multiscale-text-to-video.mp4"}],"description":"The generated video file."},"prompt":{"type":"string","title":"Prompt","examples":["A cinematic fast-tracking shot follows a vintage, teal camper van as it descends a winding mountain trail. The van, slightly weathered but well-maintained, is the central focus, its retro design emphasized by the motion blur. Medium shot reveals the dusty, ochre trail, edged with vibrant green pine trees. Close-up on the van's tires shows the gravel spraying, highlighting the speed and rugged terrain. Sunlight filters through the trees, casting dappled shadows on the van and the trail. The background is a hazy, majestic mountain range bathed in warm, golden light. The overall mood is adventurous and exhilarating. High resolution 4k movie scene."],"description":"The prompt used for generation."}},"x-fal-order-properties":["video","prompt","seed"]}}}}