Files
Allan Saddi d2c3263d8f Text Latch: Add a "replace" switch.
Also update all examples and images using the new Text Latch.
2024-11-03 15:21:48 -08:00

907 lines
16 KiB
JSON

{
"last_node_id": 304,
"last_link_id": 609,
"nodes": [
{
"id": 67,
"type": "ConditioningZeroOut",
"pos": {
"0": -126,
"1": 126
},
"size": {
"0": 211.60000610351562,
"1": 26
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 597
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
90
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut"
},
"widgets_values": []
},
{
"id": 71,
"type": "CLIPTextEncode",
"pos": {
"0": -1010,
"1": 252
},
"size": {
"0": 351.8130798339844,
"1": 195.57545471191406
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 94
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
93,
597
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 69,
"type": "ConditioningCombine",
"pos": {
"0": 504,
"1": 126
},
"size": {
"0": 228.39999389648438,
"1": 46
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "conditioning_1",
"type": "CONDITIONING",
"link": 91
},
{
"name": "conditioning_2",
"type": "CONDITIONING",
"link": 92
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
604
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ConditioningCombine"
},
"widgets_values": []
},
{
"id": 8,
"type": "VAEDecode",
"pos": {
"0": 1386,
"1": -504
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 572
},
{
"name": "vae",
"type": "VAE",
"link": 605
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
274
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 50,
"type": "PreviewImage",
"pos": {
"0": 1764,
"1": -504
},
"size": {
"0": 616.689697265625,
"1": 613.84130859375
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 274
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 68,
"type": "ConditioningSetTimestepRange",
"pos": {
"0": 126,
"1": 126
},
"size": {
"0": 317.4000244140625,
"1": 82
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 90
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
91
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ConditioningSetTimestepRange"
},
"widgets_values": [
0.2,
1
]
},
{
"id": 70,
"type": "ConditioningSetTimestepRange",
"pos": {
"0": 126,
"1": 252
},
"size": {
"0": 317.4000244140625,
"1": 82
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 93,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
92
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ConditioningSetTimestepRange"
},
"widgets_values": [
0,
0.2
]
},
{
"id": 105,
"type": "Note",
"pos": {
"0": -1260,
"1": -252
},
"size": {
"0": 210,
"1": 110.18948364257812
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"text": ""
},
"widgets_values": [
"Make sure the resolution is multiple of 64 pixels and adds up to around 1 megapixel. "
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 135,
"type": "EmptySD3LatentImage",
"pos": {
"0": -1008,
"1": -252
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
598
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1280,
768,
1
]
},
{
"id": 294,
"type": "KSampler",
"pos": {
"0": 882,
"1": -504
},
"size": {
"0": 378,
"1": 504
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 568
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 569
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 604
},
{
"name": "latent_image",
"type": "LATENT",
"link": 598
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
572
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
13910517299447,
"randomize",
40,
5.5,
"dpmpp_2m",
"sgm_uniform",
1
]
},
{
"id": 13,
"type": "ModelSamplingSD3",
"pos": {
"0": -192,
"1": -507
},
"size": {
"0": 315,
"1": 58
},
"flags": {
"collapsed": false
},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 445
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
568
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ModelSamplingSD3"
},
"widgets_values": [
3
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": {
"0": -2016,
"1": -504
},
"size": {
"0": 632.6060180664062,
"1": 98
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
445
],
"slot_index": 0,
"shape": 3
},
{
"name": "CLIP",
"type": "CLIP",
"links": null,
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [
605
],
"slot_index": 2,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd3.5_medium.safetensors"
]
},
{
"id": 11,
"type": "TripleCLIPLoader",
"pos": {
"0": -2016,
"1": -252
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
5,
94
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "TripleCLIPLoader"
},
"widgets_values": [
"clip_g.safetensors",
"clip_l.safetensors",
"t5xxl_fp16.safetensors"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": {
"0": -1008,
"1": 2
},
"size": {
"0": 342.8335266113281,
"1": 177.20867919921875
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
},
{
"name": "text",
"type": "STRING",
"link": 606,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
569
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"beautiful scenery nature glass bottle landscape, purple galaxy bottle,"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 304,
"type": "LoadImage",
"pos": {
"0": -2350,
"1": 300
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
609
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"example.png",
"image"
]
},
{
"id": 301,
"type": "LLMTextLatch",
"pos": {
"0": -1500,
"1": 150
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "text_input",
"type": "STRING",
"link": 607,
"widget": {
"name": "text_input"
},
"shape": 7
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
606
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LLMTextLatch"
},
"widgets_values": [
"In the image, a person with blonde hair is captured in a moment of joy, their smile radiating warmth. They are standing against a backdrop of a serene landscape, composed of a rolling hill blanketed in lush green grass. The sky above them is a clear blue, dotted with fluffy white clouds, adding to the overall tranquility of the scene. The person's attire consists of a pink top and white pants, a color combination that stands out against the green and blue background. The image is simple yet vivid, with each element precisely located to create a harmonious composition.",
true,
""
]
},
{
"id": 303,
"type": "LLMProvider",
"pos": {
"0": -2350,
"1": 100
},
"size": {
"0": 318.2536315917969,
"1": 106
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "llm_model",
"type": "LLMMODEL",
"links": [
608
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LLMProvider"
},
"widgets_values": [
"OpenRouter",
"openrouter/mistralai/pixtral-12b",
"models"
]
},
{
"id": 302,
"type": "LLMChat",
"pos": {
"0": -1950,
"1": 150
},
"size": {
"0": 400,
"1": 214
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "llm_model",
"type": "LLMMODEL",
"link": 608
},
{
"name": "llm_sampler",
"type": "LLMSAMPLER",
"link": null,
"shape": 7
},
{
"name": "image",
"type": "IMAGE",
"link": 609,
"shape": 7
}
],
"outputs": [
{
"name": "completion",
"type": "STRING",
"links": [
607
],
"slot_index": 0,
"shape": 6
}
],
"properties": {
"Node name for S&R": "LLMChat"
},
"widgets_values": [
819376686150074,
"randomize",
"Describe the image in detail",
""
]
}
],
"links": [
[
5,
11,
0,
6,
0,
"CLIP"
],
[
90,
67,
0,
68,
0,
"CONDITIONING"
],
[
91,
68,
0,
69,
0,
"CONDITIONING"
],
[
92,
70,
0,
69,
1,
"CONDITIONING"
],
[
93,
71,
0,
70,
0,
"CONDITIONING"
],
[
94,
11,
0,
71,
0,
"CLIP"
],
[
274,
8,
0,
50,
0,
"IMAGE"
],
[
445,
4,
0,
13,
0,
"MODEL"
],
[
568,
13,
0,
294,
0,
"MODEL"
],
[
569,
6,
0,
294,
1,
"CONDITIONING"
],
[
572,
294,
0,
8,
0,
"LATENT"
],
[
597,
71,
0,
67,
0,
"CONDITIONING"
],
[
598,
135,
0,
294,
3,
"LATENT"
],
[
604,
69,
0,
294,
2,
"CONDITIONING"
],
[
605,
4,
2,
8,
1,
"VAE"
],
[
606,
301,
0,
6,
1,
"STRING"
],
[
607,
302,
0,
301,
0,
"STRING"
],
[
608,
303,
0,
302,
0,
"LLMMODEL"
],
[
609,
304,
0,
302,
2,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8264462809917354,
"offset": [
2080.858098000003,
266.35047800000154
]
}
},
"version": 0.4
}