alt.freeweights.image / MOSS-Image-SFT
From: OpenMOSS-Team <huggingface.co/OpenMOSS-Team>Newsgroups: alt.freeweights.imageSubject:

MOSS-Image-SFT

Date: 2026-11-15Commit: f972bd4Signed: 2DC28CC7B26A283B ✓

Text to image model with 5.1B parameters. Safetensors weights, 27.2 GB in all. Published by OpenMOSS-Team under Apache-2.0.

5.1B params27.2GBMOSS-Image-SFTsafetensorspermissive
FactsParams5.1BSize27.2 GBFormatssafetensorsTasktext to imageLicenseApache-2.0From sourcepermissive
$ fw get OpenMOSS-Team/MOSS-Image-SFT
# manifest sha256 01824f982673… · 27.2 GB · 37 files
$ fw verify ./MOSS-Image-SFT OpenMOSS-Team/MOSS-Image-SFT
From sourceHosted (signed)OpenMOSS-Team/MOSS-Image-SFTLast check: 2026-11-15 02:37 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of MOSS-Image-Base.

Works with

Overview

Size
27.2 GB
Weights
27.2 GB (safetensors)
Parameters
5.1B
Formats
safetensors
Task
text to image
License
Apache-2.0 (permissive)
Files
37, each with a sha256
Publisher
OpenMOSS-Team
Added
2026-11-15
Section
alt.freeweights.image
Lineage

Original release from the publisher.

Base model: OpenMOSS-Team/MOSS-Image-Base

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:37 UTCpassed

Model card

From the publisher at commit f972bd4. Shown as plain text with links; images open at the publisher.

MOSS-Image-SFT#

MOSS-Image MOSS-Image

Hugging Face · MOSS-Image-Base &nbsp; Hugging Face · MOSS-Image-SFT &nbsp; ModelScope · MOSS-Image-Base &nbsp; ModelScope · MOSS-Image-SFT &nbsp; GitHub &nbsp; Hugging Face Spaces · Demo &nbsp; MOSI API Platform &nbsp; Homepage &nbsp; Technical Report &nbsp; arXiv: 2610.23374 &nbsp; Follow OpenMOSS on X &nbsp; MOSS-Image QQ 交流群:755535143 &nbsp; MOSS-Builders Feishu Community &nbsp; MOSS-Image Discord Community

User guide &nbsp; · &nbsp; 中文用户指南 &nbsp; · &nbsp; ComfyUI

Image: MOSS-Image-Base and MOSS-Image-SFT

MOSS-Image-SFT is a supervised fine-tuned text-to-image model in the MOSS-Image family from OpenMOSS, derived from 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-BaseMOSS-Image-SFT
Image: MOSS-Image-BaseImage: MOSS-Image-SFT

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. 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 and example workflow.

Sampling settings#

SettingDefault
SamplerFlow-matching Euler
Steps50
CFG3
Shift5
Layer skippingNegative branch, layer index 22 (zero-based)
Negative promptEmpty

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 for resolution, sampling, prompt, and LoRA training recommendations.

Prompt enhancer skill#

The MOSS-Image Prompt Enhancer 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 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.

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.

Image: Layout control

Showcase#

Image: Examples overview

Image: Examples overview 2

Citation#

@misc{ai2026mossimagetechnicalreport,
      title={MOSS-Image Technical Report},
      author={MOSI. AI},
      year={2026},
      eprint={2610.23374},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2610.23374},
}

License and acknowledgements#

The model weights and bundled inference code are released under the Apache License, Version 2.0.

We thank the Diffusers, Qwen, and FLUX teams.

Files

