2026-11-26 15:48 UTC

OpenMOSS releases Apache-licensed MOSS-Image with JSON layout prompting

state: watchingheat: mediumuncertainty: highrelevance: mediumopen-image-models local-image-generationOpenMOSS

What is this?

OpenMOSS has released MOSS-Image-Base and MOSS-Image-SFT, a 5B-parameter text-to-image model family, with model weights and bundled inference code listed as Apache-2.0. The Hugging Face model card describes natural-language, tag-sequence and experimental JSON-layout prompting to control text and object placement, plus Diffusers and a ComfyUI plugin. Setup calls for a CUDA-capable NVIDIA GPU; the supplied sources do not establish performance on particular consumer GPUs. Search results report the release and features, but do not provide independent benchmark evidence.

Why it matters

MOSS-Image is a useful new option to watch for people running open image models locally: it pairs Apache-2.0 weights with structured JSON prompts for specifying object positions and text placement, a feature that could help with posters, diagrams, and other composition-sensitive images. But the supplied evidence does not establish how its image quality, speed, or hardware demands compare with Qwen-Image or Flux, and adoption is not yet demonstrated.

Current assessment

OpenMOSS’s Hugging Face model card lists Base and SFT checkpoints for a 5B text-to-image model family and says both model weights and bundled inference code are Apache-2.0. It describes natural-language, tag-sequence, and experimental JSON-layout prompts, with Diffusers and a ComfyUI plugin available; its example setup uses a CUDA-capable NVIDIA GPU. The stated distinguishing capability is structured control over rendered text and object arrangement. The model card’s own example suggests SFT improves text grouping and layout over Base, but this is not an independent evaluation. A Reddit post reports the release and asks how it compares with Qwen Image and Flux; comments include informal comparisons, not benchmark evidence. Search results corroborate the release and feature description, but claims of strong text rendering and broad runtime support remain unverified here. Useful follow-up: independent quality and speed comparisons, actual VRAM requirements, and evidence of sustained ComfyUI adoption. The supplied evidence is insufficient to recommend it over established alternatives.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p0momentum: steady1 platformsage 987h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-16 12:30⭐ origin directly observedOpenMOSS releases MOSS-Image
ilintar on r/LocalLLaMA
—
10-16 12:30amplified on r/LocalLLaMA 👑reddit.post.1x7ey7i
ilintar
peak 175 · 40 comments · 100% of case engagement
10-16 14:30our radar first saw it · +2.0hdiscovery anchor: reddit.post.1x7ey7i—
pace: p79 vs 879 stories at the 720h mark (now 987h old) — ahead of sfnx-volta-qwen-inference (1.0x), behind hob-local-desktop-ai-assistant-release (1.0x)

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 reddit ⭐OpenMOSS releases MOSS-Image
LocalLLaMA
Retrieved article excerpt

Open article · Retrieved 2026-10-16T19:13:54.379804+00:00

# [OpenMOSS-Team](https://huggingface.co/OpenMOSS-Team) / [MOSS-Image-SFT](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT) Like 101 Follow OpenMOSS 1.29k

