Files

405 lines
7.2 KiB
JSON

{
"last_node_id": 51,
"last_link_id": 69,
"nodes": [
{
"id": 40,
"type": "PreviewImage",
"pos": [
359,
818
],
"size": {
"0": 367.423583984375,
"1": 246
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 53
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 23,
"type": "Prompt Template",
"pos": [
791.1583716027051,
404.251692350905
],
"size": {
"0": 380.399658203125,
"1": 92.37116241455078
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "prompt",
"type": "STRING",
"link": 17,
"widget": {
"name": "prompt"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
45
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Prompt Template"
},
"widgets_values": [
"",
"Describe a beautiful picture in detail using one sentence of \"[prompt]\", please answer in English words only, skip the preamble."
]
},
{
"id": 8,
"type": "ShowText|pysssss",
"pos": [
797.1583716027051,
739.2516923509042
],
"size": {
"0": 370,
"1": 100
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 46,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null,
"shape": 6,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"",
"A serene winter landscape with a fluffy feline companion adorned in a festive red bow, gazing contentedly at the glistening snow-covered trees and twinkling lights that adorn the cozy cabin in the distance."
]
},
{
"id": 39,
"type": "Image From URL",
"pos": [
374,
662
],
"size": {
"0": 339.4082336425781,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
53,
63
],
"shape": 3,
"slot_index": 0
}
],
"title": "Image to be Edit From URL",
"properties": {
"Node name for S&R": "Image From URL"
},
"widgets_values": [
"https://github.com/aws-samples/comfyui-llm-node-for-amazon-bedrock/blob/main/assets/cat.png?raw=true"
]
},
{
"id": 49,
"type": "Bedrock - Titan Variation",
"pos": [
1229.2916318058303,
406.2239222923436
],
"size": {
"0": 610.4379272460938,
"1": 192
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 63
},
{
"name": "prompt",
"type": "STRING",
"link": 67,
"widget": {
"name": "prompt"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
64
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Bedrock - Titan Variation"
},
"widgets_values": [
"",
"",
0.7,
4,
8,
"1024 x 1024"
]
},
{
"id": 33,
"type": "PreviewImage",
"pos": [
1233.2916318058303,
649.2239222923433
],
"size": {
"0": 609.0910034179688,
"1": 642.6731567382812
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 64
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 34,
"type": "Bedrock - Claude",
"pos": [
789.1583716027051,
538.2516923509042
],
"size": {
"0": 378.8060302734375,
"1": 154.25772094726562
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "prompt",
"type": "STRING",
"link": 45,
"widget": {
"name": "prompt"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
46,
67
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Bedrock - Claude"
},
"widgets_values": [
"",
"anthropic.claude-3-haiku-20240307-v1:0",
200,
0.5,
1,
250
]
},
{
"id": 5,
"type": "Text Multiline",
"pos": [
362,
368
],
"size": {
"0": 379.65625,
"1": 198.87109375
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
17
],
"shape": 3,
"slot_index": 0
}
],
"title": "Image Editing Prompt",
"properties": {
"Node name for S&R": "Text Multiline"
},
"widgets_values": [
"christmas cat"
]
}
],
"links": [
[
17,
5,
0,
23,
0,
"STRING"
],
[
45,
23,
0,
34,
0,
"STRING"
],
[
46,
34,
0,
8,
0,
"STRING"
],
[
53,
39,
0,
40,
0,
"IMAGE"
],
[
63,
39,
0,
49,
0,
"IMAGE"
],
[
64,
49,
0,
33,
0,
"IMAGE"
],
[
67,
34,
0,
49,
1,
"STRING"
]
],
"groups": [
{
"title": "Prompt Refinement (Bedrock Claude)",
"bounding": [
779,
330,
406,
521
],
"color": "#b58b2a",
"font_size": 24,
"locked": false
},
{
"title": "Generate Image Variations (Bedrock TitanImage)",
"bounding": [
1221,
328,
637,
1012
],
"color": "#88A",
"font_size": 24,
"locked": false
}
],
"config": {},
"extra": {
"workspace_info": {
"id": "c350a89c-0edd-4bef-9fc6-f83c239228a8"
},
"ds": {
"scale": 0.6934334949441409,
"offset": [
-177.90243583055275,
-224.28232740460032
]
}
},
"version": 0.4
}