Text-to-Video
Diffusers
Safetensors
English
MotifVideoPipeline
image-to-video
video-generation
diffusion-transformer
Instructions to use Motif-Technologies/Motif-Video-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Motif-Technologies/Motif-Video-2B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Motif-Technologies/Motif-Video-2B", dtype=torch.bfloat16, device_map="cuda") prompt = "A vibrant blue jay perches gracefully on a slender branch, its feathers shimmering in the soft morning light. The bird's keen eyes scan the surroundings, capturing the essence of the tranquil forest. It flutters its wings briefly, showcasing the intricate patterns of blue, white, and black on its plumage. The background reveals a lush canopy of green leaves, with rays of sunlight filtering through, creating a dappled effect on the forest floor. The blue jay then tilts its head, emitting a melodious call that echoes through the serene woodland, adding a touch of magic to the peaceful scene." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
fix: trim pos/neg independently instead of max alignment b67e1aa
docs: add Flash Attention section to README 4b01b74
chore: verify I2V compatibility with encoder_attention_mask=None (item 5) 9717caf
chore: verify batch>1 preserves original attention_mask path (item 4) 8ca961d
feat: skip encoder_attention_mask in guider when mask is None 2134e9d
feat: move prompt_embeds trim to __call__ for correct CFG alignment eabf2fa
feat: trim prompt_embeds padding for batch=1 to enable Flash Attention d1a46b1
Delete motif-video-technical-report.pdf 0e8fceb verified
Update README.md 68210f0 verified
Update README.md 82fb28f verified
chore: remove .plans from tracking (internal working docs) c863b63
chore: close low-vram-inference plan (MM-1091) 0ed7f12
feat: enable_model_cpu_offload() for 24GB GPUs + README update 160bda0
Update README.md 8114af8 verified
add-tech-report (#2) 3e1bd47
Update techreport link to Motifvideo_techreport.pdf b8007d8
beomgyu commited on