LTX Clip Settings

Populate a duration picker or validate a clip request before queuing work. This dependency-free Elixir module models the VidFomo LTX 2.3 Fast settings published on 2026-11-23. It runs locally and makes no API requests.

LtxClipSettings.durations("4k", 50)
# [6, 8, 10]

LtxClipSettings.validate("1080p", 25, 16)
# :ok

LtxClipSettings.validate("2k", 24, 14)
# {:error, :long_clip_requires_1080p_at_24_or_25_fps}

Resolution keys are lowercase. Duration and FPS use integers. Unknown resolution or FPS yields an empty list from durations/2; validate/3 identifies the unsupported field. For higher resolution or frame rate, the available durations are 6, 8 and 10 seconds.

Use VidFomo's LTX 2.3 workspace to create a clip using a chosen combination, with text or a starting frame and optional synchronized audio. Other providers and model revisions can differ.