37 files · 27.2 GBWeights 27.2 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 37 files with their sha256
FileSizesha256
.gitattributes663 B1e45ae0e7440ad5050565b6e03920849907dd7f9fd1ac681775f5f9a49838cfa
.gitignore27 Bef4eccfd90d6561a50fa85ed203b851f06b2981540d54795000495839df96c27
LICENSE11.4 KBcfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30
README.md9.25 KB58232c1ee4ec63dc095cf2dbd97295dae8150ad9e5529defd50d7a1764a21d4d
assets/comparison/base.webp102 KBdd0eccae7f9c591b65c8161bb2d8515a3fdfe124d4be015f660ffa96c5c7a8b8
assets/comparison/sft.webp153 KBde1ba44f48d49e792b16aac26f2d260beefbcb9fbfa72f3ace363ff8a9917f71
assets/feishu-builders-badge.svg8.01 KBb33cf4aca202bdf42c564163f304891fa17e96413ae0748ffd2afce9f909a677
assets/lockup-dark.svg9.83 KB7484badabd9e56e29b4ca791d9e398b6b4d12cbbf5bc21a5b7913eca5a3557e4
assets/lockup-light.svg9.83 KB662aaecb531db075d93232d56f892fb2e80c95c540d3d604a4ec73a765c8e51e
assets/modelscope-base-badge.svg1.24 KBae320543e3045204037a0952e3bc18c90abb26f8677750bb60d5136bedda710a
assets/modelscope-sft-badge.svg1.24 KB04795cebf6062ec8ea62641af4bea2e16acc8eb71f2fb67ed6262c3dec49b31c
assets/showcase/layout-bboxes.webp851 KB0cd091fbd9145b9dc640e1d70dc10e6776b661bb1f443bdefadc9a24f78214d1
assets/showcase/overview.webp1.13 MBae5039bc1ea15b1be43662aabb90539332815230bbc7f56d9481ce53f79131f1
assets/showcase/overview2.webp4.63 MBa51172680bcddd6fad2edf0bc6bd0c26e509aa52ac9e3b57f95e914bd6d223f0
assets/showcase/text-rendering.webp1.86 MBe3dac88a40868bf4a51b27d74b09cbddd30260f1ce118c6d6ba60ad5b97ea83e
assets/teaser.webp438 KB47d1ae8ebf4f7dc0db2c85dc7f71f182cd2205b19932211e831e1cb24b17efc1
model_index.json412 Bca80b1f562a506e0eb24afb1acb464fb583163e3c240c04e4bc69fea090db173
pipeline_moss_image.py25.1 KB1dac1aca9feb1bfdfc727a401e4b67d61a505d3190706d1b7d2d784f88678b31
scheduler/pipeline_moss_image.py25.1 KB1dac1aca9feb1bfdfc727a401e4b67d61a505d3190706d1b7d2d784f88678b31
scheduler/scheduler_config.json494 B707322832cc507dfb8c51c0e0cd04d44ee2d30a9b036b6f3c47d6c17aa71adf0
text_encoder/config.json2.81 KBb31ee18a242bcfcccbe740f825f6b1d3ae231b0655eeecb5de3e98d504b7d68c
text_encoder/model-00001-of-00004.safetensors4.97 GBabfaa3d3a8612508c85ee8f6da9c734b862f10298b903765c4ad384177c32b0b
text_encoder/model-00002-of-00004.safetensors4.99 GB9112637fa6bf4d07bafd6ae268852b18d3d0c1242f4ee901c5579006e5bd4894
text_encoder/model-00003-of-00004.safetensors4.95 GB956f1ef51d0cfe610b0d22987c0b7821c36e3ce228abceccef523518bcf079dc
text_encoder/model-00004-of-00004.safetensors1.87 GB9e21d20e8adde88c3e0b65d4a0d251f143d98ee9d52db36b4348361091e4e208
text_encoder/model.safetensors.index.json64.6 KB0af6fa3fa36ba8dcbb6b7ad0325a36c5b1b69862a9a1f1486b1b80385bd8f5ee
tokenizer/chat_template.jinja7.76 KBa4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715
tokenizer/tokenizer.json20.0 MB06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
tokenizer/tokenizer_config.json1.12 KBbee8eba30f0eb4af73c0fe2cd06d0f89b657d7819941c438157ec42f7c80ea87
transformer/config.json240 B3291c3a1c7adc22b8182a0de25ca8ec97474d72715ce84adbab09cc0be24f666
transformer/diffusion_pytorch_model-00001-of-00003.safetensors4.99 GBe40d3444940a0b0fd7cd45ba7959a5bd3d5efd7ddf87aae5ce4d87ce8aa03d01
transformer/diffusion_pytorch_model-00002-of-00003.safetensors4.98 GBd106da790ec2924ffd8af04b4ffa8f8de281a974b58e55649c3ec596dc8ef033
transformer/diffusion_pytorch_model-00003-of-00003.safetensors190 MB11f637ab17c7093344a6110a1e87ffda8e56558dc55183d8e790222cfcdcf52d
transformer/diffusion_pytorch_model.safetensors.index.json40.3 KBb609327fc75dbe5080e7e095d8b727d74d728b4f98e8b047133b0082cfa2fb03
transformer/pipeline_moss_image.py25.1 KB1dac1aca9feb1bfdfc727a401e4b67d61a505d3190706d1b7d2d784f88678b31
vae/config.json838 Bcc77f3f0ce0357039c71018dc19edaa4fcceb0c2f7488fdc2b9c0580d6baafa1
vae/diffusion_pytorch_model.safetensors250 MBc3bdf94dc67ec69b30ea9fe1fa8340085679cae64d019f7c7e4a9921f1a7f17a
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
f972bd4b4b pinned now2026-11-15 02:37 UTC37 files · 27.2 GB

