Instructions to use tiny-random/moss-image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tiny-random/moss-image with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tiny-random/moss-image", 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
Download .meta.json from tiny-random/moss-image: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/tiny-random/moss-image/resolve/main/.meta.json
- Command line
-
hf download hf://tiny-random/moss-image/.meta.json
-
curl -L -o .meta.json https://huggingface.co/tiny-random/moss-image/resolve/main/.meta.json
442 Bytes
| { | |
| "source_model": { | |
| "name": "OpenMOSS-Team/MOSS-Image-Base", | |
| "commit_id": "85975793d8b3d432f1b6e27f352abaa4c2a4c0d3" | |
| }, | |
| "env": { | |
| "python": "3.12.13", | |
| "packages": { | |
| "Pillow": "12.3.0", | |
| "diffusers": "0.40.0.dev0", | |
| "huggingface_hub": "1.27.0", | |
| "safetensors": "0.8.0", | |
| "tokenizers": "0.23.0rc0", | |
| "torch": "2.13.0+cu126", | |
| "transformers": "5.15.0.dev0" | |
| }, | |
| "cuda": "12.6" | |
| } | |
| } |