Instructions to use sekkit/MOSS-Image-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sekkit/MOSS-Image-Base with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("sekkit/MOSS-Image-Base", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 1,243 Bytes
7333845 | 1 | <svg xmlns="http://www.w3.org/2000/svg" width="207" height="20" role="img" aria-label="ModelScope: MOSS-Image-Base"><title>ModelScope: MOSS-Image-Base</title><g shape-rendering="crispEdges"><rect width="92" height="20" fill="#555"/><rect x="92" width="115" height="20" fill="#624aff"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" href="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJ3aGl0ZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPk1vZGVsU2NvcGU8L3RpdGxlPjxwYXRoIGQ9Ik0yLjY2NyA1LjMzM1Y4SDB2NS4zMzNoMi42Njd2LTIuNjY2SC41VjguNWgyLjE2NnYyLjE2NmgyLjY2NlY4SDhWNS4zMzNabTAgOHY1LjMzNEg4VjE2SDUuMzMzdi0yLjY2N1ptMTMuMzMzLThWOGgyLjY2N3YyLjY2N2gyLjY2NlY4LjVIMjMuNXYyLjE2NmgtMi4xNjZ2Mi42NjZIMjRWOGgtMi42NjdWNS4zMzNabTUuMzMzIDhoLTIuNjY2VjE2SDE2djIuNjY3aDUuMzMzek04IDEwLjY2N3YyLjY2NmgyLjY2N3YtMi42NjZ6bTIuNjY3IDIuNjY2VjE2aDIuNjY2di0yLjY2N3ptMi42NjYgMEgxNnYtMi42NjZoLTIuNjY3eiIvPjwvc3ZnPg=="/><text x="555" y="140" textLength="650" transform="scale(.1)">ModelScope</text><text x="1485" y="140" textLength="1050" transform="scale(.1)">MOSS-Image-Base</text></g></svg> |