Use it

$ fw get OpenMOSS-Team/MOSS-Image-SFT
# manifest sha256 01824f982673… · 27.2 GB · 37 files
$ fw verify ./MOSS-Image-SFT OpenMOSS-Team/MOSS-Image-SFT
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/OpenMOSS-Team/MOSS-Image-SFT.json --dir ./MOSS-Image-SFT $ python3 fw.py verify ./MOSS-Image-SFT ./OpenMOSS-Team__MOSS-Image-SFT.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download OpenMOSS-Team/MOSS-Image-SFT --revision f972bd4b4b9e3852133cc5da954d87bc32cd8fb9 --local-dir ./MOSS-Image-SFT
diffusersRun the pipeline with diffusers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from diffusers import DiffusionPipeline pipe = DiffusionPipeline.from_pretrained("OpenMOSS-Team/MOSS-Image-SFT", revision="f972bd4b4b9e3852133cc5da954d87bc32cd8fb9")
Packaged for ComfyUI. Most image, video and music models run in ComfyUI . Check the publisher's page for the workflow. Freeweights does not host it.

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: OpenMOSS-Team <huggingface.co/OpenMOSS-Team>Newsgroups: alt.freeweights.imageSubject: MOSS-Image-SFTDate: 2026-11-15Commit: f972bd4Signed: 2DC28CC7B26A283B ✓
Upstream
OpenMOSS-Team/MOSS-Image-SFT
Pinned commit
f972bd4b4b9e3852133cc5da954d87bc32cd8fb9
Manifest
MOSS-Image-SFT.json · .minisig
Manifest sha256
01824f98267338dcd7f136829f0d5a716b34ea6c971b65d396b2a08dd6214d52
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:37 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/OpenMOSS-Team/MOSS-Image-SFT.json $ curl -O https://freeweights.allternit.com/manifests/OpenMOSS-Team/MOSS-Image-SFT.json.minisig $ minisign -Vm MOSS-Image-SFT.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

OpenMOSS-Team/MOSS-Image-Base · this model is a finetune of it

2 models in the catalog name this one as their parent.

Quantizations
2
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download OpenMOSS-Team/MOSS-Image-SFT
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. MOSS-Image-SFT.json. Provenance. Takedown history: none.

Variants

2 quantized or adapter builds of MOSS-Image-SFT. Each has its own license check and page.

From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Boogu-Image
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Chroma1-HD
From: lodestones <huggingface.co/lodestones>Subject: Chroma1-HD
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Chroma1-Radiance
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: ERNIE-Image
From: baidu <huggingface.co/baidu>Subject: ERNIE-Image