Instructions to use nickchiu/Refocusing-Any-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nickchiu/Refocusing-Any-Video with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-video-diffusion-img2vid", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("nickchiu/Refocusing-Any-Video") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Download identity_adapter/ip_adapter.bin from nickchiu/Refocusing-Any-Video: direct link, hf CLI and curl.
- Browser
- Download file 320 MB
-
https://huggingface.co/nickchiu/Refocusing-Any-Video/resolve/main/identity_adapter/ip_adapter.bin
- Command line
-
hf download hf://nickchiu/Refocusing-Any-Video/identity_adapter/ip_adapter.bin
-
curl -L -o ip_adapter.bin https://huggingface.co/nickchiu/Refocusing-Any-Video/resolve/main/identity_adapter/ip_adapter.bin
320 MB
- Xet hash:
- 2359ca12dc81a02fc3a8c6d334be3cc2f287b8c4d232c242e378cd8fbe471e12
- Size of remote file:
- 320 MB
- SHA256:
- f20ec5a9c8a43c0ae3929fb74cad2388c3039121c88bc89e7356189cde6ae7f2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.