Instructions to use strangerzonehf/Hunyuan-t2v-Cartoon-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use strangerzonehf/Hunyuan-t2v-Cartoon-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tencent/HunyuanVideo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("strangerzonehf/Hunyuan-t2v-Cartoon-LoRA") prompt = "cartoon motion real girl with messy bun and sparkling eyes, walking joyfully down a sunny, ivy-covered alley, holding a red heart. Striped dress, matching socks and sneakers. Soft sunlight, dreamy Pixar style, warm and whimsical atmosphere, cinematic depth of field." output = pipe(prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!