Chat with an LLM / VLM / VLA (Ollama) and turn the streaming reply into images. - Two prompt lanes: A (<prompt> block) and B (thinking / reply / <mind>) - Character presets stored on the server, system prompt modal - Image input / output (I2I), VLM attachments, VLA judge - VRAM management: manual unload and auto-free before generation - i18n: English / Japanese / Simplified Chinese - Apache-2.0 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
944 lines
15 KiB
JSON
944 lines
15 KiB
JSON
{
|
|
"id": "338834f5-1d1b-49a8-bf9b-f8e7b8e10f35",
|
|
"revision": 0,
|
|
"last_node_id": 15,
|
|
"last_link_id": 30,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "CheckpointLoaderSimple",
|
|
"pos": [
|
|
635.960593538693,
|
|
401.85888942012167
|
|
],
|
|
"size": [
|
|
281.9,
|
|
98
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
15
|
|
]
|
|
},
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"links": [
|
|
5,
|
|
16,
|
|
23
|
|
]
|
|
},
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": [
|
|
8,
|
|
29
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CheckpointLoaderSimple"
|
|
},
|
|
"widgets_values": [
|
|
"checkpoints\\SDXL\\animaginePainting_v10.safetensors"
|
|
],
|
|
"widgets_values_named": {
|
|
"ckpt_name": "checkpoints\\SDXL\\animaginePainting_v10.safetensors"
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "KSampler",
|
|
"pos": [
|
|
1867.272727272727,
|
|
419.272727272727
|
|
],
|
|
"size": [
|
|
270,
|
|
474.00000000000006
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 14
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 2
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 4
|
|
},
|
|
{
|
|
"name": "latent_image",
|
|
"type": "LATENT",
|
|
"link": 9
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
6
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "KSampler"
|
|
},
|
|
"widgets_values": [
|
|
478931094750796,
|
|
"randomize",
|
|
5,
|
|
1,
|
|
"lcm",
|
|
"simple",
|
|
1
|
|
],
|
|
"widgets_values_named": {
|
|
"seed": 478931094750796,
|
|
"control_after_generate": "randomize",
|
|
"steps": 5,
|
|
"cfg": 1,
|
|
"sampler_name": "lcm",
|
|
"scheduler": "simple",
|
|
"denoise": 1
|
|
}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
1418.9246636158734,
|
|
416.4833003210163
|
|
],
|
|
"size": [
|
|
400,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 17
|
|
},
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": 18
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
2
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"girl,laughing"
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "girl,laughing"
|
|
}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
1418.045488696128,
|
|
672.6304214193019
|
|
],
|
|
"size": [
|
|
400,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 5
|
|
},
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": 19
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
4
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"text": ""
|
|
}
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "VAEDecode",
|
|
"pos": [
|
|
2165.272727272728,
|
|
425.45454545454515
|
|
],
|
|
"size": [
|
|
140,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 6
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 8
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
7
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VAEDecode"
|
|
}
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
2328.4545454545455,
|
|
432.1818181818179
|
|
],
|
|
"size": [
|
|
140,
|
|
246
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 7
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": [],
|
|
"widgets_values_named": {}
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "EmptyLatentImage",
|
|
"pos": [
|
|
639.0338091660402,
|
|
554.9868861416562
|
|
],
|
|
"size": [
|
|
270,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
9,
|
|
27
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "EmptyLatentImage"
|
|
},
|
|
"widgets_values": [
|
|
512,
|
|
512,
|
|
1
|
|
],
|
|
"widgets_values_named": {
|
|
"width": 512,
|
|
"height": 512,
|
|
"batch_size": 1
|
|
}
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "Lora Loader (LoraManager)",
|
|
"pos": [
|
|
951.5061078155193,
|
|
403.16265182406846
|
|
],
|
|
"size": [
|
|
400,
|
|
346
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 15
|
|
},
|
|
{
|
|
"name": "clip",
|
|
"shape": 7,
|
|
"type": "CLIP",
|
|
"link": 16
|
|
},
|
|
{
|
|
"name": "lora_stack",
|
|
"shape": 7,
|
|
"type": "LORA_STACK",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
14,
|
|
26
|
|
]
|
|
},
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"links": [
|
|
17,
|
|
22
|
|
]
|
|
},
|
|
{
|
|
"name": "trigger_words",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "loaded_loras",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Lora Loader (LoraManager)",
|
|
"__lm_widget_ids": [
|
|
"__lm_autocomplete_meta_text",
|
|
"text",
|
|
"loras"
|
|
]
|
|
},
|
|
"widgets_values": [
|
|
{
|
|
"version": 1,
|
|
"textWidgetName": "text"
|
|
},
|
|
"<lora:dmd2_sdxl_4step_lora_fp16:1>",
|
|
[
|
|
{
|
|
"name": "dmd2_sdxl_4step_lora_fp16",
|
|
"strength": 1,
|
|
"active": true,
|
|
"expanded": false,
|
|
"clipStrength": 1,
|
|
"selected": false,
|
|
"locked": false
|
|
}
|
|
]
|
|
],
|
|
"widgets_values_named": {
|
|
"__lm_autocomplete_meta_text": {
|
|
"version": 1,
|
|
"textWidgetName": "text"
|
|
},
|
|
"text": "<lora:dmd2_sdxl_4step_lora_fp16:1>",
|
|
"loras": [
|
|
{
|
|
"name": "dmd2_sdxl_4step_lora_fp16",
|
|
"strength": 1,
|
|
"active": true,
|
|
"expanded": false,
|
|
"clipStrength": 1,
|
|
"selected": false,
|
|
"locked": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "LiveChatStream",
|
|
"pos": [
|
|
700,
|
|
300
|
|
],
|
|
"size": [
|
|
560,
|
|
640
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "positive",
|
|
"type": "STRING",
|
|
"links": [
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "STRING",
|
|
"links": [
|
|
19
|
|
]
|
|
},
|
|
{
|
|
"name": "response",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "chat_p",
|
|
"type": "STRING",
|
|
"links": [
|
|
20
|
|
]
|
|
},
|
|
{
|
|
"name": "chat_n",
|
|
"type": "STRING",
|
|
"links": [
|
|
21
|
|
]
|
|
},
|
|
{
|
|
"name": "thinking",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LiveChatStream"
|
|
},
|
|
"widgets_values": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
1418.9246636158734,
|
|
936.4833003210163
|
|
],
|
|
"size": [
|
|
400,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 22
|
|
},
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": 20
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
24
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"girl,laughing"
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "girl,laughing"
|
|
},
|
|
"title": "chat_p"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
1418.045488696128,
|
|
1192.630421419302
|
|
],
|
|
"size": [
|
|
400,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 23
|
|
},
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": 21
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
25
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"text": ""
|
|
},
|
|
"title": "chat_n"
|
|
},
|
|
{
|
|
"id": 13,
|
|
"type": "KSampler",
|
|
"pos": [
|
|
1867.272727272727,
|
|
939.272727272727
|
|
],
|
|
"size": [
|
|
270,
|
|
474.00000000000006
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 26
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 24
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 25
|
|
},
|
|
{
|
|
"name": "latent_image",
|
|
"type": "LATENT",
|
|
"link": 27
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
28
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "KSampler"
|
|
},
|
|
"widgets_values": [
|
|
123456789012345,
|
|
"randomize",
|
|
5,
|
|
1,
|
|
"lcm",
|
|
"simple",
|
|
1
|
|
],
|
|
"title": "KSampler (chat_p)"
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": "VAEDecode",
|
|
"pos": [
|
|
2165.272727272728,
|
|
945.4545454545452
|
|
],
|
|
"size": [
|
|
140,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 28
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 29
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
30
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VAEDecode"
|
|
}
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
2328.4545454545455,
|
|
952.1818181818179
|
|
],
|
|
"size": [
|
|
140,
|
|
246
|
|
],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 30
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": [],
|
|
"widgets_values_named": {}
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
2,
|
|
3,
|
|
0,
|
|
2,
|
|
1,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
4,
|
|
4,
|
|
0,
|
|
2,
|
|
2,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
5,
|
|
1,
|
|
1,
|
|
4,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
6,
|
|
2,
|
|
0,
|
|
5,
|
|
0,
|
|
"LATENT"
|
|
],
|
|
[
|
|
7,
|
|
5,
|
|
0,
|
|
6,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
8,
|
|
1,
|
|
2,
|
|
5,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
9,
|
|
7,
|
|
0,
|
|
2,
|
|
3,
|
|
"LATENT"
|
|
],
|
|
[
|
|
14,
|
|
9,
|
|
0,
|
|
2,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
15,
|
|
1,
|
|
0,
|
|
9,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
16,
|
|
1,
|
|
1,
|
|
9,
|
|
1,
|
|
"CLIP"
|
|
],
|
|
[
|
|
17,
|
|
9,
|
|
1,
|
|
3,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
18,
|
|
10,
|
|
0,
|
|
3,
|
|
1,
|
|
"STRING"
|
|
],
|
|
[
|
|
19,
|
|
10,
|
|
1,
|
|
4,
|
|
1,
|
|
"STRING"
|
|
],
|
|
[
|
|
20,
|
|
10,
|
|
3,
|
|
11,
|
|
1,
|
|
"STRING"
|
|
],
|
|
[
|
|
21,
|
|
10,
|
|
4,
|
|
12,
|
|
1,
|
|
"STRING"
|
|
],
|
|
[
|
|
22,
|
|
9,
|
|
1,
|
|
11,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
23,
|
|
1,
|
|
1,
|
|
12,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
24,
|
|
11,
|
|
0,
|
|
13,
|
|
1,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
25,
|
|
12,
|
|
0,
|
|
13,
|
|
2,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
26,
|
|
9,
|
|
0,
|
|
13,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
27,
|
|
7,
|
|
0,
|
|
13,
|
|
3,
|
|
"LATENT"
|
|
],
|
|
[
|
|
28,
|
|
13,
|
|
0,
|
|
14,
|
|
0,
|
|
"LATENT"
|
|
],
|
|
[
|
|
29,
|
|
1,
|
|
2,
|
|
14,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
30,
|
|
14,
|
|
0,
|
|
15,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1,
|
|
"offset": [
|
|
-371.66221694811725,
|
|
-73.79159699948599
|
|
]
|
|
},
|
|
"frontendVersion": "1.53.6"
|
|
},
|
|
"version": 0.4
|
|
} |