Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

WepeNerd
/
Obscura_Remova

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
Model card Files Files and versions
xet
Community
6

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
Obscura_Remova
399 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 26 commits
WepeNerd's picture
WepeNerd
Upload iPhone-compatible examples
907f5d2 verified about 2 months ago
  • examples
    Upload iPhone-compatible examples about 2 months ago
  • workflow
    Upload workflow/LTX23_Obscura_Remova_wf1.json 4 months ago
  • .gitattributes
    2.45 kB
    Remux videos for iPhone playback about 2 months ago
  • LTX23_Obscura_Remova_v1.safetensors
    327 MB
    xet
    Upload LTX23_Obscura_Remova_v1.safetensors 4 months ago
  • README.md
    2.77 kB
    Update README.md 3 months ago