1146 lines
24 KiB
JSON
1146 lines
24 KiB
JSON
{
|
||
"id": "332f3c86-176c-434f-b668-9da85b2955c0",
|
||
"revision": 0,
|
||
"last_node_id": 20,
|
||
"last_link_id": 31,
|
||
"nodes": [
|
||
{
|
||
"id": 1,
|
||
"type": "SaveImage",
|
||
"pos": [
|
||
-90.04129791259766,
|
||
3060.645263671875
|
||
],
|
||
"size": [
|
||
270,
|
||
270
|
||
],
|
||
"flags": {
|
||
"collapsed": true
|
||
},
|
||
"order": 4,
|
||
"mode": 4,
|
||
"inputs": [
|
||
{
|
||
"name": "images",
|
||
"type": "IMAGE",
|
||
"link": 1
|
||
}
|
||
],
|
||
"outputs": [],
|
||
"properties": {
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.38",
|
||
"Node name for S&R": "SaveImage"
|
||
},
|
||
"widgets_values": [
|
||
"kontext_Max"
|
||
]
|
||
},
|
||
{
|
||
"id": 2,
|
||
"type": "FluxKontextMaxImageNode",
|
||
"pos": [
|
||
-77.64775085449219,
|
||
2979.22412109375
|
||
],
|
||
"size": [
|
||
385.7652893066406,
|
||
480.52886962890625
|
||
],
|
||
"flags": {
|
||
"collapsed": true
|
||
},
|
||
"order": 0,
|
||
"mode": 4,
|
||
"inputs": [
|
||
{
|
||
"name": "input_image",
|
||
"shape": 7,
|
||
"type": "IMAGE",
|
||
"link": null
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
1
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "FluxKontextMaxImageNode"
|
||
},
|
||
"widgets_values": [
|
||
"Combine the two images into a single cohesive scene: place the woman sitting on the blue carpet, holding the earphones, with the orange water bottle positioned next to her on the right side. Keep her seated pose, facial features, and surroundings unchanged. Ensure the water bottle remains upright, with the logo visible. Maintain the background details, such as the curtains and wall decor, to create a seamless, unified composition.",
|
||
"16:9",
|
||
3,
|
||
50,
|
||
229440744236569,
|
||
"randomize",
|
||
false
|
||
],
|
||
"color": "#432",
|
||
"bgcolor": "#653"
|
||
},
|
||
{
|
||
"id": 6,
|
||
"type": "ImageBatch",
|
||
"pos": [
|
||
-774.167236328125,
|
||
3051.342529296875
|
||
],
|
||
"size": [
|
||
140,
|
||
46
|
||
],
|
||
"flags": {},
|
||
"order": 8,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "image1",
|
||
"type": "IMAGE",
|
||
"link": 27
|
||
},
|
||
{
|
||
"name": "image2",
|
||
"type": "IMAGE",
|
||
"link": 6
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
22
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.38",
|
||
"Node name for S&R": "ImageBatch"
|
||
}
|
||
},
|
||
{
|
||
"id": 7,
|
||
"type": "ImageResizeKJv2",
|
||
"pos": [
|
||
-804.0751953125,
|
||
3245.45556640625
|
||
],
|
||
"size": [
|
||
270,
|
||
266
|
||
],
|
||
"flags": {
|
||
"collapsed": true
|
||
},
|
||
"order": 7,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "image",
|
||
"type": "IMAGE",
|
||
"link": 7
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "width"
|
||
},
|
||
"link": 8
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "height"
|
||
},
|
||
"link": 9
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
6
|
||
]
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "INT",
|
||
"links": []
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "INT",
|
||
"links": []
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "comfyui-kjnodes",
|
||
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
|
||
"Node name for S&R": "ImageResizeKJv2"
|
||
},
|
||
"widgets_values": [
|
||
512,
|
||
512,
|
||
"lanczos",
|
||
"pad",
|
||
"255,255,255",
|
||
"center",
|
||
16,
|
||
"cpu"
|
||
]
|
||
},
|
||
{
|
||
"id": 10,
|
||
"type": "ImagePadKJ",
|
||
"pos": [
|
||
-40.420963287353516,
|
||
3034.11962890625
|
||
],
|
||
"size": [
|
||
292.10888671875,
|
||
310
|
||
],
|
||
"flags": {
|
||
"collapsed": true
|
||
},
|
||
"order": 13,
|
||
"mode": 4,
|
||
"inputs": [
|
||
{
|
||
"name": "image",
|
||
"type": "IMAGE",
|
||
"link": 14
|
||
},
|
||
{
|
||
"name": "mask",
|
||
"shape": 7,
|
||
"type": "MASK",
|
||
"link": null
|
||
},
|
||
{
|
||
"name": "target_width",
|
||
"shape": 7,
|
||
"type": "INT",
|
||
"link": null
|
||
},
|
||
{
|
||
"name": "target_height",
|
||
"shape": 7,
|
||
"type": "INT",
|
||
"link": null
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "images",
|
||
"type": "IMAGE",
|
||
"links": []
|
||
},
|
||
{
|
||
"name": "masks",
|
||
"type": "MASK",
|
||
"links": null
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "comfyui-kjnodes",
|
||
"ver": "6c997afd5f2d1d31d8d4c30d0526e04b982139f4",
|
||
"Node name for S&R": "ImagePadKJ"
|
||
},
|
||
"widgets_values": [
|
||
50,
|
||
50,
|
||
50,
|
||
50,
|
||
0,
|
||
"color",
|
||
"255,255,255"
|
||
]
|
||
},
|
||
{
|
||
"id": 12,
|
||
"type": "ImageRemoveAlpha+",
|
||
"pos": [
|
||
20.60906219482422,
|
||
3100.843017578125
|
||
],
|
||
"size": [
|
||
196.41659545898438,
|
||
26
|
||
],
|
||
"flags": {},
|
||
"order": 14,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "image",
|
||
"type": "IMAGE",
|
||
"link": 17
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
10
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "comfyui_essentials",
|
||
"ver": "33ff89fd354d8ec3ab6affb605a79a931b445d99",
|
||
"Node name for S&R": "ImageRemoveAlpha+"
|
||
}
|
||
},
|
||
{
|
||
"id": 17,
|
||
"type": "PromptManager",
|
||
"pos": [
|
||
-592.3502197265625,
|
||
2669.18359375
|
||
],
|
||
"size": [
|
||
440,
|
||
410
|
||
],
|
||
"flags": {},
|
||
"order": 9,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "context",
|
||
"shape": 7,
|
||
"type": "*",
|
||
"link": 21
|
||
},
|
||
{
|
||
"name": "image",
|
||
"shape": 7,
|
||
"type": "IMAGE",
|
||
"link": 22
|
||
},
|
||
{
|
||
"name": "mask",
|
||
"shape": 7,
|
||
"type": "MASK",
|
||
"link": null
|
||
},
|
||
{
|
||
"name": "video",
|
||
"shape": 7,
|
||
"type": "IMAGE",
|
||
"link": null
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "context",
|
||
"type": "*",
|
||
"links": [
|
||
24
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "llm-toolkit",
|
||
"ver": "3d82dbfe091d84868212e5f275deb5447fa4e659",
|
||
"Node name for S&R": "PromptManager"
|
||
},
|
||
"widgets_values": [
|
||
"You are a master artist crafting precise visual narratives for text-to-image generation. When given an image or visual description, create a flowing 70 word paragraph following this base on the TASK\n\n### 1. Basic Modifications\n- Simple and direct: `\"Change the car color to red\"`\n- Maintain style: `\"Change to daytime while maintaining the same style of the painting\"`\n\n### 2. Style Transfer\n**Principles:**\n- Clearly name style: `\"Transform to Bauhaus art style\"`\n- Describe characteristics: `\"Transform to oil painting with visible brushstrokes, thick paint texture\"`\n- Preserve composition: `\"Change to Bauhaus style while maintaining the original composition\"`\n\n### 3. Character Consistency\n**Framework:**\n- Specific description: `\"The woman with short black hair\"` instead of \"she\"\n- Preserve features: `\"while maintaining the same facial features, hairstyle, and expression\"`\n- Step-by-step modifications: Change background first, then actions\n\n### 4. Text Editing\n- Use quotes: `\"Replace 'joy' with 'BFL'\"`\n- Maintain format: `\"Replace text while maintaining the same font style\"`\n\n## Common Problem Solutions\n\n### Character Changes Too Much\n❌ Wrong: `\"Transform the person into a Viking\"`\n✅ Correct: `\"Change the clothes to be a viking warrior while preserving facial features\"`\n\n### Composition Position Changes\n❌ Wrong: `\"Put him on a beach\"`\n✅ Correct: `\"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"`\n\n### Style Application Inaccuracy\n❌ Wrong: `\"Make it a sketch\"`\n✅ Correct: `\"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"`\n\n## Core Principles\n\n1. **Be Specific and Clear** - Use precise descriptions, avoid vague terms\n2. **Step-by-step Editing** - Break complex modifications into multiple simple steps\n3. **Explicit Preservation** - State what should remain unchanged\n4. **Verb Selection** - Use \"change\", \"replace\" rather than \"transform\"\n\n## Best Practice Templates\n\n**Object Modification:**\n`\"Change [object] to [new state], keep [content to preserve] unchanged\"`\n\n**Style Transfer:**\n`\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"`\n\n**Background Replacement:**\n`\"Change the background to [new background], keep the subject in the exact same position and pose\"`\n\n**Text Editing:**\n`\"Replace '[original text]' with '[new text]', maintain the same font style\"`\n\n> **Remember:** The more specific, the better. Kontext excels at understanding detailed instructions and maintaining consistency. \n\n**TASK:**\nRestyle the image on the style of the second image \n",
|
||
"",
|
||
"",
|
||
""
|
||
]
|
||
},
|
||
{
|
||
"id": 18,
|
||
"type": "Display_Text",
|
||
"pos": [
|
||
-597.9130859375,
|
||
3645.28076171875
|
||
],
|
||
"size": [
|
||
436.8362121582031,
|
||
355.9361572265625
|
||
],
|
||
"flags": {
|
||
"collapsed": false
|
||
},
|
||
"order": 11,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "context",
|
||
"type": "*",
|
||
"link": 23
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "context",
|
||
"type": "*",
|
||
"links": []
|
||
},
|
||
{
|
||
"name": "text_list",
|
||
"shape": 6,
|
||
"type": "STRING",
|
||
"links": null
|
||
},
|
||
{
|
||
"name": "count",
|
||
"type": "INT",
|
||
"links": null
|
||
},
|
||
{
|
||
"name": "selected",
|
||
"type": "STRING",
|
||
"links": null
|
||
},
|
||
{
|
||
"name": "text_full",
|
||
"type": "STRING",
|
||
"links": [
|
||
16
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "llm-toolkit",
|
||
"ver": "3d82dbfe091d84868212e5f275deb5447fa4e659",
|
||
"Node name for S&R": "Display_Text"
|
||
},
|
||
"widgets_values": [
|
||
"0",
|
||
"Transform the first image into a high-contrast black and white comic book style, inspired by the second image. Apply bold, dynamic ink lines with heavy cross-hatching and stippling to create dramatic shadows and texture. Preserve the original composition, facial features, and pose of the man sitting, while adding a cosmic, surreal atmosphere with abstract, starry backgrounds and strong light contrasts similar to the second image’s style."
|
||
]
|
||
},
|
||
{
|
||
"id": 19,
|
||
"type": "LLMToolkitTextGeneratorStream",
|
||
"pos": [
|
||
-577.437744140625,
|
||
3155.059814453125
|
||
],
|
||
"size": [
|
||
392.4053649902344,
|
||
427.6463928222656
|
||
],
|
||
"flags": {},
|
||
"order": 10,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "context",
|
||
"shape": 7,
|
||
"type": "*",
|
||
"link": 24
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "context",
|
||
"type": "*",
|
||
"links": [
|
||
23
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "llm-toolkit",
|
||
"ver": "3d82dbfe091d84868212e5f275deb5447fa4e659",
|
||
"Node name for S&R": "LLMToolkitTextGeneratorStream"
|
||
},
|
||
"widgets_values": [
|
||
"gpt-4o-mini",
|
||
"Write a detailed description of a futuristic city.",
|
||
"Transform the first image into a high-contrast black and white comic book style, inspired by the second image. Apply bold, dynamic ink lines with heavy cross-hatching and stippling to create dramatic shadows and texture. Preserve the original composition, facial features, and pose of the man sitting, while adding a cosmic, surreal atmosphere with abstract, starry backgrounds and strong light contrasts similar to the second image’s style."
|
||
]
|
||
},
|
||
{
|
||
"id": 16,
|
||
"type": "OpenAIProviderNode",
|
||
"pos": [
|
||
-558.4002075195312,
|
||
2561.1875
|
||
],
|
||
"size": [
|
||
283.5269470214844,
|
||
58
|
||
],
|
||
"flags": {},
|
||
"order": 6,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "context",
|
||
"shape": 7,
|
||
"type": "*",
|
||
"link": null
|
||
},
|
||
{
|
||
"name": "llm_model",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "llm_model"
|
||
},
|
||
"link": 30
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "context",
|
||
"type": "*",
|
||
"links": [
|
||
21
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "llm-toolkit",
|
||
"ver": "3d82dbfe091d84868212e5f275deb5447fa4e659",
|
||
"Node name for S&R": "OpenAIProviderNode",
|
||
"llm_model": "gpt-4.1-mini"
|
||
},
|
||
"widgets_values": [
|
||
"gpt-4.1-mini"
|
||
]
|
||
},
|
||
{
|
||
"id": 4,
|
||
"type": "LoadImage",
|
||
"pos": [
|
||
-1220.171630859375,
|
||
2558.553955078125
|
||
],
|
||
"size": [
|
||
382.6070251464844,
|
||
394.3348388671875
|
||
],
|
||
"flags": {},
|
||
"order": 1,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
26
|
||
]
|
||
},
|
||
{
|
||
"name": "MASK",
|
||
"type": "MASK",
|
||
"links": null
|
||
}
|
||
],
|
||
"title": "Load Image: Reference",
|
||
"properties": {
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.27",
|
||
"Node name for S&R": "LoadImage"
|
||
},
|
||
"widgets_values": [
|
||
"9e94be9b-a559-480a-a374-2417447f5d41.jpeg",
|
||
"image"
|
||
]
|
||
},
|
||
{
|
||
"id": 3,
|
||
"type": "LoadImage",
|
||
"pos": [
|
||
-1212.446533203125,
|
||
3029.706787109375
|
||
],
|
||
"size": [
|
||
374.6949768066406,
|
||
398.5068054199219
|
||
],
|
||
"flags": {},
|
||
"order": 2,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
7
|
||
]
|
||
},
|
||
{
|
||
"name": "MASK",
|
||
"type": "MASK",
|
||
"links": null
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.38",
|
||
"Node name for S&R": "LoadImage"
|
||
},
|
||
"widgets_values": [
|
||
"112c4b921070ed1e4901424c58a530fd.jpg",
|
||
"image"
|
||
]
|
||
},
|
||
{
|
||
"id": 11,
|
||
"type": "FluxKontextProImageNode",
|
||
"pos": [
|
||
-94.39669036865234,
|
||
2623.81298828125
|
||
],
|
||
"size": [
|
||
409.30657958984375,
|
||
303.1578369140625
|
||
],
|
||
"flags": {},
|
||
"order": 12,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "input_image",
|
||
"shape": 7,
|
||
"type": "IMAGE",
|
||
"link": 28
|
||
},
|
||
{
|
||
"name": "prompt",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "prompt"
|
||
},
|
||
"link": 16
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
14,
|
||
17
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "FluxKontextProImageNode"
|
||
},
|
||
"widgets_values": [
|
||
"Combine the two images into a single cohesive scene: place the woman sitting on the blue carpet, holding the earphones, with the orange water bottle positioned next to her on the right side. Keep her seated pose, facial features, and surroundings unchanged. Ensure the water bottle remains upright, with the logo visible. Maintain the background details, such as the curtains and wall decor, to create a seamless, unified composition.",
|
||
"9:16",
|
||
3,
|
||
50,
|
||
1085172528948664,
|
||
"randomize",
|
||
false,
|
||
"Result URL: https://delivery-eu1.bfl.ai/results/49a0474ae3f94093ad093d79b275fcc4/sample.png?se=2025-05-31T09%3A59%3A18Z&sp=r&sv=2024-11-04&sr=b&rsct=image/png&sig=i2cHSqjizftFBzsf3i9l2Z55pHHpFlYJQ8Z8irmYxAE%3D"
|
||
],
|
||
"color": "#432",
|
||
"bgcolor": "#653"
|
||
},
|
||
{
|
||
"id": 9,
|
||
"type": "SaveImage",
|
||
"pos": [
|
||
378.85595703125,
|
||
3222.409912109375
|
||
],
|
||
"size": [
|
||
431.1168212890625,
|
||
674.3729248046875
|
||
],
|
||
"flags": {},
|
||
"order": 16,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "images",
|
||
"type": "IMAGE",
|
||
"link": 13
|
||
}
|
||
],
|
||
"outputs": [],
|
||
"properties": {
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.38",
|
||
"Node name for S&R": "SaveImage"
|
||
},
|
||
"widgets_values": [
|
||
"kontext_Pro"
|
||
]
|
||
},
|
||
{
|
||
"id": 15,
|
||
"type": "Image Comparer (rgthree)",
|
||
"pos": [
|
||
363.34722900390625,
|
||
2669.588134765625
|
||
],
|
||
"size": [
|
||
427.19073486328125,
|
||
452.9398498535156
|
||
],
|
||
"flags": {},
|
||
"order": 17,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"dir": 3,
|
||
"name": "image_a",
|
||
"type": "IMAGE",
|
||
"link": 29
|
||
},
|
||
{
|
||
"dir": 3,
|
||
"name": "image_b",
|
||
"type": "IMAGE",
|
||
"link": 31
|
||
}
|
||
],
|
||
"outputs": [],
|
||
"properties": {
|
||
"cnr_id": "rgthree-comfy",
|
||
"ver": "5d771b8b56a343c24a26e8cea1f0c87c3d58102f",
|
||
"comparer_mode": "Slide"
|
||
},
|
||
"widgets_values": [
|
||
[
|
||
{
|
||
"name": "A",
|
||
"selected": true,
|
||
"url": "/api/view?filename=rgthree.compare._temp_ydjoh_00007_.png&type=temp&subfolder=&rand=0.7669960420397368"
|
||
},
|
||
{
|
||
"name": "B",
|
||
"selected": true,
|
||
"url": "/api/view?filename=rgthree.compare._temp_ydjoh_00008_.png&type=temp&subfolder=&rand=0.3401643652253954"
|
||
}
|
||
]
|
||
]
|
||
},
|
||
{
|
||
"id": 20,
|
||
"type": "ComfyUIDeployExternalText",
|
||
"pos": [
|
||
-1657.5565185546875,
|
||
2537.44921875
|
||
],
|
||
"size": [
|
||
400,
|
||
200
|
||
],
|
||
"flags": {},
|
||
"order": 3,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "text",
|
||
"type": "STRING",
|
||
"links": [
|
||
30
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "comfyui-deploy",
|
||
"ver": "b889f79baf9e099d5e54bd20bab4aa1e7c3296c0",
|
||
"Node name for S&R": "ComfyUIDeployExternalText"
|
||
},
|
||
"widgets_values": [
|
||
"llm_model",
|
||
"gpt-4.1-mini",
|
||
"",
|
||
""
|
||
]
|
||
},
|
||
{
|
||
"id": 8,
|
||
"type": "ImageResizeKJv2",
|
||
"pos": [
|
||
-28.133121490478516,
|
||
3276.55419921875
|
||
],
|
||
"size": [
|
||
270,
|
||
266
|
||
],
|
||
"flags": {},
|
||
"order": 15,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "image",
|
||
"type": "IMAGE",
|
||
"link": 10
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "width"
|
||
},
|
||
"link": 11
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "height"
|
||
},
|
||
"link": 12
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
13,
|
||
31
|
||
]
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "INT",
|
||
"links": []
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "INT",
|
||
"links": []
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "comfyui-kjnodes",
|
||
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
|
||
"Node name for S&R": "ImageResizeKJv2"
|
||
},
|
||
"widgets_values": [
|
||
512,
|
||
512,
|
||
"lanczos",
|
||
"crop",
|
||
"255,255,255",
|
||
"center",
|
||
16,
|
||
"cpu"
|
||
]
|
||
},
|
||
{
|
||
"id": 13,
|
||
"type": "ImageResizeKJv2",
|
||
"pos": [
|
||
-810.2639770507812,
|
||
2643.827392578125
|
||
],
|
||
"size": [
|
||
270,
|
||
266
|
||
],
|
||
"flags": {
|
||
"collapsed": true
|
||
},
|
||
"order": 5,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "image",
|
||
"type": "IMAGE",
|
||
"link": 26
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
27,
|
||
28,
|
||
29
|
||
]
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "INT",
|
||
"links": [
|
||
8,
|
||
11
|
||
]
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "INT",
|
||
"links": [
|
||
9,
|
||
12
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"cnr_id": "comfyui-kjnodes",
|
||
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
|
||
"Node name for S&R": "ImageResizeKJv2"
|
||
},
|
||
"widgets_values": [
|
||
480,
|
||
832,
|
||
"lanczos",
|
||
"crop",
|
||
"172,172,172",
|
||
"center",
|
||
16,
|
||
"cpu"
|
||
]
|
||
}
|
||
],
|
||
"links": [
|
||
[
|
||
1,
|
||
2,
|
||
0,
|
||
1,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
6,
|
||
7,
|
||
0,
|
||
6,
|
||
1,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
7,
|
||
3,
|
||
0,
|
||
7,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
8,
|
||
13,
|
||
1,
|
||
7,
|
||
1,
|
||
"INT"
|
||
],
|
||
[
|
||
9,
|
||
13,
|
||
2,
|
||
7,
|
||
2,
|
||
"INT"
|
||
],
|
||
[
|
||
10,
|
||
12,
|
||
0,
|
||
8,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
11,
|
||
13,
|
||
1,
|
||
8,
|
||
1,
|
||
"INT"
|
||
],
|
||
[
|
||
12,
|
||
13,
|
||
2,
|
||
8,
|
||
2,
|
||
"INT"
|
||
],
|
||
[
|
||
13,
|
||
8,
|
||
0,
|
||
9,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
14,
|
||
11,
|
||
0,
|
||
10,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
16,
|
||
18,
|
||
4,
|
||
11,
|
||
1,
|
||
"STRING"
|
||
],
|
||
[
|
||
17,
|
||
11,
|
||
0,
|
||
12,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
21,
|
||
16,
|
||
0,
|
||
17,
|
||
0,
|
||
"*"
|
||
],
|
||
[
|
||
22,
|
||
6,
|
||
0,
|
||
17,
|
||
1,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
23,
|
||
19,
|
||
0,
|
||
18,
|
||
0,
|
||
"*"
|
||
],
|
||
[
|
||
24,
|
||
17,
|
||
0,
|
||
19,
|
||
0,
|
||
"*"
|
||
],
|
||
[
|
||
26,
|
||
4,
|
||
0,
|
||
13,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
27,
|
||
13,
|
||
0,
|
||
6,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
28,
|
||
13,
|
||
0,
|
||
11,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
29,
|
||
13,
|
||
0,
|
||
15,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
30,
|
||
20,
|
||
0,
|
||
16,
|
||
1,
|
||
"STRING"
|
||
],
|
||
[
|
||
31,
|
||
8,
|
||
0,
|
||
15,
|
||
1,
|
||
"IMAGE"
|
||
]
|
||
],
|
||
"groups": [
|
||
{
|
||
"id": 1,
|
||
"title": "REFERENCE_IMAGE",
|
||
"bounding": [
|
||
-1229.105224609375,
|
||
2472.301513671875,
|
||
602.6290283203125,
|
||
967.8089599609375
|
||
],
|
||
"color": "#444",
|
||
"font_size": 24,
|
||
"flags": {}
|
||
},
|
||
{
|
||
"id": 3,
|
||
"title": "RESTYLE_KONTEXT",
|
||
"bounding": [
|
||
-102.53275299072266,
|
||
2534.25146484375,
|
||
429.306640625,
|
||
1404.0093994140625
|
||
],
|
||
"color": "#444",
|
||
"font_size": 24,
|
||
"flags": {}
|
||
},
|
||
{
|
||
"id": 4,
|
||
"title": "RESTYLE_PROMPT",
|
||
"bounding": [
|
||
-607.9130859375,
|
||
2485.598388671875,
|
||
465.5628662109375,
|
||
1525.6182861328125
|
||
],
|
||
"color": "#444",
|
||
"font_size": 24,
|
||
"flags": {}
|
||
}
|
||
],
|
||
"config": {},
|
||
"extra": {
|
||
"ds": {
|
||
"scale": 0.7400249944259033,
|
||
"offset": [
|
||
1968.079391132205,
|
||
-2371.3082670991216
|
||
]
|
||
},
|
||
"frontendVersion": "1.20.6",
|
||
"VHS_latentpreview": false,
|
||
"VHS_latentpreviewrate": 0
|
||
},
|
||
"version": 0.4
|
||
} |