Image-to-Video
Diffusers
Safetensors
LTX-2
English
lora
ltx-2
ltx-2-3
ltx-video
video-to-video
comfyui
occlusion-removal
video-restoration
scene-reconstruction
Instructions to use WepeNerd/Obscura_Remova with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WepeNerd/Obscura_Remova 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.load_lora_weights("WepeNerd/Obscura_Remova") prompt = "Remove the window curtains from the foreground." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - LTX-2
How to use WepeNerd/Obscura_Remova with LTX-2:
# Install the LTX-2 pipelines git clone https://github.com/Lightricks/LTX-2.git cd LTX-2 uv sync --frozen
# Download the weights from this repo, plus the Gemma text encoder hf download WepeNerd/Obscura_Remova --local-dir models/Obscura_Remova hf download google/gemma-3-12b-it-qat-q4_0-unquantized --local-dir models/gemma-3-12b
# Text/image-to-video with the LoRA on the HQ two-stage base pipeline uv run python -m ltx_pipelines.ti2vid_two_stages_hq \ --checkpoint-path path/to/checkpoint.safetensors \ --distilled-lora path/to/distilled_lora.safetensors 0.8 \ --spatial-upsampler-path path/to/spatial_upsampler.safetensors \ --gemma-root models/gemma-3-12b \ --lora models/Obscura_Remova/<weights>.safetensors 1.0 \ --prompt "your prompt here" \ --output-path output.mp4 # For image-to-video, add: --image path/to/image.jpg 0 0.8 - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Upload iPhone-compatible examples
Browse files- examples/1.mp4 +3 -0
- examples/10.mp4 +3 -0
- examples/2.mp4 +3 -0
- examples/3.mp4 +3 -0
- examples/4.mp4 +3 -0
- examples/5.mp4 +3 -0
- examples/6.mp4 +3 -0
- examples/7.mp4 +3 -0
- examples/8.mp4 +3 -0
- examples/9.mp4 +3 -0
examples/1.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b00547df86692f8c6dee2fba4c852c6f71beaf87c754f73e0b258471763c1920
|
| 3 |
+
size 4983590
|
examples/10.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f55e744b70c26df8f897279d1b44114d9c257c67a6a19ff5b3eb968c3ef220a
|
| 3 |
+
size 4891283
|
examples/2.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22284c833e0e4aa0016f9bc31dcefa442cc8e632f3b99f7719ec5f4618cc6605
|
| 3 |
+
size 6938946
|
examples/3.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23624a3dfb51ab0f04bb90ab45db598b65e2142ecf3af5a2caf52765cbf62820
|
| 3 |
+
size 12968993
|
examples/4.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cef66b1e3ae38a1ac05599e840bfe41a06f4812b0920fe914679fd137fd94224
|
| 3 |
+
size 2631016
|
examples/5.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ea41bc450f9b08f35c15b9ee51219fd53eaf80750c84d83fc37da08e3a93982
|
| 3 |
+
size 10555508
|
examples/6.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86406c3bef66e339c9b28d42ddbc796e64f940918568e26d30d07f1b7f1045d0
|
| 3 |
+
size 6836144
|
examples/7.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc11b76bfaa89414b3a93104183458383a1ac943397b49c06f8e01721e80e514
|
| 3 |
+
size 10292706
|
examples/8.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:557421c5537da0c36c9e1c6bfb6e42e1581f44565c4401dda3be3c97565644ce
|
| 3 |
+
size 4606422
|
examples/9.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1b2d38e3e9816c6e077504656edcd9162db6925a81d1c7d3ef815a52ced1a41
|
| 3 |
+
size 7401689
|