Views
No views yet
sudo apt-get update && sudo apt-get install cbm git-lfs ffmpeg1git clone https://huggingface.co/svjack/Sebastian_Michaelis_wan_2_1_14_B_text2video_lora
2cd Sebastian_Michaelis_wan_2_1_14_B_text2video_lora1pip install torch torchvision
2pip install -r requirements.txt
3pip install ascii-magic matplotlib tensorboard huggingface_hub datasets
4pip install moviepy==1.0.3
5pip install sageattention==1.0.6
6pip install -U bitsandbytes 1wget https://huggingface.co/Wan-AI/Wan2.1-T2V-14B/resolve/main/models_t5_umt5-xxl-enc-bf16.pth
2wget https://huggingface.co/DeepBeepMeep/Wan2.1/resolve/main/models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth
3wget https://huggingface.co/Wan-AI/Wan2.1-T2V-14B/resolve/main/Wan2.1_VAE.pth
4wget https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_bf16.safetensors
5wget https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_bf16.safetensorswan_generate_video.py script with the appropriate parameters. Below are examples of how to generate videos using the Sebastian_Michaelis model.1python wan_generate_video.py --fp8 --task t2v-14B --video_size 480 832 --video_length 81 --infer_steps 35 \
2--save_path save --output_type both \
3--dit wan2.1_t2v_14B_bf16.safetensors --vae Wan2.1_VAE.pth \
4--t5 models_t5_umt5-xxl-enc-bf16.pth \
5--attn_mode torch \
6--lora_weight Sebastian_Michaelis_w14_outputs/Sebastian_Michaelis_w14_lora-000007.safetensors \
7--lora_multiplier 1.0 \
8--prompt "In the style of Black Butler , The video opens with a close-up of a character dressed in a black suit, white shirt, and black tie. eating a burger."1python wan_generate_video.py --fp8 --task t2v-14B --video_size 480 832 --video_length 81 --infer_steps 35 \
2--save_path save --output_type both \
3--dit wan2.1_t2v_14B_bf16.safetensors --vae Wan2.1_VAE.pth \
4--t5 models_t5_umt5-xxl-enc-bf16.pth \
5--attn_mode torch \
6--lora_weight Sebastian_Michaelis_w14_outputs/Sebastian_Michaelis_w14_lora-000007.safetensors \
7--lora_multiplier 1.0 \
8--prompt "In the style of Black Butler , The video opens with a close-up of a character dressed in a black suit, white shirt, and black tie. stands in a quiet office space. The soft glow of a desk lamp casts a warm light across his thoughtful expression, while the hum of distant keyboards and the faint scent of coffee linger in the air. Outside the window, the city lights twinkle like distant stars, blending with the muted glow of computer screens as the workday stretches on around him."--fp8: Enable FP8 precision (optional).--task: Specify the task (e.g., t2v-1.3B).--video_size: Set the resolution of the generated video (e.g., 1024 1024).--video_length: Define the length of the video in frames.--infer_steps: Number of inference steps.--save_path: Directory to save the generated video.--output_type: Output type (e.g., both for video and frames).--dit: Path to the diffusion model weights.--vae: Path to the VAE model weights.--t5: Path to the T5 model weights.--attn_mode: Attention mode (e.g., torch).--lora_weight: Path to the LoRA weights.--lora_multiplier: Multiplier for LoRA weights.--prompt: Textual prompt for video generation.save_path directory.pip.