工作流 /
图像 /
MOSS-Image Base:文本生图

MOSS-Image Base:文本生图
MOSS-Image Base: Text to Image
使用 MOSS-Image 基础检查点,根据文本提示生成图像;模型读取完整场景描述并输出一张成品图。提示词增强器会先将简短请求扩展为详细描述。适合微调实验以及与指令微调检查点的对比。
图像
6 个节点 1,611 次使用 ComfyUI ≥ 0.42.0 ComfyUI 73 KB
需要的权重
这个工作流引用了 3 个权重文件,其中 3 个能在本站模型库里找到。
flux2-vae_small.safetensors
在模型库查看
moss_image_base_int8_convrot.safetensors
在模型库查看
qwen3.5_9b_w4a8_gptq.safetensors
在模型库查看
节点构成
MarkdownNote
× 3
SaveImage
× 1
3301b744-2960-415a-83b0-fe8a89d99fdb
× 1
ResolutionSelector
× 1
官方标注的模型
MOSS-Image
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "e8f30439-267f-45de-b260-db0d114b2c85",
3 "revision": 0,
4 "last_node_id": 33,
5 "last_link_id": 53,
6 "nodes": [
7 {
8 "id": 9,
9 "type": "SaveImage",
10 "pos": [
11 850,
12 0
13 ],
14 "size": [
15 570,
16 700
17 ],
18 "flags": [],
19 "order": 5,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 22
26 }
27 ],
28 "outputs": [
29 {
30 "name": "images",
31 "type": "IMAGE",
32 "links": null
33 }
34 ],
35 "properties": {
36 "Node name for S&R": "SaveImage"
37 },
38 "widgets_values": [
39 "moss_image_t2i_base"
40 ],
41 "widgets_values_named": {
42 "filename_prefix": "moss_image_t2i_base"
43 }
44 },
45 {
46 "id": 18,
47 "type": "3301b744-2960-415a-83b0-fe8a89d99fdb",
48 "pos": [
49 330,
50 0
51 ],
52 "size": [
53 430,
54 680
55 ],
56 "flags": [],
57 "order": 4,
58 "mode": 0,
59 "inputs": [
60 {
61 "label": "positive_prompt",
62 "name": "value",
63 "type": "STRING",
64 "widget": {
65 "name": "value"
66 },
67 "link": null
68 },
69 {
70 "label": "enable_prompt_enhancer",
71 "name": "switch",
72 "type": "BOOLEAN",
73 "widget": {
74 "name": "switch"
75 },
76 "link": null
77 },
78 {
79 "label": "prompt_enhancer_seed",
80 "name": "sampling_mode.seed",
81 "type": "INT",
82 "widget": {
83 "name": "sampling_mode.seed"
84 },
85 "link": null
86 },
87 {
88 "label": "negative_prompt",
89 "name": "text",
90 "type": "STRING",
91 "widget": {
92 "name": "text"
93 },
94 "link": null
95 },
96 {
97 "name": "width",
98 "type": "INT",
99 "widget": {
100 "name": "width"
101 },
102 "link": 40
103 },
104 {
105 "name": "height",
106 "type": "INT",
107 "widget": {
108 "name": "height"
109 },
110 "link": 41
111 },
112 {
113 "label": "SLG",
114 "name": "switch_1",
115 "type": "BOOLEAN",
116 "widget": {
117 "name": "switch_1"
118 },
119 "link": null
120 },
121 {
122 "label": "unet_model",
123 "name": "unet_name",
124 "type": "COMBO",
125 "widget": {
126 "name": "unet_name"
127 },
128 "link": null
129 },
130 {
131 "label": "clip_model",
132 "name": "clip_name",
133 "type": "COMBO",
134 "widget": {
135 "name": "clip_name"
136 },
137 "link": null
138 },
139 {
140 "label": "vae_model",
141 "name": "vae_name",
142 "type": "COMBO",
143 "widget": {
144 "name": "vae_name"
145 },
146 "link": null
147 },
148 {
149 "label": "ref_image (for llm)",
150 "name": "image",
151 "shape": 7,
152 "type": "IMAGE",
153 "link": null
154 }
155 ],
156 "outputs": [
157 {
158 "name": "IMAGE",
159 "type": "IMAGE",
160 "links": [
161 22
162 ]
163 }
164 ],
165 "properties": {
166 "previewExposures": []
167 },
168 "widgets_values": [
169 "Black-and-white grunge event poster: a model in an oversized black hoodie and wide black trousers sits low on a concrete floor, photographed from a low wide angle so the sneakers are huge in the foreground, grey concrete wall behind, torn newspapers lying scattered on the floor around them. The word \"MOSS\" is set in gigantic heavy condensed capitals filling the top half of the poster behind the figure, slightly cropped by the frame edges. Along the bottom a grid of small info blocks separated by thin rules: \"SATURDAY\" and \"01 SEPT 2026\" and \"DOORS OPEN 10:00 PM\" on the left, \"MOSS IMAGE\" with \"TEXT / LAYOUT / TYPE\" in the middle, \"SUPPORTING ACT\" with \"MOSS\" on the right, and a barcode block in the bottom right corner. Monochrome, high contrast, fine film grain, editorial print, paper texture.",
170 true,
171 0,
172 "nsfw, worst quality, bad anatomy, watermark, jpeg artifact",
173 1024,
174 1024,
175 524391326626742,
176 25,
177 2.5,
178 true,
179 "er_sde",
180 "simple",
181 "moss_image_base_int8_convrot.safetensors",
182 "qwen3.5_9b_w4a8_gptq.safetensors",
183 "flux2-vae_small.safetensors"
184 ],
185 "widgets_values_named": {
186 "value": "Black-and-white grunge event poster: a model in an oversized black hoodie and wide black trousers sits low on a concrete floor, photographed from a low wide angle so the sneakers are huge in the foreground, grey concrete wall behind, torn newspapers lying scattered on the floor around them. The word \"MOSS\" is set in gigantic heavy condensed capitals filling the top half of the poster behind the figure, slightly cropped by the frame edges. Along the bottom a grid of small info blocks separated by thin rules: \"SATURDAY\" and \"01 SEPT 2026\" and \"DOORS OPEN 10:00 PM\" on the left, \"MOSS IMAGE\" with \"TEXT / LAYOUT / TYPE\" in the middle, \"SUPPORTING ACT\" with \"MOSS\" on the right, and a barcode block in the bottom right corner. Monochrome, high contrast, fine film grain, editorial print, paper texture.",
187 "switch": true,
188 "sampling_mode.seed": 0,
189 "text": "nsfw, worst quality, bad anatomy, watermark, jpeg artifact",
190 "width": 1024,
191 "height": 1024,
192 "seed": 524391326626742,
193 "steps": 25,
194 "cfg": 2.5,
195 "switch_1": true,
196 "sampler_name": "er_sde",
197 "scheduler": "simple",
198 "unet_name": "moss_image_base_int8_convrot.safetensors",
199 "clip_name": "qwen3.5_9b_w4a8_gptq.safetensors",
200 "vae_name": "flux2-vae_small.safetensors"
201 }
202 },
203 {
204 "id": 19,
205 "type": "ResolutionSelector",
206 "pos": [
207 0,
208 320
209 ],
210 "size": [
211 280,
212 190
213 ],
214 "flags": [],
215 "order": 0,
216 "mode": 0,
217 "showAdvanced": true,
218 "inputs": [],
219 "outputs": [
220 {
221 "name": "width",
222 "type": "INT",
223 "links": [
224 40
225 ]
226 },
227 {
228 "name": "height",
229 "type": "INT",
230 "links": [
231 41
232 ]
233 }
234 ],
235 "properties": {
236 "Node name for S&R": "ResolutionSelector"
237 },
238 "widgets_values": [
239 "1:1 (Square)",
240 1,
241 16
242 ],
243 "widgets_values_named": {
244 "aspect_ratio": "1:1 (Square)",
245 "megapixels": 1,
246 "multiple": 16
247 }
248 },
249 {
250 "id": 30,
251 "type": "MarkdownNote",
252 "pos": [
253 -1170,
254 -40
255 ],
256 "size": [
257 580,
258 630
259 ],
260 "flags": [],
261 "order": 1,
262 "mode": 0,
263 "inputs": [],
264 "outputs": [],
265 "properties": [],
266 "widgets_values": [
267 "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/MOSS-Image](https://huggingface.co/Comfy-Org/MOSS-Image)\n- [ModelScope:Comfy-Org/MOSS-Image](https://modelscope.cn/models/Comfy-Org/MOSS-Image)\n\n**diffusion_models**\n\n- [moss_image_base_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/diffusion_models/moss_image_base_int8_convrot.safetensors) (5.04 GB)\n\n**text_encoders**\n\n- [qwen3.5_9b_w4a8_gptq.safetensors](https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors) (9.08 GB)\n\n**vae**\n\n- [flux2-vae_small.safetensors](https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/vae/flux2-vae_small.safetensors) (249.5 MB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── moss_image_base_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3.5_9b_w4a8_gptq.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae_small.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
268 ],
269 "widgets_values_named": {
270 "text": "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/MOSS-Image](https://huggingface.co/Comfy-Org/MOSS-Image)\n- [ModelScope:Comfy-Org/MOSS-Image](https://modelscope.cn/models/Comfy-Org/MOSS-Image)\n\n**diffusion_models**\n\n- [moss_image_base_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/diffusion_models/moss_image_base_int8_convrot.safetensors) (5.04 GB)\n\n**text_encoders**\n\n- [qwen3.5_9b_w4a8_gptq.safetensors](https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors) (9.08 GB)\n\n**vae**\n\n- [flux2-vae_small.safetensors](https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/vae/flux2-vae_small.safetensors) (249.5 MB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── moss_image_base_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3.5_9b_w4a8_gptq.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae_small.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
271 },
272 "color": "#222",
273 "bgcolor": "#000"
274 },
275 {
276 "id": 31,
277 "type": "MarkdownNote",
278 "pos": [
279 -560,
280 -40
281 ],
282 "size": [
283 520,
284 1200
285 ],
286 "flags": [],
287 "order": 2,
288 "mode": 0,
289 "inputs": [],
290 "outputs": [],
291 "properties": [],
292 "widgets_values": [
293 "## MOSS-Image capabilities and limits\n\nSources: [USERGUIDE](https://github.com/OpenMOSS/MOSS-Image/blob/main/USERGUIDE.md), README, HF Base/SFT cards; cross-checked against community benchmark notes.\n\n### Resolution\n\n| Item | Official |\n|------|----------|\n| Recommended total pixels | **1M, 1.5M, or 2M** |\n| Extrapolation range | **0.25M (512×512) to 4M (~2K)** |\n| Aspect ratio | Arbitrary; width/height must be positive multiples of **16** |\n| This template default | 1024×1024 (~1M) |\n\n### Strengths\n\n- ~**5B** single-stream DiT (Muon); FLUX.2 small VAE; Qwen-family text encoder.\n- Strong bilingual English and Chinese text rendering and auto layout; JSON Layout control for text/objects; long prompts (~**4K** tokens); anime and photorealistic.\n- **SFT** clearer text grouping/layouts; **Base** has no post-training / CFG distillation (better for community LoRAs).\n- Inputs: natural language, tag sequences, JSON layout (layout is experimental). Prefer English (most training data); Chinese supported.\n\n### Limits / notes\n\n- Auto line breaks may not match intent — use `\\n` or real newlines for precise text.\n- Turning off SLG looks more realistic but can collapse details; official negative-branch skip layer **22** (24/26 also help). kijai notes SLG can overblow anime styles.\n- Recommended negative prompt: `nsfw, worst quality, bad anatomy, watermark, jpeg artifact`\n- If VRAM is tight, lower resolution or use Sequential / CPU offload.\n- When training LoRA yourself, **freeze the text encoder**.\n- License: Apache 2.0.\n\n---\n\n## Sampling settings vs. official defaults\n\n| Setting | This template | OpenMOSS official |\n|---------|---------------|-------------------|\n| Steps | 25 | 50 |\n| CFG | 2.5 | 3 |\n| Sampler | er_sde | Euler |\n| Scheduler | simple | default |\n| Denoise | 1 | 1 |\n| Shift | 5 (model default) | 5 (same) |\n\nThis template follows the faster settings from kijai's ComfyUI MOSS-Image PR [#17095](https://github.com/comfyanonymous/ComfyUI/pull/17095). That is a speed trade-off, not a bug. For results closer to the official ones, try 50 steps and CFG 3.\n\n### Community notes\n\n- **Skip layer guidance:** can overblow anime styles; no alternative values were suggested (template keeps official layer 22). You can check the detail settings inside the subgraph\n- **Shift:** adjust with ModelSamplingAuraFlow or ModelSamplingFlux — ModelSamplingSD3 uses a completely different scale. You can enter the subgraph to adjust it\n- **SFT banding:** experimental LoRA at about −0.5 strength: [moss_image_sft_lora_blocks_21_to_49…](https://huggingface.co/Kijai/MOSS-image_experimental/blob/main/loras/moss_image_sft_lora_blocks_21_to_49_rank_512_bf16.safetensors)\n\n\n## Prompt skill\n\nThe system prompt driving the upsampler is written from the official [MOSS-Image Prompt Enhancer skill](https://github.com/OpenMOSS/MOSS-Image/blob/main/skills/moss-image-prompt-enhancer/SKILL.md). The same skill turns an idea into a caption or a Layout prompt outside ComfyUI, and it is the reference for the caption style this model was trained on."
294 ],
295 "widgets_values_named": {
296 "text": "## MOSS-Image capabilities and limits\n\nSources: [USERGUIDE](https://github.com/OpenMOSS/MOSS-Image/blob/main/USERGUIDE.md), README, HF Base/SFT cards; cross-checked against community benchmark notes.\n\n### Resolution\n\n| Item | Official |\n|------|----------|\n| Recommended total pixels | **1M, 1.5M, or 2M** |\n| Extrapolation range | **0.25M (512×512) to 4M (~2K)** |\n| Aspect ratio | Arbitrary; width/height must be positive multiples of **16** |\n| This template default | 1024×1024 (~1M) |\n\n### Strengths\n\n- ~**5B** single-stream DiT (Muon); FLUX.2 small VAE; Qwen-family text encoder.\n- Strong bilingual English and Chinese text rendering and auto layout; JSON Layout control for text/objects; long prompts (~**4K** tokens); anime and photorealistic.\n- **SFT** clearer text grouping/layouts; **Base** has no post-training / CFG distillation (better for community LoRAs).\n- Inputs: natural language, tag sequences, JSON layout (layout is experimental). Prefer English (most training data); Chinese supported.\n\n### Limits / notes\n\n- Auto line breaks may not match intent — use `\\n` or real newlines for precise text.\n- Turning off SLG looks more realistic but can collapse details; official negative-branch skip layer **22** (24/26 also help). kijai notes SLG can overblow anime styles.\n- Recommended negative prompt: `nsfw, worst quality, bad anatomy, watermark, jpeg artifact`\n- If VRAM is tight, lower resolution or use Sequential / CPU offload.\n- When training LoRA yourself, **freeze the text encoder**.\n- License: Apache 2.0.\n\n---\n\n## Sampling settings vs. official defaults\n\n| Setting | This template | OpenMOSS official |\n|---------|---------------|-------------------|\n| Steps | 25 | 50 |\n| CFG | 2.5 | 3 |\n| Sampler | er_sde | Euler |\n| Scheduler | simple | default |\n| Denoise | 1 | 1 |\n| Shift | 5 (model default) | 5 (same) |\n\nThis template follows the faster settings from kijai's ComfyUI MOSS-Image PR [#17095](https://github.com/comfyanonymous/ComfyUI/pull/17095). That is a speed trade-off, not a bug. For results closer to the official ones, try 50 steps and CFG 3.\n\n### Community notes\n\n- **Skip layer guidance:** can overblow anime styles; no alternative values were suggested (template keeps official layer 22). You can check the detail settings inside the subgraph\n- **Shift:** adjust with ModelSamplingAuraFlow or ModelSamplingFlux — ModelSamplingSD3 uses a completely different scale. You can enter the subgraph to adjust it\n- **SFT banding:** experimental LoRA at about −0.5 strength: [moss_image_sft_lora_blocks_21_to_49…](https://huggingface.co/Kijai/MOSS-image_experimental/blob/main/loras/moss_image_sft_lora_blocks_21_to_49_rank_512_bf16.safetensors)\n\n\n## Prompt skill\n\nThe system prompt driving the upsampler is written from the official [MOSS-Image Prompt Enhancer skill](https://github.com/OpenMOSS/MOSS-Image/blob/main/skills/moss-image-prompt-enhancer/SKILL.md). The same skill turns an idea into a caption or a Layout prompt outside ComfyUI, and it is the reference for the caption style this model was trained on."
297 },
298 "color": "#222",
299 "bgcolor": "#000"
300 },
301 {
302 "id": 33,
303 "type": "MarkdownNote",
304 "pos": [
305 60,
306 0
307 ],
308 "size": [
309 210,
310 90
311 ],
312 "flags": [],
313 "order": 3,
314 "mode": 0,
315 "inputs": [],
316 "outputs": [],
317 "title": "Note: ref_image",
318 "properties": [],
319 "widgets_values": [
320 "The `ref_image` is fed to the LLM only for prompt enhancement and cannot be used directly by the model. Enable the prompt enhancer if you wish to use it. The model itself doesn't support `ref_image`"
321 ],
322 "widgets_values_named": {
323 "text": "The `ref_image` is fed to the LLM only for prompt enhancement and cannot be used directly by the model. Enable the prompt enhancer if you wish to use it. The model itself doesn't support `ref_image`"
324 },
325 "color": "#222",
326 "bgcolor": "#000"
327 }
328 ],
329 "links": [
330 [
331 22,
332 18,
333 0,
334 9,
335 0,
336 "IMAGE"
337 ],
338 [
339 40,
340 19,
341 0,
342 18,
343 4,
344 "INT"
345 ],
346 [
347 41,
348 19,
349 1,
350 18,
351 5,
352 "INT"
353 ]
354 ],
355 "groups": [],
356 "definitions": {
357 "subgraphs": [
358 {
359 "id": "3301b744-2960-415a-83b0-fe8a89d99fdb",
360 "version": 1,
361 "state": {
362 "lastGroupId": 5,
363 "lastNodeId": 33,
364 "lastLinkId": 53,
365 "lastRerouteId": 0
366 },
367 "revision": 0,
368 "config": [],
369 "name": "Text to Image (MOSS-Image)",
370 "inputNode": {
371 "id": -10,
372 "bounding": [
373 -860,
374 -240,
375 191.44921875,
376 368
377 ]
378 },
379 "outputNode": {
380 "id": -20,
381 "bounding": [
382 1790,
383 30,
384 128,
385 68
386 ]
387 },
388 "inputs": [
389 {
390 "id": "35437e31-565b-4d42-bc06-d95c5929e7d8",
391 "name": "value",
392 "type": "STRING",
393 "linkIds": [
394 25
395 ],
396 "label": "positive_prompt",
397 "pos": [
398 -692.55078125,
399 -216
400 ]
401 },
402 {
403 "id": "853a4192-ebce-42de-bdff-77c36b59cc1a",
404 "name": "switch",
405 "type": "BOOLEAN",
406 "linkIds": [
407 26
408 ],
409 "label": "enable_prompt_enhancer",
410 "pos": [
411 -692.55078125,
412 -196
413 ]
414 },
415 {
416 "id": "797699a1-b4c0-41e5-bd36-750801f89c5f",
417 "name": "sampling_mode.seed",
418 "type": "INT",
419 "linkIds": [
420 52
421 ],
422 "label": "prompt_enhancer_seed",
423 "pos": [
424 -692.55078125,
425 -176
426 ]
427 },
428 {
429 "id": "c11f1876-7b42-4679-a736-8deaa8f21fd7",
430 "name": "text",
431 "type": "STRING",
432 "linkIds": [
433 43
434 ],
435 "label": "negative_prompt",
436 "pos": [
437 -692.55078125,
438 -156
439 ]
440 },
441 {
442 "id": "1514590b-7a78-450b-82b4-cfbe7820a9db",
443 "name": "width",
444 "type": "INT",
445 "linkIds": [
446 27
447 ],
448 "pos": [
449 -692.55078125,
450 -136
451 ]
452 },
453 {
454 "id": "f2e18bfe-65b0-4d24-9c78-bec0b9573e97",
455 "name": "height",
456 "type": "INT",
457 "linkIds": [
458 28
459 ],
460 "pos": [
461 -692.55078125,
462 -116
463 ]
464 },
465 {
466 "id": "32c26da2-7e60-44bf-851a-72690937b4b4",
467 "name": "seed",
468 "type": "INT",
469 "linkIds": [
470 30
471 ],
472 "pos": [
473 -692.55078125,
474 -96
475 ]
476 },
477 {
478 "id": "dae5d571-ced0-46d6-8a0a-5a71b8ca945a",
479 "name": "steps",
480 "type": "INT",
481 "linkIds": [
482 42
483 ],
484 "pos": [
485 -692.55078125,
486 -76
487 ]
488 },
489 {
490 "id": "6c064d6f-9925-4808-83cc-7e3409190ca7",
491 "name": "cfg",
492 "type": "FLOAT",
493 "linkIds": [
494 44
495 ],
496 "pos": [
497 -692.55078125,
498 -56
499 ]
500 },
501 {
502 "id": "e3037e0e-7d1a-43ce-9585-b255c7017615",
503 "name": "switch_1",
504 "type": "BOOLEAN",
505 "linkIds": [
506 51
507 ],
508 "label": "SLG",
509 "pos": [
510 -692.55078125,
511 -36
512 ]
513 },
514 {
515 "id": "46e71c72-9f95-4c32-89d2-2dab4b63b284",
516 "name": "sampler_name",
517 "type": "COMBO",
518 "linkIds": [
519 33
520 ],
521 "pos": [
522 -692.55078125,
523 -16
524 ]
525 },
526 {
527 "id": "8ba10fc2-8e73-4ece-8f77-27515bbe2698",
528 "name": "scheduler",
529 "type": "COMBO",
530 "linkIds": [
531 34
532 ],
533 "pos": [
534 -692.55078125,
535 4
536 ]
537 },
538 {
539 "id": "bc8e2627-1b51-4333-9d88-0cb6307f7545",
540 "name": "unet_name",
541 "type": "COMBO",
542 "linkIds": [
543 35
544 ],
545 "label": "unet_model",
546 "pos": [
547 -692.55078125,
548 24
549 ]
550 },
551 {
552 "id": "fe422dee-acbe-4c34-898b-62bb878ddb83",
553 "name": "clip_name",
554 "type": "COMBO",
555 "linkIds": [
556 36
557 ],
558 "label": "clip_model",
559 "pos": [
560 -692.55078125,
561 44
562 ]
563 },
564 {
565 "id": "29a73fdf-7b55-4612-8966-bba0b4cab854",
566 "name": "vae_name",
567 "type": "COMBO",
568 "linkIds": [
569 37
570 ],
571 "label": "vae_model",
572 "pos": [
573 -692.55078125,
574 64
575 ]
576 },
577 {
578 "id": "bd56b9df-d740-4ec9-a30b-20e60baf4f3e",
579 "name": "image",
580 "type": "IMAGE",
581 "linkIds": [
582 53
583 ],
584 "label": "ref_image (for llm)",
585 "pos": [
586 -692.55078125,
587 84
588 ]
589 }
590 ],
591 "outputs": [
592 {
593 "id": "fa9fefe4-677e-4f8b-aba5-35459b097c37",
594 "name": "IMAGE",
595 "type": "IMAGE",
596 "linkIds": [
597 6
598 ],
599 "localized_name": "IMAGE",
600 "pos": [
601 1814,
602 54
603 ]
604 }
605 ],
606 "widgets": [],
607 "nodes": [
608 {
609 "id": 17,
610 "type": "PrimitiveStringMultiline",
611 "pos": [
612 -120,
613 -780
614 ],
615 "size": [
616 490,
617 280
618 ],
619 "flags": [],
620 "order": 13,
621 "mode": 0,
622 "inputs": [
623 {
624 "localized_name": "value",
625 "name": "value",
626 "type": "STRING",
627 "widget": {
628 "name": "value"
629 },
630 "link": 25
631 }
632 ],
633 "outputs": [
634 {
635 "localized_name": "STRING",
636 "name": "STRING",
637 "type": "STRING",
638 "links": [
639 15,
640 17
641 ]
642 }
643 ],
644 "properties": {
645 "Node name for S&R": "PrimitiveStringMultiline"
646 },
647 "widgets_values": [
648 "Editorial studio photograph of a model in a structured ivory wool coat standing against a seamless warm grey backdrop, single softbox from the left carving sculpted shadows, 85mm lens, muted cream and charcoal palette, subtle film grain"
649 ],
650 "widgets_values_named": {
651 "value": "Editorial studio photograph of a model in a structured ivory wool coat standing against a seamless warm grey backdrop, single softbox from the left carving sculpted shadows, 85mm lens, muted cream and charcoal palette, subtle film grain"
652 }
653 },
654 {
655 "id": 14,
656 "type": "PrimitiveStringMultiline",
657 "pos": [
658 -120,
659 -430
660 ],
661 "size": [
662 470,
663 270
664 ],
665 "flags": [],
666 "order": 0,
667 "mode": 0,
668 "inputs": [],
669 "outputs": [
670 {
671 "localized_name": "STRING",
672 "name": "STRING",
673 "type": "STRING",
674 "links": [
675 13
676 ]
677 }
678 ],
679 "title": "Text (System prompt)",
680 "properties": {
681 "Node name for S&R": "PrimitiveStringMultiline"
682 },
683 "widgets_values": [
684 "You are a prompt engineer for an image generation model. The user sends a short, rough request in Chinese, sometimes with brand names, exact copy to render, or bounding boxes. Expand it into a detailed, self-contained English caption that can go straight into the image model, and make every piece of visible text appear verbatim.\n\nOutput only the caption. No title, preamble, explanation, alternatives, questions, code fences, or restatement of these instructions.\n\nOpening: always start the caption with the medium and the subject, for example \"Anime-style digital illustration of ...\", \"Studio photograph of ...\", \"Mixed-media poster of ...\". Never start with a verb. If the request is an edit, work out the final scene and open on it directly.\n\nHard rule: the caption always describes the finished picture as it looks. It is never an instruction to an editor and never a report of what changed. Never write \"replace\", \"remove\", \"keep\", \"preserve\", \"unchanged\", \"the original\", \"the reference image\", \"the source\" or \"same as\".\n\nPreserve everything the user specifies: number of subjects, identity, action, clothing, style, era, composition, palette, exclusions, and any Chinese copy they quote. Add only plausible visual detail the user left open. Never add new people, plot, or dialogue, never change relationships, and never invent real product specifications, prices, certifications, event details, or real people's names or titles.\n\nBuild the caption from these eight facets. Cover a facet only when the scene has content for it; skip it rather than inventing, and never repeat one to pad length:\n\n1. Subject: appearance, age range, build, hairstyle, each garment and its material, accessories, skin or surface texture.\n2. Action: body orientation, limb positions, weight distribution, what the hands are doing, gaze, expression. The pose must hold in a single frame and never contradict itself.\n3. Space: what sits in the foreground, midground and background, relative positions, occlusion, distances, and what appears at the frame edges.\n4. Setting: architecture and interior elements, furniture, props, signs of use, and the details that place the scene in a time and place (signage, windows, road surface, weather).\n5. Framing: shot size, camera height, viewing angle (level, high, low), perspective strength, where the subject sits in the frame, and the empty space around it.\n6. Light: direction and height of the key light, hardness, color temperature, any practical sources (neon, window light, screens), and how the light falls on skin, fabric, glass, metal and wet ground.\n7. Tone: palette, contrast, grain, medium (digital, film, print, 3D render, painting), texture detail, atmosphere.\n8. Text: see the next section. This is the most common failure point.\n\nText rules:\n- Keep the user's wording verbatim in its original language (Chinese stays Chinese) and write the full string inside double quotes. Never rewrite, translate, shorten, or paste the same copy twice.\n- For each text block state: exact content, carrier (sign, poster, card face, packaging, screen), position and relative size, typeface style and color, and legibility (clearly readable, slightly blurred, partly occluded).\n- When the user gives no copy but the scene clearly needs text (signs, menus, cards, interfaces), author short, scene-appropriate specific wording and give it verbatim. Never write placeholders such as \"headline here\" or \"some text\".\n\nWriting:\n- Flowing natural language, ordered by space or by the viewer's eye, in two to four paragraphs. No tag soup, no \"masterpiece, 8k, best quality\", no empty quality words.\n- Every sentence must add new visible information. Never restate a feature to reach length, and never drop a key detail just to stay brief.\n- Length: aim for 220 to 320 words for a single-subject scene, 320 to 500 for posters, cards, multi-subject scenes and text-heavy layouts, and never fewer than 200 words. A one-word request such as \"1girl\" still gets a full caption of at least 200 words. Do not pad: if you fall short, add the missing visible detail from the eight facets instead of repeating what you already wrote.\n- Describe only what is visible. No tool steps, generation parameters, or coordinate arithmetic.\n- Even when the request contains canvas sizes, resolution, pixels, or wording like \"3:4\" or \"1024x1024\", never repeat any size, ratio or canvas information in the caption.\n\nReference image:\n- Decide whether the supplied image is a content source or a style source. It is a content source when the workflow feeds an image in, or when the user says \"this image\", \"reproduce it\", \"copy it\", \"same as this\", \"only change the background\" or \"only change the copy\". Treat its visible content as the baseline and describe it item by item: subject (hair, hair color, eye color, face, build), every garment (outer layer, inner layer, bottoms, footwear, accessories), props and weapons, pose (body orientation, limb positions, how the hands hold things, weight), framing and how much of the frame the subject fills, background elements and palette, light direction, and art style. Change only what the user asks to change and keep the rest.\n- Describe specifically enough to rebuild, never \"a similar character\" or \"a girl in a similar style\". Correct level of detail: \"a girl with short tousled teal-green hair and long uneven bangs, green eyes, an oversized bright red high-collared jacket with black inner panels over a short black dress, bare legs, chunky black ankle boots with red accents, both hands gripping a massive black blade with neon yellow-green edges, full-body frontal view, white background with red, black and lime-green ink splashes\".\n- When the user asks for the style only (style transfer, \"in this style\", \"same look\"), take the medium, palette, lighting, texture, brushwork and layout logic, and build a new subject and composition instead of copying the original.\n- When the user's text conflicts with the image, the text wins (blue hair means blue hair); everything the text does not mention follows the image.\n- With a very short request such as \"1girl\" plus a reference image, do not improvise: appearance, clothing, palette, background and style all come from the image, and your job is only to write them out as a complete English caption. Do not add accessories, weapons, props or scenery the image does not show.\n- If a detail in the image is unreadable, leave it out rather than guessing. Never guess brands, identities or real names.\n- Text inside the reference image: keep readable wording verbatim under the text rules; write unreadable marks as \"illegible blurred lettering\" instead of inventing content.\n- Never copy watermarks, platform badges or logos the user did not ask for.\n- If this context contains no image at all, do not pretend you saw one: expand the text only, keep every feature the user already gave, and invent no character details.\n- A reference is evidence, not the deliverable. Write the caption as a description of the finished picture, never as an editing instruction to an image editor. Ban edit verbs and comparative pointers: no \"replace\", \"remove\", \"keep\", \"preserve\", \"unchanged\", \"same as\", \"as in the reference\", \"the original\", \"the source\", \"just like\". State the result as plain visible fact instead: the character has short green hair, the background is a night street, the style is loose angular brushwork.\n- Keep the number of subjects consistent with what the user asks for. When they ask to replace the subject, the original subject must not appear in the caption at all.\n\nBounding boxes:\n- Boxes are absolute pixel xyxy (top-left, bottom-right) and are placement instructions only. Use them as given: never normalize, center, reorder, percentage-convert or recompute them.\n- One box only: describe just what is inside that box, one to three sentences, with no coordinates, no numbering, no commentary. Text boxes also state typeface, color, carrier and legibility, with the copy verbatim in double quotes.\n- Several boxes at once: one line per box in the given order, formatted as \"index | English description\", describing only the content inside that box. No coordinates, no JSON, no prose paragraphs.\n- A box marks a placement, not a border, panel, divider or sticker to draw. Overlap and natural occlusion are allowed.\n- With no boxes, write a normal caption and never invent coordinates."
685 ],
686 "widgets_values_named": {
687 "value": "You are a prompt engineer for an image generation model. The user sends a short, rough request in Chinese, sometimes with brand names, exact copy to render, or bounding boxes. Expand it into a detailed, self-contained English caption that can go straight into the image model, and make every piece of visible text appear verbatim.\n\nOutput only the caption. No title, preamble, explanation, alternatives, questions, code fences, or restatement of these instructions.\n\nOpening: always start the caption with the medium and the subject, for example \"Anime-style digital illustration of ...\", \"Studio photograph of ...\", \"Mixed-media poster of ...\". Never start with a verb. If the request is an edit, work out the final scene and open on it directly.\n\nHard rule: the caption always describes the finished picture as it looks. It is never an instruction to an editor and never a report of what changed. Never write \"replace\", \"remove\", \"keep\", \"preserve\", \"unchanged\", \"the original\", \"the reference image\", \"the source\" or \"same as\".\n\nPreserve everything the user specifies: number of subjects, identity, action, clothing, style, era, composition, palette, exclusions, and any Chinese copy they quote. Add only plausible visual detail the user left open. Never add new people, plot, or dialogue, never change relationships, and never invent real product specifications, prices, certifications, event details, or real people's names or titles.\n\nBuild the caption from these eight facets. Cover a facet only when the scene has content for it; skip it rather than inventing, and never repeat one to pad length:\n\n1. Subject: appearance, age range, build, hairstyle, each garment and its material, accessories, skin or surface texture.\n2. Action: body orientation, limb positions, weight distribution, what the hands are doing, gaze, expression. The pose must hold in a single frame and never contradict itself.\n3. Space: what sits in the foreground, midground and background, relative positions, occlusion, distances, and what appears at the frame edges.\n4. Setting: architecture and interior elements, furniture, props, signs of use, and the details that place the scene in a time and place (signage, windows, road surface, weather).\n5. Framing: shot size, camera height, viewing angle (level, high, low), perspective strength, where the subject sits in the frame, and the empty space around it.\n6. Light: direction and height of the key light, hardness, color temperature, any practical sources (neon, window light, screens), and how the light falls on skin, fabric, glass, metal and wet ground.\n7. Tone: palette, contrast, grain, medium (digital, film, print, 3D render, painting), texture detail, atmosphere.\n8. Text: see the next section. This is the most common failure point.\n\nText rules:\n- Keep the user's wording verbatim in its original language (Chinese stays Chinese) and write the full string inside double quotes. Never rewrite, translate, shorten, or paste the same copy twice.\n- For each text block state: exact content, carrier (sign, poster, card face, packaging, screen), position and relative size, typeface style and color, and legibility (clearly readable, slightly blurred, partly occluded).\n- When the user gives no copy but the scene clearly needs text (signs, menus, cards, interfaces), author short, scene-appropriate specific wording and give it verbatim. Never write placeholders such as \"headline here\" or \"some text\".\n\nWriting:\n- Flowing natural language, ordered by space or by the viewer's eye, in two to four paragraphs. No tag soup, no \"masterpiece, 8k, best quality\", no empty quality words.\n- Every sentence must add new visible information. Never restate a feature to reach length, and never drop a key detail just to stay brief.\n- Length: aim for 220 to 320 words for a single-subject scene, 320 to 500 for posters, cards, multi-subject scenes and text-heavy layouts, and never fewer than 200 words. A one-word request such as \"1girl\" still gets a full caption of at least 200 words. Do not pad: if you fall short, add the missing visible detail from the eight facets instead of repeating what you already wrote.\n- Describe only what is visible. No tool steps, generation parameters, or coordinate arithmetic.\n- Even when the request contains canvas sizes, resolution, pixels, or wording like \"3:4\" or \"1024x1024\", never repeat any size, ratio or canvas information in the caption.\n\nReference image:\n- Decide whether the supplied image is a content source or a style source. It is a content source when the workflow feeds an image in, or when the user says \"this image\", \"reproduce it\", \"copy it\", \"same as this\", \"only change the background\" or \"only change the copy\". Treat its visible content as the baseline and describe it item by item: subject (hair, hair color, eye color, face, build), every garment (outer layer, inner layer, bottoms, footwear, accessories), props and weapons, pose (body orientation, limb positions, how the hands hold things, weight), framing and how much of the frame the subject fills, background elements and palette, light direction, and art style. Change only what the user asks to change and keep the rest.\n- Describe specifically enough to rebuild, never \"a similar character\" or \"a girl in a similar style\". Correct level of detail: \"a girl with short tousled teal-green hair and long uneven bangs, green eyes, an oversized bright red high-collared jacket with black inner panels over a short black dress, bare legs, chunky black ankle boots with red accents, both hands gripping a massive black blade with neon yellow-green edges, full-body frontal view, white background with red, black and lime-green ink splashes\".\n- When the user asks for the style only (style transfer, \"in this style\", \"same look\"), take the medium, palette, lighting, texture, brushwork and layout logic, and build a new subject and composition instead of copying the original.\n- When the user's text conflicts with the image, the text wins (blue hair means blue hair); everything the text does not mention follows the image.\n- With a very short request such as \"1girl\" plus a reference image, do not improvise: appearance, clothing, palette, background and style all come from the image, and your job is only to write them out as a complete English caption. Do not add accessories, weapons, props or scenery the image does not show.\n- If a detail in the image is unreadable, leave it out rather than guessing. Never guess brands, identities or real names.\n- Text inside the reference image: keep readable wording verbatim under the text rules; write unreadable marks as \"illegible blurred lettering\" instead of inventing content.\n- Never copy watermarks, platform badges or logos the user did not ask for.\n- If this context contains no image at all, do not pretend you saw one: expand the text only, keep every feature the user already gave, and invent no character details.\n- A reference is evidence, not the deliverable. Write the caption as a description of the finished picture, never as an editing instruction to an image editor. Ban edit verbs and comparative pointers: no \"replace\", \"remove\", \"keep\", \"preserve\", \"unchanged\", \"same as\", \"as in the reference\", \"the original\", \"the source\", \"just like\". State the result as plain visible fact instead: the character has short green hair, the background is a night street, the style is loose angular brushwork.\n- Keep the number of subjects consistent with what the user asks for. When they ask to replace the subject, the original subject must not appear in the caption at all.\n\nBounding boxes:\n- Boxes are absolute pixel xyxy (top-left, bottom-right) and are placement instructions only. Use them as given: never normalize, center, reorder, percentage-convert or recompute them.\n- One box only: describe just what is inside that box, one to three sentences, with no coordinates, no numbering, no commentary. Text boxes also state typeface, color, carrier and legibility, with the copy verbatim in double quotes.\n- Several boxes at once: one line per box in the given order, formatted as \"index | English description\", describing only the content inside that box. No coordinates, no JSON, no prose paragraphs.\n- A box marks a placement, not a border, panel, divider or sticker to draw. Overlap and natural occlusion are allowed.\n- With no boxes, write a normal caption and never invent coordinates."
688 }
689 },
690 {
691 "id": 11,
692 "type": "TextGenerate",
693 "pos": [
694 480,
695 -780
696 ],
697 "size": [
698 400,
699 550
700 ],
701 "flags": [],
702 "order": 9,
703 "mode": 0,
704 "inputs": [
705 {
706 "localized_name": "clip",
707 "name": "clip",
708 "type": "CLIP",
709 "link": 10
710 },
711 {
712 "localized_name": "image",
713 "name": "image",
714 "shape": 7,
715 "type": "IMAGE",
716 "link": 53
717 },
718 {
719 "localized_name": "video",
720 "name": "video",
721 "shape": 7,
722 "type": "IMAGE",
723 "link": null
724 },
725 {
726 "localized_name": "audio",
727 "name": "audio",
728 "shape": 7,
729 "type": "AUDIO",
730 "link": null
731 },
732 {
733 "localized_name": "system_prompt",
734 "name": "system_prompt",
735 "shape": 7,
736 "type": "STRING",
737 "link": 13
738 },
739 {
740 "localized_name": "prompt",
741 "name": "prompt",
742 "type": "STRING",
743 "widget": {
744 "name": "prompt"
745 },
746 "link": 17
747 },
748 {
749 "localized_name": "seed",
750 "name": "sampling_mode.seed",
751 "type": "INT",
752 "widget": {
753 "name": "sampling_mode.seed"
754 },
755 "link": 52
756 }
757 ],
758 "outputs": [
759 {
760 "localized_name": "generated_text",
761 "name": "generated_text",
762 "type": "STRING",
763 "links": [
764 19
765 ]
766 },
767 {
768 "localized_name": "thinking",
769 "name": "thinking",
770 "type": "STRING",
771 "links": null
772 }
773 ],
774 "properties": {
775 "Node name for S&R": "TextGenerate"
776 },
777 "widgets_values": [
778 "",
779 4096,
780 "on",
781 0.7,
782 64,
783 0.95,
784 0.05,
785 1,
786 0,
787 0,
788 false,
789 true,
790 "auto"
791 ],
792 "widgets_values_named": {
793 "prompt": "",
794 "max_length": 4096,
795 "sampling_mode": "on",
796 "sampling_mode.temperature": 0.7,
797 "sampling_mode.top_k": 64,
798 "sampling_mode.top_p": 0.95,
799 "sampling_mode.min_p": 0.05,
800 "sampling_mode.repetition_penalty": 1,
801 "sampling_mode.seed": 0,
802 "sampling_mode.presence_penalty": 0,
803 "thinking": false,
804 "use_default_template": true,
805 "mtp": "auto"
806 }
807 },
808 {
809 "id": 1,
810 "type": "UNETLoader",
811 "pos": [
812 -150,
813 80
814 ],
815 "size": [
816 350,
817 90
818 ],
819 "flags": [],
820 "order": 1,
821 "mode": 0,
822 "inputs": [
823 {
824 "localized_name": "unet_name",
825 "name": "unet_name",
826 "type": "COMBO",
827 "widget": {
828 "name": "unet_name"
829 },
830 "link": 35
831 }
832 ],
833 "outputs": [
834 {
835 "localized_name": "MODEL",
836 "name": "MODEL",
837 "type": "MODEL",
838 "slot_index": 0,
839 "links": [
840 1,
841 50
842 ]
843 }
844 ],
845 "properties": {
846 "Node name for S&R": "UNETLoader",
847 "models": [
848 {
849 "name": "moss_image_base_int8_convrot.safetensors",
850 "url": "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/diffusion_models/moss_image_base_int8_convrot.safetensors",
851 "directory": "diffusion_models"
852 }
853 ]
854 },
855 "widgets_values": [
856 "moss_image_base_int8_convrot.safetensors",
857 "default"
858 ],
859 "widgets_values_named": {
860 "unet_name": "moss_image_base_int8_convrot.safetensors",
861 "weight_dtype": "default"
862 },
863 "color": "#223",
864 "bgcolor": "#335"
865 },
866 {
867 "id": 4,
868 "type": "CLIPTextEncode",
869 "pos": [
870 380,
871 80
872 ],
873 "size": [
874 450,
875 520
876 ],
877 "flags": [],
878 "order": 4,
879 "mode": 0,
880 "inputs": [
881 {
882 "localized_name": "clip",
883 "name": "clip",
884 "type": "CLIP",
885 "link": 2
886 },
887 {
888 "localized_name": "text",
889 "name": "text",
890 "type": "STRING",
891 "widget": {
892 "name": "text"
893 },
894 "link": 20
895 }
896 ],
897 "outputs": [
898 {
899 "localized_name": "CONDITIONING",
900 "name": "CONDITIONING",
901 "type": "CONDITIONING",
902 "slot_index": 0,
903 "links": [
904 8
905 ]
906 }
907 ],
908 "title": "Positive Prompt",
909 "properties": {
910 "Node name for S&R": "CLIPTextEncode"
911 },
912 "widgets_values": [
913 "Editorial studio photograph of a model in a structured ivory wool coat standing against a seamless warm grey backdrop, single softbox from the left carving sculpted shadows, 85mm lens, muted cream and charcoal palette, subtle film grain"
914 ],
915 "widgets_values_named": {
916 "text": "Editorial studio photograph of a model in a structured ivory wool coat standing against a seamless warm grey backdrop, single softbox from the left carving sculpted shadows, 85mm lens, muted cream and charcoal palette, subtle film grain"
917 },
918 "color": "#232",
919 "bgcolor": "#353"
920 },
921 {
922 "id": 2,
923 "type": "CLIPLoader",
924 "pos": [
925 -150,
926 690
927 ],
928 "size": [
929 350,
930 140
931 ],
932 "flags": [],
933 "order": 2,
934 "mode": 0,
935 "inputs": [
936 {
937 "localized_name": "clip_name",
938 "name": "clip_name",
939 "type": "COMBO",
940 "widget": {
941 "name": "clip_name"
942 },
943 "link": 36
944 }
945 ],
946 "outputs": [
947 {
948 "localized_name": "CLIP",
949 "name": "CLIP",
950 "type": "CLIP",
951 "slot_index": 0,
952 "links": [
953 2,
954 3,
955 10
956 ]
957 }
958 ],
959 "properties": {
960 "Node name for S&R": "CLIPLoader",
961 "models": [
962 {
963 "name": "qwen3.5_9b_w4a8_gptq.safetensors",
964 "url": "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors",
965 "directory": "text_encoders"
966 }
967 ]
968 },
969 "widgets_values": [
970 "qwen3.5_9b_w4a8_gptq.safetensors",
971 "moss_image",
972 "default"
973 ],
974 "widgets_values_named": {
975 "clip_name": "qwen3.5_9b_w4a8_gptq.safetensors",
976 "type": "moss_image",
977 "device": "default"
978 },
979 "color": "#432",
980 "bgcolor": "#653"
981 },
982 {
983 "id": 7,
984 "type": "KSampler",
985 "pos": [
986 930,
987 50
988 ],
989 "size": [
990 290,
991 290
992 ],
993 "flags": [],
994 "order": 7,
995 "mode": 0,
996 "inputs": [
997 {
998 "localized_name": "model",
999 "name": "model",
1000 "type": "MODEL",
1001 "link": 48
1002 },
1003 {
1004 "localized_name": "positive",
1005 "name": "positive",
1006 "type": "CONDITIONING",
1007 "link": 8
1008 },
1009 {
1010 "localized_name": "negative",
1011 "name": "negative",
1012 "type": "CONDITIONING",
1013 "link": 9
1014 },
1015 {
1016 "localized_name": "latent_image",
1017 "name": "latent_image",
1018 "type": "LATENT",
1019 "link": 39
1020 },
1021 {
1022 "localized_name": "seed",
1023 "name": "seed",
1024 "type": "INT",
1025 "widget": {
1026 "name": "seed"
1027 },
1028 "link": 30
1029 },
1030 {
1031 "localized_name": "steps",
1032 "name": "steps",
1033 "type": "INT",
1034 "widget": {
1035 "name": "steps"
1036 },
1037 "link": 42
1038 },
1039 {
1040 "localized_name": "cfg",
1041 "name": "cfg",
1042 "type": "FLOAT",
1043 "widget": {
1044 "name": "cfg"
1045 },
1046 "link": 44
1047 },
1048 {
1049 "localized_name": "sampler_name",
1050 "name": "sampler_name",
1051 "type": "COMBO",
1052 "widget": {
1053 "name": "sampler_name"
1054 },
1055 "link": 33
1056 },
1057 {
1058 "localized_name": "scheduler",
1059 "name": "scheduler",
1060 "type": "COMBO",
1061 "widget": {
1062 "name": "scheduler"
1063 },
1064 "link": 34
1065 }
1066 ],
1067 "outputs": [
1068 {
1069 "localized_name": "LATENT",
1070 "name": "LATENT",
1071 "type": "LATENT",
1072 "slot_index": 0,
1073 "links": [
1074 4
1075 ]
1076 }
1077 ],
1078 "properties": {
1079 "Node name for S&R": "KSampler"
1080 },
1081 "widgets_values": [
1082 0,
1083 "randomize",
1084 25,
1085 2.5,
1086 "er_sde",
1087 "simple",
1088 1
1089 ],
1090 "widgets_values_named": {
1091 "seed": 0,
1092 "control_after_generate": "randomize",
1093 "steps": 25,
1094 "cfg": 2.5,
1095 "sampler_name": "er_sde",
1096 "scheduler": "simple",
1097 "denoise": 1
1098 }
1099 },
1100 {
1101 "id": 3,
1102 "type": "VAELoader",
1103 "pos": [
1104 -150,
1105 910
1106 ],
1107 "size": [
1108 350,
1109 60
1110 ],
1111 "flags": [],
1112 "order": 3,
1113 "mode": 0,
1114 "inputs": [
1115 {
1116 "localized_name": "vae_name",
1117 "name": "vae_name",
1118 "type": "COMBO",
1119 "widget": {
1120 "name": "vae_name"
1121 },
1122 "link": 37
1123 }
1124 ],
1125 "outputs": [
1126 {
1127 "localized_name": "VAE",
1128 "name": "VAE",
1129 "type": "VAE",
1130 "slot_index": 0,
1131 "links": [
1132 5
1133 ]
1134 }
1135 ],
1136 "properties": {
1137 "Node name for S&R": "VAELoader",
1138 "models": [
1139 {
1140 "name": "flux2-vae_small.safetensors",
1141 "url": "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/vae/flux2-vae_small.safetensors",
1142 "directory": "vae"
1143 }
1144 ]
1145 },
1146 "widgets_values": [
1147 "flux2-vae_small.safetensors"
1148 ],
1149 "widgets_values_named": {
1150 "vae_name": "flux2-vae_small.safetensors"
1151 },
1152 "color": "#323",
1153 "bgcolor": "#535"
1154 },
1155 {
1156 "id": 13,
1157 "type": "PreviewAny",
1158 "pos": [
1159 1280,
1160 -780
1161 ],
1162 "size": [
1163 350,
1164 600
1165 ],
1166 "flags": [],
1167 "order": 10,
1168 "mode": 0,
1169 "inputs": [
1170 {
1171 "localized_name": "source",
1172 "name": "source",
1173 "type": "*",
1174 "link": 21
1175 }
1176 ],
1177 "outputs": [
1178 {
1179 "localized_name": "STRING",
1180 "name": "STRING",
1181 "type": "STRING",
1182 "links": [
1183 20
1184 ]
1185 }
1186 ],
1187 "properties": {
1188 "Node name for S&R": "PreviewAny"
1189 },
1190 "widgets_values": [],
1191 "widgets_values_named": []
1192 },
1193 {
1194 "id": 16,
1195 "type": "ComfySwitchNode",
1196 "pos": [
1197 940,
1198 -780
1199 ],
1200 "size": [
1201 280,
1202 110
1203 ],
1204 "flags": [],
1205 "order": 12,
1206 "mode": 0,
1207 "inputs": [
1208 {
1209 "localized_name": "on_false",
1210 "name": "on_false",
1211 "shape": 7,
1212 "type": "STRING",
1213 "link": 15
1214 },
1215 {
1216 "localized_name": "on_true",
1217 "name": "on_true",
1218 "shape": 7,
1219 "type": "STRING",
1220 "link": 19
1221 },
1222 {
1223 "localized_name": "switch",
1224 "name": "switch",
1225 "type": "BOOLEAN",
1226 "widget": {
1227 "name": "switch"
1228 },
1229 "link": 26
1230 }
1231 ],
1232 "outputs": [
1233 {
1234 "localized_name": "output",
1235 "name": "output",
1236 "type": "STRING",
1237 "links": [
1238 21
1239 ]
1240 }
1241 ],
1242 "properties": {
1243 "Node name for S&R": "ComfySwitchNode"
1244 },
1245 "widgets_values": [
1246 true
1247 ],
1248 "widgets_values_named": {
1249 "switch": true
1250 }
1251 },
1252 {
1253 "id": 6,
1254 "type": "EmptyFlux2LatentImage",
1255 "pos": [
1256 -140,
1257 1130
1258 ],
1259 "size": [
1260 300,
1261 120
1262 ],
1263 "flags": [],
1264 "order": 6,
1265 "mode": 0,
1266 "inputs": [
1267 {
1268 "localized_name": "width",
1269 "name": "width",
1270 "type": "INT",
1271 "widget": {
1272 "name": "width"
1273 },
1274 "link": 27
1275 },
1276 {
1277 "localized_name": "height",
1278 "name": "height",
1279 "type": "INT",
1280 "widget": {
1281 "name": "height"
1282 },
1283 "link": 28
1284 }
1285 ],
1286 "outputs": [
1287 {
1288 "localized_name": "LATENT",
1289 "name": "LATENT",
1290 "type": "LATENT",
1291 "slot_index": 0,
1292 "links": [
1293 39
1294 ]
1295 }
1296 ],
1297 "properties": {
1298 "Node name for S&R": "EmptyFlux2LatentImage"
1299 },
1300 "widgets_values": [
1301 1024,
1302 1024,
1303 1
1304 ],
1305 "widgets_values_named": {
1306 "width": 1024,
1307 "height": 1024,
1308 "batch_size": 1
1309 },
1310 "color": "#323",
1311 "bgcolor": "#535"
1312 },
1313 {
1314 "id": 5,
1315 "type": "CLIPTextEncode",
1316 "pos": [
1317 380,
1318 660
1319 ],
1320 "size": [
1321 460,
1322 180
1323 ],
1324 "flags": [],
1325 "order": 5,
1326 "mode": 0,
1327 "inputs": [
1328 {
1329 "localized_name": "clip",
1330 "name": "clip",
1331 "type": "CLIP",
1332 "link": 3
1333 },
1334 {
1335 "localized_name": "text",
1336 "name": "text",
1337 "type": "STRING",
1338 "widget": {
1339 "name": "text"
1340 },
1341 "link": 43
1342 }
1343 ],
1344 "outputs": [
1345 {
1346 "localized_name": "CONDITIONING",
1347 "name": "CONDITIONING",
1348 "type": "CONDITIONING",
1349 "slot_index": 0,
1350 "links": [
1351 9
1352 ]
1353 }
1354 ],
1355 "title": "Negative Prompt (empty = reference default)",
1356 "properties": {
1357 "Node name for S&R": "CLIPTextEncode"
1358 },
1359 "widgets_values": [
1360 ""
1361 ],
1362 "widgets_values_named": {
1363 "text": ""
1364 },
1365 "color": "#223",
1366 "bgcolor": "#335"
1367 },
1368 {
1369 "id": 8,
1370 "type": "VAEDecode",
1371 "pos": [
1372 1270,
1373 50
1374 ],
1375 "size": [
1376 230,
1377 70
1378 ],
1379 "flags": [],
1380 "order": 8,
1381 "mode": 0,
1382 "inputs": [
1383 {
1384 "localized_name": "samples",
1385 "name": "samples",
1386 "type": "LATENT",
1387 "link": 4
1388 },
1389 {
1390 "localized_name": "vae",
1391 "name": "vae",
1392 "type": "VAE",
1393 "link": 5
1394 }
1395 ],
1396 "outputs": [
1397 {
1398 "localized_name": "IMAGE",
1399 "name": "IMAGE",
1400 "type": "IMAGE",
1401 "slot_index": 0,
1402 "links": [
1403 6
1404 ]
1405 }
1406 ],
1407 "properties": {
1408 "Node name for S&R": "VAEDecode"
1409 }
1410 },
1411 {
1412 "id": 15,
1413 "type": "SkipLayerGuidanceDiTSimple",
1414 "pos": [
1415 -160,
1416 230
1417 ],
1418 "size": [
1419 350,
1420 210
1421 ],
1422 "flags": [],
1423 "order": 11,
1424 "mode": 0,
1425 "showAdvanced": true,
1426 "inputs": [
1427 {
1428 "localized_name": "model",
1429 "name": "model",
1430 "type": "MODEL",
1431 "link": 1
1432 }
1433 ],
1434 "outputs": [
1435 {
1436 "localized_name": "MODEL",
1437 "name": "MODEL",
1438 "type": "MODEL",
1439 "links": [
1440 49
1441 ]
1442 }
1443 ],
1444 "properties": {
1445 "Node name for S&R": "SkipLayerGuidanceDiTSimple"
1446 },
1447 "widgets_values": [
1448 "",
1449 "22",
1450 0,
1451 0.5
1452 ],
1453 "widgets_values_named": {
1454 "double_layers": "",
1455 "single_layers": "22",
1456 "start_percent": 0,
1457 "end_percent": 0.5
1458 }
1459 },
1460 {
1461 "id": 32,
1462 "type": "ComfySwitchNode",
1463 "pos": [
1464 -150,
1465 500
1466 ],
1467 "size": [
1468 340,
1469 110
1470 ],
1471 "flags": [],
1472 "order": 14,
1473 "mode": 0,
1474 "inputs": [
1475 {
1476 "localized_name": "on_false",
1477 "name": "on_false",
1478 "shape": 7,
1479 "type": "MODEL",
1480 "link": 50
1481 },
1482 {
1483 "localized_name": "on_true",
1484 "name": "on_true",
1485 "shape": 7,
1486 "type": "MODEL",
1487 "link": 49
1488 },
1489 {
1490 "localized_name": "switch",
1491 "name": "switch",
1492 "type": "BOOLEAN",
1493 "widget": {
1494 "name": "switch"
1495 },
1496 "link": 51
1497 }
1498 ],
1499 "outputs": [
1500 {
1501 "localized_name": "output",
1502 "name": "output",
1503 "type": "MODEL",
1504 "links": [
1505 48
1506 ]
1507 }
1508 ],
1509 "properties": {
1510 "Node name for S&R": "ComfySwitchNode"
1511 },
1512 "widgets_values": [
1513 false
1514 ],
1515 "widgets_values_named": {
1516 "switch": false
1517 }
1518 }
1519 ],
1520 "groups": [
1521 {
1522 "id": 1,
1523 "title": "Models",
1524 "bounding": [
1525 -210,
1526 -10,
1527 480,
1528 1010
1529 ],
1530 "color": "#3f789e",
1531 "flags": []
1532 },
1533 {
1534 "id": 2,
1535 "title": "Prompt",
1536 "bounding": [
1537 300,
1538 -10,
1539 580,
1540 880
1541 ],
1542 "color": "#3f789e",
1543 "flags": []
1544 },
1545 {
1546 "id": 3,
1547 "title": "Image Size",
1548 "bounding": [
1549 -220,
1550 1020,
1551 490,
1552 290
1553 ],
1554 "color": "#3f789e",
1555 "flags": []
1556 },
1557 {
1558 "id": 4,
1559 "title": "Prompt Enhancer",
1560 "bounding": [
1561 -200,
1562 -880,
1563 1900,
1564 840
1565 ],
1566 "color": "#444",
1567 "flags": []
1568 }
1569 ],
1570 "links": [
1571 {
1572 "id": 2,
1573 "origin_id": 2,
1574 "origin_slot": 0,
1575 "target_id": 4,
1576 "target_slot": 0,
1577 "type": "CLIP"
1578 },
1579 {
1580 "id": 20,
1581 "origin_id": 13,
1582 "origin_slot": 0,
1583 "target_id": 4,
1584 "target_slot": 1,
1585 "type": "STRING"
1586 },
1587 {
1588 "id": 1,
1589 "origin_id": 1,
1590 "origin_slot": 0,
1591 "target_id": 15,
1592 "target_slot": 0,
1593 "type": "MODEL"
1594 },
1595 {
1596 "id": 8,
1597 "origin_id": 4,
1598 "origin_slot": 0,
1599 "target_id": 7,
1600 "target_slot": 1,
1601 "type": "CONDITIONING"
1602 },
1603 {
1604 "id": 9,
1605 "origin_id": 5,
1606 "origin_slot": 0,
1607 "target_id": 7,
1608 "target_slot": 2,
1609 "type": "CONDITIONING"
1610 },
1611 {
1612 "id": 21,
1613 "origin_id": 16,
1614 "origin_slot": 0,
1615 "target_id": 13,
1616 "target_slot": 0,
1617 "type": "STRING"
1618 },
1619 {
1620 "id": 15,
1621 "origin_id": 17,
1622 "origin_slot": 0,
1623 "target_id": 16,
1624 "target_slot": 0,
1625 "type": "STRING"
1626 },
1627 {
1628 "id": 19,
1629 "origin_id": 11,
1630 "origin_slot": 0,
1631 "target_id": 16,
1632 "target_slot": 1,
1633 "type": "STRING"
1634 },
1635 {
1636 "id": 3,
1637 "origin_id": 2,
1638 "origin_slot": 0,
1639 "target_id": 5,
1640 "target_slot": 0,
1641 "type": "CLIP"
1642 },
1643 {
1644 "id": 4,
1645 "origin_id": 7,
1646 "origin_slot": 0,
1647 "target_id": 8,
1648 "target_slot": 0,
1649 "type": "LATENT"
1650 },
1651 {
1652 "id": 5,
1653 "origin_id": 3,
1654 "origin_slot": 0,
1655 "target_id": 8,
1656 "target_slot": 1,
1657 "type": "VAE"
1658 },
1659 {
1660 "id": 6,
1661 "origin_id": 8,
1662 "origin_slot": 0,
1663 "target_id": -20,
1664 "target_slot": 0,
1665 "type": "IMAGE"
1666 },
1667 {
1668 "id": 39,
1669 "origin_id": 6,
1670 "origin_slot": 0,
1671 "target_id": 7,
1672 "target_slot": 3,
1673 "type": "LATENT"
1674 },
1675 {
1676 "id": 48,
1677 "origin_id": 32,
1678 "origin_slot": 0,
1679 "target_id": 7,
1680 "target_slot": 0,
1681 "type": "MODEL"
1682 },
1683 {
1684 "id": 49,
1685 "origin_id": 15,
1686 "origin_slot": 0,
1687 "target_id": 32,
1688 "target_slot": 1,
1689 "type": "MODEL"
1690 },
1691 {
1692 "id": 50,
1693 "origin_id": 1,
1694 "origin_slot": 0,
1695 "target_id": 32,
1696 "target_slot": 0,
1697 "type": "MODEL"
1698 },
1699 {
1700 "id": 10,
1701 "origin_id": 2,
1702 "origin_slot": 0,
1703 "target_id": 11,
1704 "target_slot": 0,
1705 "type": "CLIP"
1706 },
1707 {
1708 "id": 13,
1709 "origin_id": 14,
1710 "origin_slot": 0,
1711 "target_id": 11,
1712 "target_slot": 4,
1713 "type": "STRING"
1714 },
1715 {
1716 "id": 17,
1717 "origin_id": 17,
1718 "origin_slot": 0,
1719 "target_id": 11,
1720 "target_slot": 5,
1721 "type": "STRING"
1722 },
1723 {
1724 "id": 25,
1725 "origin_id": -10,
1726 "origin_slot": 0,
1727 "target_id": 17,
1728 "target_slot": 0,
1729 "type": "STRING"
1730 },
1731 {
1732 "id": 26,
1733 "origin_id": -10,
1734 "origin_slot": 1,
1735 "target_id": 16,
1736 "target_slot": 2,
1737 "type": "BOOLEAN"
1738 },
1739 {
1740 "id": 52,
1741 "origin_id": -10,
1742 "origin_slot": 2,
1743 "target_id": 11,
1744 "target_slot": 6,
1745 "type": "INT"
1746 },
1747 {
1748 "id": 43,
1749 "origin_id": -10,
1750 "origin_slot": 3,
1751 "target_id": 5,
1752 "target_slot": 1,
1753 "type": "STRING"
1754 },
1755 {
1756 "id": 27,
1757 "origin_id": -10,
1758 "origin_slot": 4,
1759 "target_id": 6,
1760 "target_slot": 0,
1761 "type": "INT"
1762 },
1763 {
1764 "id": 28,
1765 "origin_id": -10,
1766 "origin_slot": 5,
1767 "target_id": 6,
1768 "target_slot": 1,
1769 "type": "INT"
1770 },
1771 {
1772 "id": 30,
1773 "origin_id": -10,
1774 "origin_slot": 6,
1775 "target_id": 7,
1776 "target_slot": 4,
1777 "type": "INT"
1778 },
1779 {
1780 "id": 42,
1781 "origin_id": -10,
1782 "origin_slot": 7,
1783 "target_id": 7,
1784 "target_slot": 5,
1785 "type": "INT"
1786 },
1787 {
1788 "id": 44,
1789 "origin_id": -10,
1790 "origin_slot": 8,
1791 "target_id": 7,
1792 "target_slot": 6,
1793 "type": "FLOAT"
1794 },
1795 {
1796 "id": 51,
1797 "origin_id": -10,
1798 "origin_slot": 9,
1799 "target_id": 32,
1800 "target_slot": 2,
1801 "type": "BOOLEAN"
1802 },
1803 {
1804 "id": 33,
1805 "origin_id": -10,
1806 "origin_slot": 10,
1807 "target_id": 7,
1808 "target_slot": 7,
1809 "type": "COMBO"
1810 },
1811 {
1812 "id": 34,
1813 "origin_id": -10,
1814 "origin_slot": 11,
1815 "target_id": 7,
1816 "target_slot": 8,
1817 "type": "COMBO"
1818 },
1819 {
1820 "id": 35,
1821 "origin_id": -10,
1822 "origin_slot": 12,
1823 "target_id": 1,
1824 "target_slot": 0,
1825 "type": "COMBO"
1826 },
1827 {
1828 "id": 36,
1829 "origin_id": -10,
1830 "origin_slot": 13,
1831 "target_id": 2,
1832 "target_slot": 0,
1833 "type": "COMBO"
1834 },
1835 {
1836 "id": 37,
1837 "origin_id": -10,
1838 "origin_slot": 14,
1839 "target_id": 3,
1840 "target_slot": 0,
1841 "type": "COMBO"
1842 },
1843 {
1844 "id": 53,
1845 "origin_id": -10,
1846 "origin_slot": 15,
1847 "target_id": 11,
1848 "target_slot": 1,
1849 "type": "IMAGE"
1850 }
1851 ],
1852 "extra": []
1853 }
1854 ]
1855 },
1856 "config": [],
1857 "extra": {
1858 "ds": {
1859 "scale": 0.6022720837103771,
1860 "offset": [
1861 1460.2362996793447,
1862 729.7673808877356
1863 ]
1864 },
1865 "frontendVersion": "1.55.18"
1866 },
1867 "version": 0.4
1868}