Views
No views yet
1conda create -n far python=3.10
2conda activate far1pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
2pip install -r requirements.txt --no-build-isolation| Model | Tasks | Resolution | Download Link |
|---|---|---|---|
AnyFlow-FAR-Wan2.1-1.3B-Diffusers | T2V, I2V, V2V | 480P | 🤗 Hugging Face |
AnyFlow-FAR-Wan2.1-14B-Diffusers | T2V, I2V, V2V | 480P | 🤗 Hugging Face |
AnyFlow-Wan2.1-T2V-14B-Diffusers | T2V | 480P | 🤗 Hugging Face |
AnyFlow-Wan2.1-T2V-1.3B-Diffusers | T2V | 480P | 🤗 Hugging Face |
pip install "huggingface_hub[cli]"
hf download nvidia/AnyFlow-FAR-Wan2.1-1.3B-Diffusers --repo-type model --local-dir experiments/pretrained_models/AnyFlow-FAR-Wan2.1-1.3B-Diffusers1import torch
2from diffusers.utils import export_to_video
3
4from far.pipelines.pipeline_wan_anyflow import WanAnyFlowPipeline
5
6model_id = "nvidia/AnyFlow-Wan2.1-T2V-1.3B-Diffusers"
7pipeline = WanAnyFlowPipeline.from_pretrained(model_path).to('cuda', dtype=torch.bfloat16)
8
9prompt = "CG game concept digital art, a majestic elephant with a vibrant tusk and sleek fur running swiftly towards a herd of its kind."
10
11video = pipeline(
12 prompt=prompt,
13 height=480,
14 width=832,
15 num_frames=81,
16 num_inference_steps=4,
17 generator=torch.Generator('cuda').manual_seed(0)
18).frames[0]
19export_to_video(output, "output.mp4", fps=16)1@article{gu2026anyflow,
2 title={AnyFlow: Any-Step Video Diffusion Model with On-Policy Flow Map Distillation},
3 author={Gu, Yuchao and Fang, Guian and Jiang, Yuxin and Mao, Weijia and Han, Song and Cai, Han and Shou, Mike Zheng},
4 journal={arXiv preprint arXiv:2605.13724},
5 year={2026}
6}
7
8@article{gu2025long,
9 title={Long-Context Autoregressive Video Modeling with Next-Frame Prediction},
10 author={Gu, Yuchao and Mao, weijia and Shou, Mike Zheng},
11 journal={arXiv preprint arXiv:2503.19325},
12 year={2025}
13}