82 lines
2.2 KiB
JSON
82 lines
2.2 KiB
JSON
{
|
|
"last_node_id": 4,
|
|
"last_link_id": 3,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "GPTImage2ApiKey",
|
|
"pos": [50, 340],
|
|
"size": { "0": 300, "1": 80 },
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{ "name": "api_key", "type": "STRING", "links": [1], "slot_index": 0 }
|
|
],
|
|
"properties": { "Node name for S&R": "GPTImage2ApiKey" },
|
|
"widgets_values": [""]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "LoadImage",
|
|
"pos": [50, 100],
|
|
"size": { "0": 300, "1": 150 },
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{ "name": "IMAGE", "type": "IMAGE", "links": [2], "slot_index": 0 },
|
|
{ "name": "MASK", "type": "MASK", "links": null, "slot_index": 1 }
|
|
],
|
|
"properties": { "Node name for S&R": "LoadImage" },
|
|
"widgets_values": ["example.png", "image"]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "GPTImage2ImageToImage",
|
|
"pos": [420, 100],
|
|
"size": { "0": 420, "1": 240 },
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{ "name": "api_key", "type": "STRING", "link": 1 },
|
|
{ "name": "image_1", "type": "IMAGE", "link": 2 }
|
|
],
|
|
"outputs": [
|
|
{ "name": "image", "type": "IMAGE", "links": [3], "slot_index": 0 },
|
|
{ "name": "image_url", "type": "STRING", "links": null, "slot_index": 1 },
|
|
{ "name": "request_id", "type": "STRING", "links": null, "slot_index": 2 }
|
|
],
|
|
"properties": { "Node name for S&R": "GPTImage2ImageToImage" },
|
|
"widgets_values": [
|
|
"Transform this product image into a premium e-commerce poster style."
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "PreviewImage",
|
|
"pos": [920, 100],
|
|
"size": { "0": 320, "1": 270 },
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{ "name": "images", "type": "IMAGE", "link": 3 }
|
|
],
|
|
"properties": { "Node name for S&R": "PreviewImage" }
|
|
}
|
|
],
|
|
"links": [
|
|
[1, 1, 0, 3, 0, "STRING"],
|
|
[2, 2, 0, 3, 1, "IMAGE"],
|
|
[3, 3, 0, 4, 0, "IMAGE"]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": { "scale": 0.8, "offset": [0, 0] }
|
|
},
|
|
"version": 0.4
|
|
}
|