Files

172 lines
3.0 KiB
JSON

{
"last_node_id": 2,
"last_link_id": 1,
"nodes": [
{
"id": 1,
"type": "UtilMegaPack_Prompt",
"pos": [
60,
60
],
"size": [
320,
1500
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "prompt",
"type": "STRING",
"links": [
1
],
"slot_index": 0
},
{
"name": "negative",
"type": "STRING",
"links": [],
"slot_index": 1
},
{
"name": "all_prompts",
"type": "LIST",
"links": [],
"slot_index": 2
},
{
"name": "token_count",
"type": "INT",
"links": [],
"slot_index": 3
}
],
"properties": {
"recipe_id": "op",
"Node name for S&R": "UtilMegaPack_Prompt"
},
"widgets_values": [
"prompt_template_render",
"(use pack default)",
"",
0,
"",
-1,
"randomize",
"",
"{}",
"",
1.0,
"",
1.0,
"A {style} photo of a {subject} in {setting}, award-winning, 8K",
"{\"style\": \"cinematic\", \"subject\": \"fox\", \"setting\": \"moonlit forest\"}",
true,
"",
"realistic",
", ",
"",
"llama3.2",
"http://127.0.0.1:11434",
"detailed",
60,
""
]
},
{
"id": 2,
"type": "ShowText|pysssss",
"pos": [
460,
60
],
"size": [
320,
188
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 1,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [],
"slot_index": 0
}
],
"properties": {
"recipe_id": "out",
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
""
]
}
],
"links": [
[
1,
1,
0,
2,
0,
"STRING"
]
],
"groups": [
{
"title": "Action",
"bounding": [
35,
-9,
370,
1594
],
"color": "#3F789E",
"font_size": 24,
"locked": false
},
{
"title": "Output",
"bounding": [
435,
-9,
370,
282
],
"color": "#3F789E",
"font_size": 24,
"locked": false
}
],
"config": {},
"extra": {
"ds": {
"scale": 1.0,
"offset": [
0,
0
]
},
"description": "Render a prompt template with variable substitution using the Prompt node.",
"title": "MegaPack \u2014 Prompt: Template Render",
"tier": 1,
"pack": "ComfyUI-Utility-MegaPack"
},
"version": 0.4
}