chore: update new workflow with ansi support

This commit is contained in:
Hugh Bord
2025-08-27 17:50:33 +08:00
parent 799fc88c0d
commit e66a89aca0
6 changed files with 178 additions and 76 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ This node is used with [aibird](https://github.com/birdneststream/aibird) to con
## Workflow
![Workflow Example](workflows/screenshot.png)
![Workflow Example](workflows/screenshot.jpg)
An example workflow is provided in `workflows/mircify_example_workflow.json`.
@@ -23,7 +23,7 @@ At the moment this example is using qwen image (gguf), lightning 4 step lora wit
Pasting the results of the created `.txt` file into IRC, we should be able to see the IRC art rendered in the client.
![IRC output](workflows/screenshot_irc.png)
![IRC output](workflows/screenshot_irc.jpg)
## ANSI Terminal Output
+176 -74
View File
@@ -1,8 +1,8 @@
{
"id": "6a85ef9e-440c-47f8-b6cc-6a647c18839d",
"revision": 0,
"last_node_id": 90,
"last_link_id": 151,
"last_node_id": 93,
"last_link_id": 156,
"nodes": [
{
"id": 7,
@@ -16,7 +16,7 @@
180.6060791015625
],
"flags": {},
"order": 6,
"order": 5,
"mode": 0,
"inputs": [
{
@@ -114,7 +114,7 @@
82
],
"flags": {},
"order": 4,
"order": 6,
"mode": 0,
"inputs": [
{
@@ -142,39 +142,6 @@
1
]
},
{
"id": 76,
"type": "UnetLoaderGGUF",
"pos": [
-165.00462341308594,
-145.17276000976562
],
"size": [
270,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
134
]
}
],
"properties": {
"cnr_id": "ComfyUI-GGUF",
"ver": "d247022e3fa66851c5084cc251b076aab816423d",
"Node name for S&R": "UnetLoaderGGUF"
},
"widgets_values": [
"qwen/qwen-image-Q8_0.gguf"
]
},
{
"id": 38,
"type": "CLIPLoader",
@@ -187,7 +154,7 @@
110
],
"flags": {},
"order": 1,
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
@@ -239,7 +206,7 @@
60
],
"flags": {},
"order": 2,
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
@@ -288,7 +255,7 @@
106
],
"flags": {},
"order": 3,
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
@@ -432,7 +399,7 @@
"widget_ue_connectable": {}
},
"widgets_values": [
312348835762538,
817468956820710,
"randomize",
4,
1,
@@ -453,7 +420,7 @@
152.777099609375
],
"flags": {},
"order": 5,
"order": 4,
"mode": 0,
"inputs": [
{
@@ -487,17 +454,148 @@
"widget_ue_connectable": {}
},
"widgets_values": [
"- Monospace font with pixelated appearance\n- ANSI art style\n- High contrast colors\n\nCreate ASCII art of: "
"- Monospace font with pixelated appearance\n- ANSI art style\n- High contrast colors\n- Solid color background\n\nCreate ASCII art of: happy dog"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 91,
"type": "IRC Text Saver",
"pos": [
1386.3250732421875,
292.4225158691406
],
"size": [
270,
58
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "irc_text",
"type": "STRING",
"link": 155
}
],
"outputs": [
{
"name": "file_path",
"type": "STRING",
"links": null
}
],
"properties": {
"aux_id": "ComfyUI-Mircify.git",
"ver": "7560f88586f8cf1c4e67e706e79f3dfc3390f308",
"Node name for S&R": "IRC Text Saver"
},
"widgets_values": [
"irc_art_{TIMESTAMP}.txt"
]
},
{
"id": 82,
"type": "IRC Art Converter",
"pos": [
1041.7572021484375,
-165.6854705810547
],
"size": [
270,
242
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 150
}
],
"outputs": [
{
"name": "processed_image",
"type": "IMAGE",
"links": [
142
]
},
{
"name": "irc_text",
"type": "STRING",
"links": [
155
]
},
{
"name": "ansi_text",
"type": "STRING",
"links": [
156
]
}
],
"properties": {
"aux_id": "ComfyUI-Mircify.git",
"ver": "7560f88586f8cf1c4e67e706e79f3dfc3390f308",
"Node name for S&R": "IRC Art Converter"
},
"widgets_values": [
8,
15,
true,
false,
"perceptual_weighted"
]
},
{
"id": 93,
"type": "IRC Text Saver",
"pos": [
1391.58154296875,
407.7270812988281
],
"size": [
270,
58
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "irc_text",
"type": "STRING",
"link": 156
}
],
"outputs": [
{
"name": "file_path",
"type": "STRING",
"links": null
}
],
"properties": {
"aux_id": "ComfyUI-Mircify.git",
"ver": "7560f88586f8cf1c4e67e706e79f3dfc3390f308",
"Node name for S&R": "IRC Text Saver"
},
"widgets_values": [
"ansi_art_{TIMESTAMP}.txt"
]
},
{
"id": 80,
"type": "PreviewImage",
"pos": [
1431.9190673828125,
14.694787979125977
1385.32958984375,
-166.24484252929688
],
"size": [
524.072998046875,
@@ -522,48 +620,36 @@
"widgets_values": []
},
{
"id": 82,
"type": "IRC Art Converter",
"id": 76,
"type": "UnetLoaderGGUF",
"pos": [
1064.44189453125,
-37.240028381347656
-125.99971008300781,
-188.51158142089844
],
"size": [
270,
150
58
],
"flags": {},
"order": 10,
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 150
}
],
"inputs": [],
"outputs": [
{
"name": "processed_image",
"type": "IMAGE",
"name": "MODEL",
"type": "MODEL",
"links": [
142
134
]
},
{
"name": "irc_text",
"type": "STRING",
"links": []
}
],
"properties": {
"Node name for S&R": "IRC Art Converter"
"cnr_id": "ComfyUI-GGUF",
"ver": "d247022e3fa66851c5084cc251b076aab816423d",
"Node name for S&R": "UnetLoaderGGUF"
},
"widgets_values": [
8,
15,
true,
"dominant"
"qwen/qwen-image-Q8_0.gguf"
]
}
],
@@ -663,16 +749,32 @@
82,
0,
"IMAGE"
],
[
155,
82,
1,
91,
0,
"STRING"
],
[
156,
82,
2,
93,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6934334949441494,
"scale": 0.8390545288824212,
"offset": [
544.5547580937528,
562.4238761052792
108.16671263739013,
536.0446891793314
]
},
"frontendVersion": "1.23.4",
Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB