Instructions to use sand-ai/MAGI-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sand-ai/MAGI-1 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("sand-ai/MAGI-1", 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") - MAGI-1
How to use sand-ai/MAGI-1 with MAGI-1:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Request: DOI
#32 opened 9 months ago
by
NicheC
How to deploy to cloud?
#31 opened 9 months ago
by
jameshuntercarter
الحكم يطلق صافرة البداية
#30 opened 10 months ago
by
Omaralaham
Update README.md
#29 opened 12 months ago
by
NicheC
Delete figures/logo_black.png
#26 opened about 1 year ago
by
kponoabasi
Request: DOI
#25 opened about 1 year ago
by
sam1234560
Perang sparta
1
#24 opened about 1 year ago
by
Ekipratama
Upload cartoon_acc32d1f71303021e562c4749f08b07e_1744503759771.jpg
#23 opened about 1 year ago
by
solanikof
Delete figures/logo_black.png
#22 opened about 1 year ago
by
Desmondjay23
Delete figures/logo_black.png
#21 opened about 1 year ago
by
Desmondjay23
Delete figures/logo_black.png
#20 opened about 1 year ago
by
tabdramane40
Docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]
#19 opened about 1 year ago
by
CoreMega
Convert into a vadeo
2
#18 opened about 1 year ago
by
Zack601141
Updating library_name
#16 opened about 1 year ago
by
reach-vb
Feels undercooked! Testing video
#15 opened about 1 year ago
by
ritheshSree
Upload Screenshot_20250424_220626_Lite.jpg
#14 opened about 1 year ago
by
Yuppyreachy
Request: DOI
#12 opened about 1 year ago
by
Amyww
Upload IMG_0711.jpeg
🚀 1
#11 opened about 1 year ago
by
Gida3300
Delete figures/logo_black.png
#10 opened about 1 year ago
by
infraarhtur
Delete figures/logo_black.png
#9 opened about 1 year ago
by
infraarhtur
Upload Photoleap_21_04_2025_03_10_29_ZQLR5.jpg
#8 opened about 1 year ago
by
DlyZytn
Another Error
6
#5 opened about 1 year ago
by
Gemneye
Getting this error
#4 opened about 1 year ago
by
Gemneye
Getting the following error when trying to run 24B model
3
#3 opened about 1 year ago
by
Gemneye
MAGI-1-4.5B ?
👍 6
3
#2 opened about 1 year ago
by
alien-robot
Upload IMG_6103.jpeg
#1 opened about 1 year ago
by
Dm181