Kaloscope-style-adapter / workflows /Kaloscope_MOSS_reference.json
heathcliff01's picture
Sync all example workflows with Kaloscope ComfyUI v3 node interfaces
6e204a6 verified
Raw History Blame Contribute Delete
12.4 kB
{
"last_node_id": 14,
"last_link_id": 16,
"nodes": [
{
"id": 1,
"type": "MOSSImageHFLoader",
"pos": [
20,
20
],
"size": [
320,
180
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
3
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
6,
7
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
15
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "MOSSImageHFLoader"
},
"widgets_values": [
"models/MOSS-Image-Base",
"bf16",
"default"
],
"title": "官方 MOSS HF Loader · 选择本机 Base 目录"
},
{
"id": 2,
"type": "KaloscopeStyleAdapterLoader",
"pos": [
20,
280
],
"size": [
320,
180
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "KALOSCOPE_STYLE_ADAPTER",
"type": "KALOSCOPE_STYLE_ADAPTER",
"links": [
4
],
"slot_index": 0
},
{
"name": "STRING",
"type": "STRING",
"links": [],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "KaloscopeStyleAdapterLoader"
},
"widgets_values": [
"Kaloscope-MOSS.safetensors"
],
"title": "Kaloscope Adapter Loader"
},
{
"id": 3,
"type": "LoadImage",
"pos": [
20,
500
],
"size": [
320,
180
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"kaloscope_z3_reference.png",
"image"
],
"title": "风格参考图 / 可替换"
},
{
"id": 12,
"type": "KaloscopeStyleEncoderLoader",
"pos": [
20,
790
],
"size": [
320,
180
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "KALOSCOPE_MODEL",
"type": "KALOSCOPE_MODEL",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KaloscopeStyleEncoderLoader"
},
"widgets_values": [
"artist-v1",
"cuda"
],
"title": "Kaloscope Style Encoder Loader"
},
{
"id": 13,
"type": "KaloscopeStyleEncodeReference",
"pos": [
380,
550
],
"size": [
320,
180
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "reference_images",
"type": "IMAGE",
"link": 1
},
{
"name": "model",
"type": "KALOSCOPE_MODEL",
"link": 2
}
],
"outputs": [
{
"name": "TENSOR",
"type": "TENSOR",
"links": [
5
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KaloscopeStyleEncodeReference"
},
"widgets_values": [],
"title": "Kaloscope Reference Encode"
},
{
"id": 4,
"type": "KaloscopeStyleApply",
"pos": [
760,
30
],
"size": [
320,
180
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 3
},
{
"name": "adapter",
"type": "KALOSCOPE_STYLE_ADAPTER",
"link": 4
},
{
"name": "style_features",
"type": "TENSOR",
"link": 5
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
8
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KaloscopeStyleApply"
},
"widgets_values": [
6.0,
1.0
],
"title": "Kaloscope Apply Style"
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
380,
230
],
"size": [
320,
180
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 6
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"An anime illustration of a girl reading a book by a window, soft afternoon light, potted plants, medium shot."
],
"title": "正向 / 只写画面内容"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
380,
400
],
"size": [
320,
180
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 7
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
10
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"title": "负向 / 留空"
},
{
"id": 7,
"type": "EmptyFlux2LatentImage",
"pos": [
760,
490
],
"size": [
320,
180
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
11
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyFlux2LatentImage"
},
"widgets_values": [
512,
512,
1
],
"title": "MOSS / Flux2 128通道 latent"
},
{
"id": 8,
"type": "KaloscopeMOSSSigmas",
"pos": [
760,
260
],
"size": [
320,
180
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
13
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KaloscopeMOSSSigmas"
},
"widgets_values": [
50,
5.0
],
"title": "Kaloscope MOSS Sampling Schedule"
},
{
"id": 14,
"type": "KSamplerSelect",
"pos": [
760,
690
],
"size": [
320,
180
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
12
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
],
"title": "Euler"
},
{
"id": 9,
"type": "SamplerCustom",
"pos": [
1130,
30
],
"size": [
320,
180
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 8
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 9
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 10
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 12
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 13
},
{
"name": "latent_image",
"type": "LATENT",
"link": 11
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
14
],
"slot_index": 0
},
{
"name": "LATENT",
"type": "LATENT",
"links": [],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "SamplerCustom"
},
"widgets_values": [
true,
17,
"fixed",
3.0
],
"title": "文本 CFG=3 / 风格 CFG 在 Apply"
},
{
"id": 10,
"type": "VAEDecode",
"pos": [
1490,
30
],
"size": [
320,
180
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 14
},
{
"name": "vae",
"type": "VAE",
"link": 15
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
16
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": [],
"title": "MOSS VAE Decode"
},
{
"id": 11,
"type": "SaveImage",
"pos": [
1490,
230
],
"size": [
320,
360
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 16
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"KaloscopeMOSS/reference_step8500"
],
"title": "保存风格结果"
}
],
"links": [
[
1,
3,
0,
13,
0,
"IMAGE"
],
[
2,
12,
0,
13,
1,
"KALOSCOPE_MODEL"
],
[
3,
1,
0,
4,
0,
"MODEL"
],
[
4,
2,
0,
4,
1,
"KALOSCOPE_STYLE_ADAPTER"
],
[
5,
13,
0,
4,
2,
"TENSOR"
],
[
6,
1,
1,
5,
0,
"CLIP"
],
[
7,
1,
1,
6,
0,
"CLIP"
],
[
8,
4,
0,
9,
0,
"MODEL"
],
[
9,
5,
0,
9,
1,
"CONDITIONING"
],
[
10,
6,
0,
9,
2,
"CONDITIONING"
],
[
11,
7,
0,
9,
5,
"LATENT"
],
[
12,
14,
0,
9,
3,
"SAMPLER"
],
[
13,
8,
0,
9,
4,
"SIGMAS"
],
[
14,
9,
0,
10,
0,
"LATENT"
],
[
15,
1,
2,
10,
1,
"VAE"
],
[
16,
10,
0,
11,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7,
"offset": [
40,
40
]
}
},
"version": 0.4
}