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 bundle_manifest.json from nickchiu/Refocusing-Any-Video: direct link, hf CLI and curl.
- Browser
- Download file 1.9 kB
-
https://huggingface.co/nickchiu/Refocusing-Any-Video/resolve/main/bundle_manifest.json
- Command line
-
hf download hf://nickchiu/Refocusing-Any-Video/bundle_manifest.json
-
curl -L -o bundle_manifest.json https://huggingface.co/nickchiu/Refocusing-Any-Video/resolve/main/bundle_manifest.json
1.9 kB
| { | |
| "format_version": 1, | |
| "base_model": "stabilityai/stable-video-diffusion-img2vid", | |
| "artifacts": [ | |
| { | |
| "path": "vdd_weights/checkpoint-90000/unet_lora/adapter_config.json", | |
| "bytes": 971, | |
| "sha256": "b20b517bf96d33ffb045e6fa688d30f58770514af16e74e982ed6a59d02a7e55" | |
| }, | |
| { | |
| "path": "vdd_weights/checkpoint-90000/unet_lora/adapter_model.safetensors", | |
| "bytes": 98000712, | |
| "sha256": "c9b724f49648973a8228224939bb9191adb35320bceed1b07063948a5dfcecbc" | |
| }, | |
| { | |
| "path": "vbr_weights/checkpoint-100000/unet_lora/adapter_config.json", | |
| "bytes": 933, | |
| "sha256": "fa9d650f3b9c81a2a5e44bf73a0ec0c8f11b47bdf91850cdbc597d1127ee1bfa" | |
| }, | |
| { | |
| "path": "vbr_weights/checkpoint-100000/unet_lora/adapter_model.safetensors", | |
| "bytes": 97950320, | |
| "sha256": "df3a2e7b3bcd8b57fa556d8dd73942982814f939406316eafe15c740b56bbc9e" | |
| }, | |
| { | |
| "path": "vbr_weights/checkpoint-100000/unet_conv_in_refocus.pt", | |
| "bytes": 141581, | |
| "sha256": "bee1c87dd015f040439db7a8f9356005bad633af6ccf5e845194736cc886cb42" | |
| }, | |
| { | |
| "path": "identity_adapter/ip_adapter.bin", | |
| "bytes": 320049019, | |
| "sha256": "f20ec5a9c8a43c0ae3929fb74cad2388c3039121c88bc89e7356189cde6ae7f2" | |
| }, | |
| { | |
| "path": "identity_adapter_track4gen/ip_adapter.bin", | |
| "bytes": 439764592, | |
| "sha256": "d95e76b4367cad505f5742450cc46b12a99b4a9f42a654db8c553b2f7b5b188f" | |
| }, | |
| { | |
| "path": "facenet/pnet.pt", | |
| "bytes": 28570, | |
| "sha256": "a2a71925e0b9996a42f63e47efc1ca19043e69558b5c523b978d611dfae49c8f" | |
| }, | |
| { | |
| "path": "facenet/rnet.pt", | |
| "bytes": 403147, | |
| "sha256": "bbb937de72efc9ef83b186c49f5f558467a1d7e3453a8ece0d71a886633f6a86" | |
| }, | |
| { | |
| "path": "facenet/onet.pt", | |
| "bytes": 1559269, | |
| "sha256": "165bfbe42940416ccfb977545cf0e976d5bf321f67083ae2aaaa5c764280118d" | |
| } | |
| ] | |
| } | |