[Text-to-Image](https://huggingface.co/models?pipeline_tag=text-to-image)[Diffusers](https://huggingface.co/models?library=diffusers)[Safetensors](https://huggingface.co/models?library=safetensors)[English](https://huggingface.co/models?language=en)[Chinese](https://huggingface.co/models?language=zh)[MOSSImagePipeline](https://huggingface.co/models?other=diffusers%3AMOSSImagePipeline)[moss-image](https://huggingface.co/models?other=moss-image)

License: apache-2.0

[Model card](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT)  [Files Files and versions  

xet](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT/tree/main)  [Community 

2](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT/discussions)

 

Deploy

  Copy to bucket new   

Use this model

 

# MOSS-Image-SFT

[MOSS-Image
MOSS-Image](https://github.com/OpenMOSS/MOSS-Image)

[GitHub](https://github.com/OpenMOSS/MOSS-Image)
 
[Hugging Face · MOSS-Image-Base](https://huggingface.co/OpenMOSS-Team/MOSS-Image-Base)
 
[Hugging Face · MOSS-Image-SFT](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT)
 
[ModelScope · MOSS-Image-Base](https://modelscope.cn/models/openmoss/MOSS-Image-Base)
 
[ModelScope · MOSS-Image-SFT](https://modelscope.cn/models/openmoss/MOSS-Image-SFT)
 
[Hugging Face Spaces · Demo](https://huggingface.co/spaces/OpenMOSS-Team/MOSS-Image)
 
[Follow OpenMOSS on X](https://x.com/Open_MOSS)
 
[MOSS-Image QQ 交流群:755535143](https://qm.qq.com/q/hphM7VhaDu)
 
[MOSS-Builders Feishu Community](https://applink.feishu.cn/client/chat/chatter/add_by_link?link_token=7a3m2007-815f-409b-9c3d-a4129f5c058e)
 
[Homepage](https://openmoss.github.io/MOSS-Image/)
 
[Technical Report](https://github.com/OpenMOSS/MOSS-Image/blob/main/paper/MOSS_Image_Technical_Report.pdf)

[User guide](https://github.com/OpenMOSS/MOSS-Image/blob/main/USERGUIDE.md)   ·  
[中文用户指南](https://github.com/OpenMOSS/MOSS-Image/blob/main/USERGUIDE_ZH.md)   ·  
[ComfyUI](https://github.com/OpenMOSS/MOSS-Image/blob/main/comfyui/README.md)

[MOSS-Image-Base and MOSS-Image-SFT](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT/blob/main/assets/teaser.webp)

MOSS-Image-SFT is a supervised fine-tuned text-to-image model in the
**MOSS-Image** family from OpenMOSS, derived from
[MOSS-Image-Base](https://huggingface.co/OpenMOSS-Team/MOSS-Image-Base).
It uses the same architecture and inference pipeline, supporting natural-language
prompts, tag sequences, and JSON layouts for controlling text placement and
object arrangement.

## Base vs. SFT

In this example, SFT produces clearer text grouping and a more organized whiteboard layout.

| MOSS-Image-Base | MOSS-Image-SFT |
| --- | --- |
| [MOSS-Image-Base](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT/blob/main/assets/comparison/base.webp) | [MOSS-Image-SFT](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT/blob/main/assets/comparison/sft.webp) |

## Quick start

Use Python 3.10 or later and an NVIDIA GPU with CUDA support. Install a PyTorch
2.9 or later build compatible with your CUDA environment, then install:

```
pip install "diffusers>=0.38" "transformers>=5.3" "accelerate>=1.10" "safetensors>=0.6" "Pillow>=10"
```

```
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},
)
pipe.scheduler = type(pipe.scheduler).from_config(pipe.scheduler.config)
pipe.to("cuda")

prompt = '''A wide view of a refrigerator beside a kitchen counter with a fruit bowl. A small sticky note on the refrigerator door is handwritten in Chinese:
"记得买牛奶和鸡蛋!
牛奶两盒,鸡蛋一打。
顺便带一袋面包。"'''

image = pipe(
    prompt,
    height=1024,
    width=1024,
    num_inference_steps=50,
    guidance_scale=3.0,
    uncond_skip_layers=[22],
    generator=torch.Generator("cpu").manual_seed(42),
).images[0]
image.save("refrigerator_note.png")
```

The model and custom pipeline code are downloaded and cached automatically. You
can also pass a complete local model directory to `from_pretrained`.
The transformer and text encoder use bfloat16; the VAE and initial noise use
float32. The bundled VAE uses the FLUX.2 small decoder.

For the Gradio interface, CPU offload, and compilation options, follow the
[project quick start](https://github.com/OpenMOSS/MOSS-Image#quick-start).
For ComfyUI, search for **MOSS-Image** in **ComfyUI Manager** to install the
native plugin. Integration into the official ComfyUI repository is in progress.
See the [installation and usage guide](https://github.com/OpenMOSS/MOSS-Image/blob/main/comfyui/README.md)
and [example workflow](https://github.com/OpenMOSS/MOSS-Image/blob/main/comfyui/moss-image/example_workflows/moss-image.json).

## Sampling settings

| Setting | Default |
| --- | --- |
| Sampler | Flow-matching Euler |
| Steps | 50 |
| CFG | 3 |
| Shift | 5 |
| Layer skipping | Negative branch, layer index 22 (zero-based) |
| Negative prompt | Empty |

The default guidance uses two transformer forwards per step. Pass
`uncond_skip_layers=[]` to disable negative-branch skipping, or set
`negative_prompt` to provide a negative prompt. Python API image dimensions must
be positive multiples of 16.

See the [user guide](https://github.com/OpenMOSS/MOSS-Image/blob/main/USERGUIDE.md)
for resolution, sampling, prompt, and LoRA training recommendations.

## Prompt enhancer skill

The [MOSS-Image Prompt Enhancer](https://github.com/OpenMOSS/MOSS-Image/blob/main/skills/moss-image-prompt-enhancer/SKILL.md) turns
image ideas into detailed captions or spatial Layout prompts. It is designed for
GPT-6-family agents with local file and Python tools. The bundled script converts
pixel-coordinate drafts into compact JSON with integer centered coordinates;
it does not call an image-generation service.

Install the [skill folder](https://github.com/OpenMOSS/MOSS-Image/tree/main/skills/moss-image-prompt-enhancer) in your agent's skills
directory, then invoke `$moss-image-prompt-enhancer` with your image idea, desired
caption or Layout output, and any canvas dimensions. Paste the compiled result
into MOSS-Image's positive prompt; for Layout, use the same generation dimensions.

## Layout-to-image generation

Pass a JSON layout as the prompt to describe the scene, rendered text, objects,
and their positions. Layouts use `summary.caption` and `items`, with
`bbox_format: "yxyx"` and `bbox_coord_space: "abs_centralized"`.

With the Python API, serialize the layout using
`json.dumps(layout, ensure_ascii=False)` and pass it to `pipe`. In Gradio, paste
the JSON into the Prompt field and set the matching image dimensions.
See the [layout format and example](https://github.com/OpenMOSS/MOSS-Image/blob/main/USERGUIDE.md#layout-prompts-experimental).

Layouts can also support controlled editing and user-friendly layout tools.
Edit text, element descriptions, and bounding boxes to adjust image content and
composition in a structured way.

[Layout control](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT/blob/main/assets/showcase/layout-bboxes.webp)

## Showcase

[Examples overview](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT/blob/main/assets/showcase/overview.webp)

[Examples overview 2](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT/blob/main/assets/showcase/overview2.webp)

## Citation

```
@misc{mossimage2026,
  title = {MOSS-Image},
  author = {{OpenMOSS Team}},
  year = {2026},
  howpublished = {\url{https://github.com/OpenMOSS/MOSS-Image}}
}
```

## License and acknowledgements

The model weights and bundled inference code are released under the
[Apache License, Version 2.0](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT/tree/main/LICENSE).

We thank the Diffusers, Qwen, and FLUX teams.

Downloads last month
:   54

 

Safetensors

Model size

5B params

Tensor type

BF16

·

F32

·

Files info

  

## Model tree for OpenMOSS-Team/MOSS-Image-SFT

Base model

[OpenMOSS-Team/MOSS-Image-Base](https://huggingface.co/OpenMOSS-Team/MOSS-Image-Base)

Finetuned

 ([9](https://huggingface.co/models?other=base_model:finetune:OpenMOSS-Team/MOSS-Image-Base)) 

this model

 

Finetunes

 [3 models](https://huggingface.co/models?other=base_model:finetune:OpenMOSS-Team/MOSS-Image-SFT)

Quantizations

 [5 models](https://huggingface.co/models?other=base_model:quantized:OpenMOSS-Team/MOSS-Image-SFT)

  

## Spaces using OpenMOSS-Team/MOSS-Image-SFT 7
ilintar17540

Interpretation history

Decision trace