Instructions to use Soul-AILab/SoulX-FlashHead-1_3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Soul-AILab/SoulX-FlashHead-1_3B 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/SoulX-FlashHead-1_3B", 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
- Xet hash:
- 6ca3506b5a68f936361dec1d94501fdd9af60106ef2473fc0c0854bc51363829
- Size of remote file:
- 1.68 MB
- SHA256:
- 72a340f8b74936961c4525592e8f07280f1cc771efa3e0dbc84b731ece6e3198
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.