Skip to content

LTX

Modern .NET SDK for LTX generated from the provider's OpenAPI definition with AutoSDK.

Nuget package dotnet License: MIT Discord

Generated from the source spec

Built from LTX's OpenAPI definition so the SDK stays close to the upstream API surface.

Auto-updated

Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.

Modern .NET

Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.

Docs from examples

Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.

Usage

1
2
3
using LTX;

using var client = new LtxClient(apiKey);

Text-to-video

Generate an MP4 video from a text prompt using LTX.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
using var client = new LtxClient(apiKey);

var video = await client.CreateTextToVideoAsync(new TextToVideoRequest
{
    Prompt = "A majestic eagle soaring through clouds at sunset.",
    Model = LtxModel.Ltx23Pro,
    Duration = 8,
    Resolution = "1920x1080",
    GenerateAudio = true,
});

Support

Bugs

Open an issue in tryAGI/LTX.

Ideas and questions

Use GitHub Discussions for design questions and usage help.

Community

Join the tryAGI Discord for broader discussion across SDKs.

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.