Instructions to use genmo/mochi-1-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use genmo/mochi-1-preview with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("genmo/mochi-1-preview", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Genmo
How to use genmo/mochi-1-preview with Genmo:
# 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
- Inference
- Notebooks
- Google Colab
- Kaggle
Consistency between video created
Hello,
I am using the playground to generate videos for a short movie I have writen. I have an issue with the consistency of the characters I am using. It would be great if I can upload a picture of a character and the model create a video based on a text but with the face based on the picture I've uploaded. Is there anything I can do to reach that goal with the current version of your playground?
The best I have found on this is to use the seed from a look you like and use it on the next video. It gets pretty close.
Can anyone suggest me a model text to video ,which is open source can be used for commercial purpose free (under apache 2.0 license )and also can be used on google colab free version .