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
File size: 1,899 Bytes
c10a006 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | {
"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"
}
]
}
|