Run this model with HF Jobs
Run Wan-AI/Wan2.2-S2V-14B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Wan-AI/Wan2.2-S2V-14B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Wan-AI/Wan2.2-S2V-14B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Wan-AI/Wan2.2-S2V-14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Wan-AI/Wan2.2-S2V-14B 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-S2V-14B", 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
ساخت ویدیویی که مورچه ها بازی بسکتبال میکنند
“Cinematic close-up shot, macro photography, a group of tiny ants playing basketball on a miniature wooden court made of twigs and a matchbox. One ant is dribbling a tiny ball made of a small red berry, while another ant jumps to dunk it into a hoop made of a bent paperclip. Bright natural sunlight, shallow depth of field, highly detailed, realistic textures, 4k, energetic atmosphere.”

“Cinematic close-up shot, macro photography, a group of tiny ants playing basketball on a miniature wooden court made of twigs and a matchbox. One ant is dribbling a tiny ball made of a small red berry, while another ant jumps to dunk it into a hoop made of a bent paperclip. Bright natural sunlight, shallow depth of field, highly detailed, realistic textures, 4k, energetic atmosphere.”
“Cinematic, wide shot, professional NBA indoor basketball arena with bright stadium lights and cheering crowd in the background. A group of tall, slender extraterrestrials with glowing bioluminescent skin and elongated limbs are playing a basketball game. One alien leaps exceptionally high, defying gravity, and performs a powerful, explosive slam dunk into the hoop. The floor reflects the stadium lights. Realistic textures, 8k resolution, motion blur, highly detailed, dramatic shadows, hyper-realistic, dynamic camera movement following the dunk.”