Instructions to use OpenMOSS-Team/MOSS-Image-SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OpenMOSS-Team/MOSS-Image-SFT with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OpenMOSS-Team/MOSS-Image-SFT", 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
Box-layout run on MOSS-Image-SFT: six boxes, all text spelled as typed
Box-layout run on MOSS-Image-SFT: six boxes, all text spelled as typed
Workflow: image_moss_image_t2i_bboxes.json (the official bboxes template), 1024×1024.
Six boxes: one object box and five text boxes. Every string was placed by box coordinates rather than described in the prompt:
MOSSacross the top, asked to be cropped by both frame edgesMOSS IMAGE / PROJECTtop-left, two tiny uppercase lines- a three-line quote block upper-left
- a two-line paragraph upper-right
- a three-line quote block bottom-right
What came out: all five text boxes render the strings as written, including the three-line quote blocks and the cropped wordmark. The object box keeps the knight out of the type rather than letting it draw over it.
Box coordinates, scene description and the output:
https://mossimage.dev/?recipe=knight-layout
The four official templates, with the model files and settings each one expects:
https://mossimage.dev/blog/moss-image-comfyui-guide