Kaloscope-style-adapter / workflows /Kaloscope_MOSS_reference_api.json
heathcliff01's picture
Sync all example workflows with Kaloscope ComfyUI v3 node interfaces
6e204a6 verified
Raw History Blame Contribute Delete
3.51 kB
{
"1": {
"class_type": "MOSSImageHFLoader",
"inputs": {
"model_path": "models/MOSS-Image-Base",
"weight_dtype": "bf16",
"text_device": "default"
},
"_meta": {
"title": "官方 MOSS HF Loader · 选择本机 Base 目录"
}
},
"2": {
"class_type": "KaloscopeStyleAdapterLoader",
"inputs": {
"checkpoint": "Kaloscope-MOSS.safetensors"
},
"_meta": {
"title": "Kaloscope Adapter Loader"
}
},
"3": {
"class_type": "LoadImage",
"inputs": {
"image": "kaloscope_z3_reference.png"
},
"_meta": {
"title": "风格参考图 / 可替换"
}
},
"12": {
"class_type": "KaloscopeStyleEncoderLoader",
"inputs": {
"model_folder": "artist-v1",
"device": "cuda"
},
"_meta": {
"title": "Kaloscope Style Encoder Loader"
}
},
"13": {
"class_type": "KaloscopeStyleEncodeReference",
"inputs": {
"reference_images": [
"3",
0
],
"model": [
"12",
0
]
},
"_meta": {
"title": "Kaloscope Reference Encode"
}
},
"4": {
"class_type": "KaloscopeStyleApply",
"inputs": {
"model": [
"1",
0
],
"adapter": [
"2",
0
],
"style_features": [
"13",
0
],
"style_guidance": 6.0,
"adapter_strength": 1.0
},
"_meta": {
"title": "Kaloscope Apply Style"
}
},
"5": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"1",
1
],
"text": "An anime illustration of a girl reading a book by a window, soft afternoon light, potted plants, medium shot."
},
"_meta": {
"title": "正向 / 只写画面内容"
}
},
"6": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"1",
1
],
"text": ""
},
"_meta": {
"title": "负向 / 留空"
}
},
"7": {
"class_type": "EmptyFlux2LatentImage",
"inputs": {
"width": 512,
"height": 512,
"batch_size": 1
},
"_meta": {
"title": "MOSS / Flux2 128通道 latent"
}
},
"8": {
"class_type": "KaloscopeMOSSSigmas",
"inputs": {
"steps": 50,
"shift": 5.0
},
"_meta": {
"title": "Kaloscope MOSS Sampling Schedule"
}
},
"14": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler"
},
"_meta": {
"title": "Euler"
}
},
"9": {
"class_type": "SamplerCustom",
"inputs": {
"model": [
"4",
0
],
"positive": [
"5",
0
],
"negative": [
"6",
0
],
"latent_image": [
"7",
0
],
"add_noise": true,
"noise_seed": 17,
"cfg": 3.0,
"sampler": [
"14",
0
],
"sigmas": [
"8",
0
]
},
"_meta": {
"title": "文本 CFG=3 / 风格 CFG 在 Apply"
}
},
"10": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"9",
0
],
"vae": [
"1",
2
]
},
"_meta": {
"title": "MOSS VAE Decode"
}
},
"11": {
"class_type": "SaveImage",
"inputs": {
"images": [
"10",
0
],
"filename_prefix": "KaloscopeMOSS/reference_step8500"
},
"_meta": {
"title": "保存风格结果"
}
}
}