Image-to-Video
Diffusers
text-to-video
video-to-video
image-text-to-video
audio-to-video
text-to-audio
video-to-audio
audio-to-audio
text-to-audio-video
image-to-audio-video
image-text-to-audio-video
ltx-2
ltx-2-3
ltx-video
ltxv
lightricks
Instructions to use Lightricks/LTX-2.3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Lightricks/LTX-2.3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Lightricks/LTX-2.3", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
How to add BEEP sound effect for censored words?
#38
by jtreminio - opened
I'm trying to get LTX to replace censored words with BEEP sound effects, but I can't find documentation on how to actually achieve this. I know it's possible, I accidentally did it once, several weeks ago, but now am unable to reproduce.
Tips would be most welcome!
I use an LTX text improvement generator to assist with my accuracy.
It advised me the best for LTX models is to use a prompt like
"A medium shot of a blonde lady lifting her middle finger as she snaps, she mouths an aggressive swear word and a loud 'beep' censoring sound effect plays over her voice."