Nanosaur2-670M
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
A text-to-image model from OpenMOSS, fine-tuned from MOSS-Image-Base, that reads plain prompts, tags or JSON layouts to place text and objects. For people who generate images with diffusers on an NVIDIA GPU.
MOSS-Image-SFT is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install "diffusers>=0.38" "transformers>=5.3" "accelerate>=1.10" "safetensors>=0.6" "Pillow>=10"
MOSS-Image-SFT is a text-to-image model from OpenMOSS, part of the MOSS-Image family. It is a supervised fine-tune of MOSS-Image-Base and shares the architecture and pipeline of that model. You can write a plain-language prompt, a list of tags, or a JSON layout that says where text and objects should go. It works in English and Chinese.
It suits people who want images with readable text and a planned layout, and developers who run an image model through diffusers.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Design | Designers | Describe a layout in JSON to place text and objects | A poster with a headline in a set spot |
| Marketing | Content staff | Make visuals with clear lettering from a prompt | A banner with a short slogan |
| Software | Developers | Call the model from Python with diffusers | An app that returns an image for each prompt |
| AI research | Researchers | Compare the Base model with the fine-tuned one | The same prompt run through both |
If you have no NVIDIA GPU, you can skip it, since the card asks for CUDA.
| Use case | Who | What they get back |
|---|---|---|
| Prompt to image | Designers | A picture made from a plain-language prompt |
| Layout control | Marketers | Text and objects placed where a JSON layout says |
| Tag-based prompts | Developers | Images made from a sequence of tags |
You need these first:
pip install "diffusers>=0.38" "transformers>=5.3" "accelerate>=1.10" "safetensors>=0.6" "Pillow>=10"
pip install -U huggingface_hub hf download OpenMOSS-Team/MOSS-Image-SFT
Load the pipeline in Python, then give it a prompt, a tag list or a JSON layout. The part of the card given here ends before the call that makes the image, so read the full card for that step.
import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(
"OpenMOSS-Team/MOSS-Image-SFT",
custom_pipeline="pipeline_moss_image",
trust_remote_code=True,
torch_dtype={"default": torch.bfloat16, "vae": torch.float32},
)| Tool | What it does |
|---|---|
| DiffusionPipeline | Loads the model through diffusers |
| custom_pipeline="pipeline_moss_image" | Picks the MOSS-Image pipeline code |
| trust_remote_code=True | Lets that pipeline code run when the model loads |
| torch_dtype | Sets the data type for the model and for the VAE |
You load the pipeline, then ask for a whiteboard picture with a short list of tasks, and you give a JSON layout for where each line goes. The card does not show this exact run, so treat it as an expectation. The card says the fine-tuned model groups text more clearly than the Base model.
A fine-tune starts from a base model and trains it further on chosen examples. A good first step is a plain-language prompt, and later you can try tags or a JSON layout for more control.
Because the architecture and pipeline match the Base model, setups built for the Base model should carry over. Other people have published 51 quantized and 26 fine-tuned versions of this model.
The weights are about 10.2 GB in BF16, and about 2.5 GB at 4-bit by Hugging Face's own estimate.
A text-to-image model from OpenMOSS, fine-tuned from MOSS-Image-Base, that reads plain prompts, tags or JSON layouts to place text and objects. For people who generate images with diffusers on an NVIDIA GPU.
Made by OpenMOSS-Team on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: MOSS-Image-SFT is a text-to-image model from OpenMOSS, part of the MOSS-Image family. It is a supervised fine-tune of MOSS-Image-Base and shares the architecture and pipeline of that model. You can write a plain-language prompt, a list of tags, or a JSON layout that says where text and objects should go. It works in English and Chinese.
Who it suits: It suits people who want images with readable text and a planned layout, and developers who run an image model through diffusers.
Industry | Who uses it | How they use it | Example
Design | Designers | Describe a layout in JSON to place text and objects | A poster with a headline in a set spot
Marketing | Content staff | Make visuals with clear lettering from a prompt | A banner with a short slogan
Software | Developers | Call the model from Python with diffusers | An app that returns an image for each prompt
AI research | Researchers | Compare the Base model with the fine-tuned one | The same prompt run through both
If you have no NVIDIA GPU, you can skip it, since the card asks for CUDA.
Where to use it:
Use case | Who | What they get back
Prompt to image | Designers | A picture made from a plain-language prompt
Layout control | Marketers | Text and objects placed where a JSON layout says
Tag-based prompts | Developers | Images made from a sequence of tags
How to set it up: You need these first:
pip install "diffusers>=0.38" "transformers>=5.3" "accelerate>=1.10" "safetensors>=0.6" "Pillow>=10"
pip install -U huggingface_hub
hf download OpenMOSS-Team/MOSS-Image-SFT
How to use it: Load the pipeline in Python, then give it a prompt, a tag list or a JSON layout. The part of the card given here ends before the call that makes the image, so read the full card for that step.
import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(
"OpenMOSS-Team/MOSS-Image-SFT",
custom_pipeline="pipeline_moss_image",
trust_remote_code=True,
torch_dtype={"default": torch.bfloat16, "vae": torch.float32},
)
Tool | What it does
DiffusionPipeline | Loads the model through diffusers
custom_pipeline="pipeline_moss_image" | Picks the MOSS-Image pipeline code
trust_remote_code=True | Lets that pipeline code run when the model loads
torch_dtype | Sets the data type for the model and for the VAE
Example: You load the pipeline, then ask for a whiteboard picture with a short list of tasks, and you give a JSON layout for where each line goes. The card does not show this exact run, so treat it as an expectation. The card says the fine-tuned model groups text more clearly than the Base model.
For newcomers and experts: A fine-tune starts from a base model and trains it further on chosen examples. A good first step is a plain-language prompt, and later you can try tags or a JSON layout for more control.
Because the architecture and pipeline match the Base model, setups built for the Base model should carry over. Other people have published 51 quantized and 26 fine-tuned versions of this model.
Write a prompt, tags or a JSON layout
Load the pipeline with diffusers
Generate the image
Check the text and the layout
Good to know: The weights are about 10.2 GB in BF16, and about 2.5 GB at 4-bit by Hugging Face's own estimate.
Title: Weight size in GB
BF16 weights: 10.2 GB
4-bit estimate: 2.5 GB
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download OpenMOSS-Team/MOSS-Image-SFT
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| MOSS-Image-SFT This page | 22,963 | 950 | 5.1B | apache-2.0 | |
| MOSS-Image-SFT-4-stepsShares moss-image · text-to-image · diffusers | 73,131 | 96 | 5.1B | apache-2.0 | |
| KromossShares moss-image · text-to-image · diffusers | 64,728 | 322 | 5.1B | apache-2.0 | |
| MOSS-Image-BaseShares moss-image · text-to-image · diffusers | 13,535 | 656 | 5.1B | apache-2.0 | |
| MOSS-Image FP16-fixedShares moss-image · text-to-image · diffusers | 0 | 38 | — | apache-2.0 | |
| moss_image_base_dmd2Shares moss-image · text-to-image · diffusers | 0 | 23 | — | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Waqf-AI · Kit
Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.
Wan-AI · Kit
Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.
Wan-AI · Kit
Generates cinematic video of a character driven by an audio track, and can also lip-sync existing video. For video creators, animators and researchers with a l…
Wan-AI · Kit
Animates a character or swaps one into a video by copying a performer's movement and expressions, as one model from the Wan2.2 video family. Use only faces and…
vllm-sr · Kit
Answers choice, yes-or-no, score, box and tracking questions about text, images or video in one call, with a probability for each answer. For people building r…