Files
Haiper-ai-ComfyUI-HaiperAI-API/workflows/Text2Image.json
T

539 lines
9.6 KiB
JSON

{
"last_node_id": 9,
"last_link_id": 9,
"nodes": [
{
"id": 2,
"type": "VHS_LoadImagesPath",
"pos": [
874,
36
],
"size": [
246.84765625,
194
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "directory",
"type": "STRING",
"link": 2,
"widget": {
"name": "directory"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
},
{
"name": "frame_count",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_LoadImagesPath"
},
"widgets_values": {
"directory": "",
"image_load_cap": 1,
"skip_first_images": 0,
"select_every_nth": 1,
"choose folder to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"frame_load_cap": 1,
"skip_first_frames": 0,
"select_every_nth": 1
},
"muted": false
}
}
},
{
"id": 3,
"type": "VHS_LoadImagesPath",
"pos": [
869,
281
],
"size": [
246.84765625,
194
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "directory",
"type": "STRING",
"link": 3,
"widget": {
"name": "directory"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
},
{
"name": "frame_count",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_LoadImagesPath"
},
"widgets_values": {
"directory": "",
"image_load_cap": 1,
"skip_first_images": 1,
"select_every_nth": 1,
"choose folder to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"frame_load_cap": 1,
"skip_first_frames": 1,
"select_every_nth": 1
},
"muted": false
}
}
},
{
"id": 4,
"type": "VHS_LoadImagesPath",
"pos": [
864,
528
],
"size": [
246.84765625,
194
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "directory",
"type": "STRING",
"link": 4,
"widget": {
"name": "directory"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
8
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
},
{
"name": "frame_count",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_LoadImagesPath"
},
"widgets_values": {
"directory": "",
"image_load_cap": 1,
"skip_first_images": 2,
"select_every_nth": 1,
"choose folder to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"frame_load_cap": 1,
"skip_first_frames": 2,
"select_every_nth": 1
},
"muted": false
}
}
},
{
"id": 5,
"type": "VHS_LoadImagesPath",
"pos": [
867,
786
],
"size": [
246.84765625,
194
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "directory",
"type": "STRING",
"link": 5,
"widget": {
"name": "directory"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
},
{
"name": "frame_count",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_LoadImagesPath"
},
"widgets_values": {
"directory": "",
"image_load_cap": 1,
"skip_first_images": 3,
"select_every_nth": 1,
"choose folder to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"frame_load_cap": 1,
"skip_first_frames": 3,
"select_every_nth": 1
},
"muted": false
}
}
},
{
"id": 8,
"type": "PreviewImage",
"pos": [
1204,
530
],
"size": [
300.1227111816406,
246
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 7,
"type": "PreviewImage",
"pos": [
1205,
282
],
"size": [
297.2323303222656,
246
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 7
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 6,
"type": "PreviewImage",
"pos": [
1204,
35
],
"size": [
289.838623046875,
246
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 6
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 9,
"type": "PreviewImage",
"pos": [
1201,
784
],
"size": [
307.3887023925781,
246
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 1,
"type": "HaiperText2Image",
"pos": [
370,
243
],
"size": [
315,
306
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "output_image_dir_path",
"type": "STRING",
"links": [
2,
3,
4,
5
],
"slot_index": 0
},
{
"name": "output_image_0_path",
"type": "STRING",
"links": [],
"slot_index": 1
},
{
"name": "output_image_1_path",
"type": "STRING",
"links": null
},
{
"name": "output_image_2_path",
"type": "STRING",
"links": null
},
{
"name": "output_image_3_path",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "HaiperText2Image"
},
"widgets_values": [
"a girl is smiling",
"bad, slow",
1115,
"randomize",
"16:9",
720,
false,
true
]
}
],
"links": [
[
2,
1,
0,
2,
1,
"STRING"
],
[
3,
1,
0,
3,
1,
"STRING"
],
[
4,
1,
0,
4,
1,
"STRING"
],
[
5,
1,
0,
5,
1,
"STRING"
],
[
6,
2,
0,
6,
0,
"IMAGE"
],
[
7,
3,
0,
7,
0,
"IMAGE"
],
[
8,
4,
0,
8,
0,
"IMAGE"
],
[
9,
5,
0,
9,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8264462809917354,
"offset": [
-23.436623157464044,
48.06179176040323
]
}
},
"version": 0.4
}