Insert Text Reference node to display the generated prompt from Nemotron
Browse files- workflow.json +38 -3
workflow.json
CHANGED
|
@@ -31,6 +31,33 @@
|
|
| 31 |
},
|
| 32 |
"x": 80,
|
| 33 |
"y": 80
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
}
|
| 35 |
],
|
| 36 |
"operators": [
|
|
@@ -83,7 +110,7 @@
|
|
| 83 |
}
|
| 84 |
],
|
| 85 |
"data": {},
|
| 86 |
-
"x":
|
| 87 |
"y": 80,
|
| 88 |
"width": 280,
|
| 89 |
"height": 124
|
|
@@ -112,7 +139,7 @@
|
|
| 112 |
"data": {
|
| 113 |
"in": null
|
| 114 |
},
|
| 115 |
-
"x":
|
| 116 |
"y": 80,
|
| 117 |
"width": 220,
|
| 118 |
"height": 107
|
|
@@ -131,12 +158,20 @@
|
|
| 131 |
"id": "edge_2",
|
| 132 |
"from_node_id": "op_generate_prompt",
|
| 133 |
"from_port_id": "out_0",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
"to_node_id": "op_generate_image",
|
| 135 |
"to_port_id": "in_0",
|
| 136 |
"type": "text"
|
| 137 |
},
|
| 138 |
{
|
| 139 |
-
"id": "
|
| 140 |
"from_node_id": "op_generate_image",
|
| 141 |
"from_port_id": "out_0",
|
| 142 |
"to_node_id": "subj_output_image",
|
|
|
|
| 31 |
},
|
| 32 |
"x": 80,
|
| 33 |
"y": 80
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"id": "ref_prompt",
|
| 37 |
+
"label": "Expanded Prompt",
|
| 38 |
+
"inputs": [
|
| 39 |
+
{
|
| 40 |
+
"id": "in",
|
| 41 |
+
"label": "Text",
|
| 42 |
+
"type": "text"
|
| 43 |
+
}
|
| 44 |
+
],
|
| 45 |
+
"outputs": [
|
| 46 |
+
{
|
| 47 |
+
"id": "out",
|
| 48 |
+
"label": "Text",
|
| 49 |
+
"type": "text"
|
| 50 |
+
}
|
| 51 |
+
],
|
| 52 |
+
"width": 220,
|
| 53 |
+
"height": 163,
|
| 54 |
+
"asset_type": "text",
|
| 55 |
+
"role": "reference",
|
| 56 |
+
"data": {
|
| 57 |
+
"in": ""
|
| 58 |
+
},
|
| 59 |
+
"x": 740,
|
| 60 |
+
"y": 80
|
| 61 |
}
|
| 62 |
],
|
| 63 |
"operators": [
|
|
|
|
| 110 |
}
|
| 111 |
],
|
| 112 |
"data": {},
|
| 113 |
+
"x": 1040,
|
| 114 |
"y": 80,
|
| 115 |
"width": 280,
|
| 116 |
"height": 124
|
|
|
|
| 139 |
"data": {
|
| 140 |
"in": null
|
| 141 |
},
|
| 142 |
+
"x": 1400,
|
| 143 |
"y": 80,
|
| 144 |
"width": 220,
|
| 145 |
"height": 107
|
|
|
|
| 158 |
"id": "edge_2",
|
| 159 |
"from_node_id": "op_generate_prompt",
|
| 160 |
"from_port_id": "out_0",
|
| 161 |
+
"to_node_id": "ref_prompt",
|
| 162 |
+
"to_port_id": "in",
|
| 163 |
+
"type": "text"
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"id": "edge_3",
|
| 167 |
+
"from_node_id": "ref_prompt",
|
| 168 |
+
"from_port_id": "out",
|
| 169 |
"to_node_id": "op_generate_image",
|
| 170 |
"to_port_id": "in_0",
|
| 171 |
"type": "text"
|
| 172 |
},
|
| 173 |
{
|
| 174 |
+
"id": "edge_4",
|
| 175 |
"from_node_id": "op_generate_image",
|
| 176 |
"from_port_id": "out_0",
|
| 177 |
"to_node_id": "subj_output_image",
|