94 lines
1.7 KiB
JSON
94 lines
1.7 KiB
JSON
{
|
|
"last_node_id": 2,
|
|
"last_link_id": 1,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "LoadImage",
|
|
"pos": [120, 240],
|
|
"size": [315, 314],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [1],
|
|
"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": 2,
|
|
"type": "LLM_API_CHAT_NODE",
|
|
"pos": [520, 240],
|
|
"size": [420, 380],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 1,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "response",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "error",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LLM_API_CHAT_NODE"
|
|
},
|
|
"widgets_values": [
|
|
"openai",
|
|
"",
|
|
"",
|
|
"OPENAI_API_KEY",
|
|
"gpt-4.1-mini",
|
|
"You are a concise image assistant.",
|
|
"Describe this image in one short paragraph.",
|
|
0.6,
|
|
100,
|
|
true,
|
|
4,
|
|
"balanced",
|
|
1.5,
|
|
1280
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[1, 1, 0, 2, 0, "IMAGE"]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {},
|
|
"version": 0.4
|
|
}
|