Files
martin-rizzo-ComfyUI-ZImage…/workflows/inject_style_into_string.json
T
Martin Rizzo 6c9454d8bd chore: Update example workflows to use new style selection nodes
This commit revises three example workflows, originally designed for older
versions, to incorporate the latest nodes that feature style selection through
the style gallery, showcasing the enhanced functionality in practical scenarios.
2026-02-12 22:32:57 -03:00

164 lines
3.0 KiB
JSON

{
"id": "9a14adb3-81b3-426c-822c-735347a473ff",
"revision": 0,
"last_node_id": 17,
"last_link_id": 10,
"nodes": [
{
"id": 6,
"type": "PreviewAny",
"pos": [
1010.3333333333334,
281.3333333333333
],
"size": [
450,
380
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 10
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 16,
"type": "Note",
"pos": [
310,
-20
],
"size": [
350,
200
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"This workflow illustrates how to inject style directly into a prompt text.\n\nIt is straightforward, the 'Style String Injector' node receives the input prompt as a string and outputs the final text, which combines the original prompt with the selected style."
],
"color": "#223",
"bgcolor": "#335",
"shape": 1
},
{
"id": 2,
"type": "PrimitiveStringMultiline",
"pos": [
130.33333333333334,
281.3333333333333
],
"size": [
450,
360
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
9
]
}
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline"
},
"widgets_values": [
"Worn-down computer control panels surrounding an adult woman in dirty clothes sitting in a starship, creating a hyperpunk scene."
]
},
{
"id": 17,
"type": "StyleStringInjector2 //ZImagePowerNodes",
"pos": [
610,
280
],
"size": [
370,
110
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "string",
"type": "STRING",
"link": 9
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
10
]
}
],
"properties": {
"Node name for S&R": "StyleStringInjector2 //ZImagePowerNodes"
},
"widgets_values": [
"\"Comic 1\"",
null
]
}
],
"links": [
[
9,
2,
0,
17,
0,
"STRING"
],
[
10,
17,
0,
6,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.75,
"offset": [
120.2965307317385,
267.9383060048679
]
},
"frontendVersion": "1.37.11",
"workflowRendererVersion": "LG"
},
"version": 0.4
}