Instructions to use joyfox/Wan2.2-T2V-EVA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use joyfox/Wan2.2-T2V-EVA 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("Wan-AI/Wan2.2-T2V-A14B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("joyfox/Wan2.2-T2V-EVA") prompt = "mrx, 一个女人穿着红色战斗服坐在桌子前吃饭" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
| license: apache-2.0 | |
| language: | |
| - en | |
| base_model: | |
| - Wan-AI/Wan2.2-T2V-A14B | |
| pipeline_tag: image-to-video | |
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - text: >- | |
| mrx, 一个女人穿着红色战斗服坐在桌子前吃饭 | |
| output: | |
| url: result/output1.mp4 | |
| - text: >- | |
| mrx, 无人机运镜镜头,从室外到室内,一个女人在厨房忙碌做饭,旁边是已经两个做好的两道菜 | |
| output: | |
| url: result/output2.mp4 | |
| - text: >- | |
| mrx, 无人机运镜镜头,从室外到室内,一个动漫女人坐在桌子前吃早饭,看到镜头后伸手打招呼,面带微笑 | |
| output: | |
| url: result/output3.mp4 | |
| <div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;"> | |
| <h1 style="color: #24292e; margin-top: 0;">valiantcat LoRA for Wan2.2-T2V-A14B</h1> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Overview</h2> | |
| <p>This LoRA is trained on the Wan2.2-T2V-A14B model.</p> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Features</h2> | |
| <ul style="margin-bottom: 0;"> | |
| <li>Generate any life videos of eva through prompt</li> | |
| <li>Trained on the Wan2.2-T2V-A14B base model</li> | |
| <li>Consistent results across different object types</li> | |
| <li>Simple prompt structure that's easy to adapt</li> | |
| </ul> | |
| </div> | |
| <Gallery /> | |
| # Model File and Inference Workflow | |
| ## 📥 Download Links: | |
| - [wan2.2-t2v-eva-low.safetensors](./wan2.2-t2v-eva-low.safetensors) - LoRA Model File | |
| --- | |
| <div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;"> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Recommended Settings</h2> | |
| <ul style="margin-bottom: 0;"> | |
| <li><b>LoRA Strength:</b> 1.0</li> | |
| <li><b>Embedded Guidance Scale:</b> 1.0</li> | |
| <li><b>Flow Shift:</b> 8.0</li> | |
| </ul> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Trigger Words</h2> | |
| <p>The key trigger phrase is: <code style="background-color: #f0f0f0; padding: 3px 6px; border-radius: 4px;">mrx</code></p> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Prompt Template</h2> | |
| <p>For best results, use this prompt structure:</p> | |
| <div style="background-color: #f0f0f0; padding: 12px; border-radius: 6px; margin: 10px 0;"> | |
| <i>mrx, 无人机运镜镜头,从室外到室内,一个动漫女人坐在桌子前吃早饭,看到镜头后伸手打招呼,面带微笑</i> | |
| </div> | |
| </div> | |