Instructions to use Soul-AILab/LiveAct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Soul-AILab/LiveAct 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("Soul-AILab/LiveAct", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_class_name": "WanModel", | |
| "_diffusers_version": "0.32.2", | |
| "_name_or_path": "/WanModel_audio200_armemory1_modifyema200700/", | |
| "audio_window": 5, | |
| "context_tokens": 32, | |
| "dim": 5120, | |
| "eps": 1e-06, | |
| "ffn_dim": 13824, | |
| "freq_dim": 256, | |
| "in_dim": 36, | |
| "intermediate_dim": 512, | |
| "model_type": "i2v", | |
| "norm_input_visual": true, | |
| "norm_output_audio": true, | |
| "num_heads": 40, | |
| "num_layers": 40, | |
| "out_dim": 16, | |
| "output_dim": 768, | |
| "text_len": 512, | |
| "vae_scale": 4, | |
| "weight_init": false | |
| } | |