跳到正文

正在自动登录…

← 返回项目列表

OpenMOSS/MOSS-Image

图像生成文本渲染布局控制

MOSS-Image 是一个用于生成高质量图像的基础模型,支持文本渲染、布局控制和高效微调,适合需要生成包含清晰文字和复杂布局图像的开发者。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/16 17:41:18 · 查看原文

值得看Python应用与服务兼有 研究项目
累计 Stars
1,384
当前热度
1~7 天 · 热门
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/10/16 17:41:18

使用方式

可通过 Python API 或 Gradio 界面使用,也提供 ComfyUI 插件。

查看 README 依据
- 🛠️ **Easy to fine-tune:** Adapt the base model to custom tasks and domains. - ⚡ **Compact and efficient:** Efficient image generation with a 5B backbone. - 🖥️ **Heterogeneous GPU training**: Trained on alternative GPU platforms. <a id="user-guide"></a> ## User guide Start with the **[English user guide](USERGUIDE.md)** or **[中文用户指南](USERGUIDE_ZH.md)** for recommended inference settings, prompt examples, layout input formats, and LoRA training guidance. <a id="comfyui"></a> ## ComfyUI This repository provides a native MOSS-Image plugin for ComfyUI.
| ![MOSS-Image-Base](assets/comparison/base.webp) | ![MOSS-Image-SFT](assets/comparison/sft.webp) | <!-- MOSS-Image-Base uses a 42-layer diffusion transformer, a Qwen3.5-9B text encoder, and a FLUX.2 VAE. --> <a id="quick-start"></a> ## 🚀 Quick start <a id="installation"></a> ### 🛠️ Installation ```bash git clone https://github.com/OpenMOSS/MOSS-Image.git cd MOSS-Image python -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` <a id="python"></a> ### 🐍 Python ```python import torch from diffusers import DiffusionPipeline
uncond_skip_layers=[22], generator=torch.Generator("cpu").manual_seed(42), ).images[0] image.save("refrigerator_note.png") ``` <a id="gradio"></a> ### 🎨 Gradio ```bash pip install -e '.[ui]' python gradio_app.py --model OpenMOSS-Team/MOSS-Image-Base ``` <a id="sampling-settings"></a> ### 🎛️ Sampling settings | Setting | Default | | --- | --- | | Sampler | Flow-matching Euler | | Steps | 50 | | CFG | 3 | | Shift | 5 | | Layer skipping | Negative-branch skipping at layer 22 | | Negative prompt (Python API) | Empty |
部署要求

需要 Python 环境,安装依赖后使用,模型需从 Hugging Face 或 ModelScope 下载。

查看 README 依据
| ![MOSS-Image-Base](assets/comparison/base.webp) | ![MOSS-Image-SFT](assets/comparison/sft.webp) | <!-- MOSS-Image-Base uses a 42-layer diffusion transformer, a Qwen3.5-9B text encoder, and a FLUX.2 VAE. --> <a id="quick-start"></a> ## 🚀 Quick start <a id="installation"></a> ### 🛠️ Installation ```bash git clone https://github.com/OpenMOSS/MOSS-Image.git cd MOSS-Image python -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` <a id="python"></a> ### 🐍 Python ```python import torch from diffusers import DiffusionPipeline
已知限制

GPU 内存不足时需选择 Sequential 模式或降低图像尺寸,编译 DiT 在 Sequential 模式下不可用。

查看 README 依据
See the [user guide](USERGUIDE.md) for sampling and prompt recommendations. <a id="memory-and-performance"></a> ### ⚡ Memory and performance Select Memory mode in Gradio's Advanced settings: | Mode | Behavior | | --- | --- | | GPU resident | Keep the entire model on GPU | | Component | Move model components between CPU and GPU as needed | | Sequential · fallback | Lower memory use with slower inference | If GPU memory is insufficient, select Sequential or reduce image size. Compile DiT is disabled by default and unavailable in Sequential mode. <a id="layout-generation"></a>

README

正在加载 README…

收录信息

仓库创建时间
2026/10/16 09:18:13
首次达标收录
2026/10/16 17:36:22
统计更新时间
2026/10/22 19:00:54

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 3.9 / 5

新颖度
3.6
实用价值
4.3
成熟度
4.1
实质含量
3.8

由 Jev 模型根据仓库描述与 README 评估,2026/10/16 17:36:22 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/21 00:42:45
许可证标识
Apache-2.0
Fork 数
68
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目