Model Details
LTX-2.3 Text-to-Audio turns a written description into a short audio clip — sound effects, environmental ambience, foley, or speech-like vocalizations. Describe the sound you want ("a dog barking outdoors with natural ambience", "rain on a tin roof with distant thunder", "footsteps on gravel") and it returns a hosted MP3. The standout is fine-grained control over length: duration is derived from `num_frames / frames_per_second`, so you can dial clips from a fraction of a second up to roughly 20 seconds. The default produces about a 5-second clip.
## Best for - Generating one-off sound effects and foley from a text description (impacts, footsteps, animal sounds, machinery) - Environmental ambience and background beds (rain, wind, crowd murmur, room tone) for video and games - Short audio cues and stingers where you need a specific length - Quick audio drafts to prototype a scene's soundscape before a full session
## Choose another model when - You want a full music track with melody, structure, and instrumentation — use a dedicated music-generation model - You need synchronized audio baked into a video — use a text-to-video or image-to-video model that generates audio with the picture - You need long-form audio beyond roughly 20 seconds — this model is built for short clips
## Tips - Control length with `num_frames` and `frames_per_second`: duration in seconds ≈ `num_frames / frames_per_second`. At the default 24 fps, 121 frames ≈ 5 seconds; raise `num_frames` (up to 481) for a longer clip. - Describe the sound concretely — source, environment, and texture — rather than naming a genre. - Use `negative_prompt` to steer away from unwanted qualities; leave `seed` empty for variety or set it to reproduce a result.
## Advanced Configuration - `enable_prompt_expansion` (default `false`): when `true`, the prompt is automatically elaborated before generation, which can add detail but may drift from your exact wording. Configured via the API. - `enable_safety_checker` (default `true`): runs a content-safety pass on generation. Configured via the API.
To run via the ModelRunner JavaScript client: ```js import { modelrunner } from "@modelrunner/client";
const result = await modelrunner.subscribe("lightricks/ltx-2.3/text-to-audio", { input: { prompt: "A dog barking outdoors, natural ambience", num_frames: 121, frames_per_second: 24, }, }); ```
