Instructions to use bytedance-research/ATI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use bytedance-research/ATI 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("bytedance-research/ATI", 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
Download assets/editor3.PNG from bytedance-research/ATI: direct link, hf CLI and curl.
- Browser
- Download file 20.4 kB
-
https://huggingface.co/bytedance-research/ATI/resolve/main/assets/editor3.PNG
- Command line
-
hf download hf://bytedance-research/ATI/assets/editor3.PNG
-
curl -L -o editor3.PNG https://huggingface.co/bytedance-research/ATI/resolve/main/assets/editor3.PNG
20.4 kB