Files
steliosot-ComfyUI-GenAsset/workflows/GenAsset-Simple-Text-To-Image-AI-Save.json

865 lines
15 KiB
JSON

{
"id": "genasset-simple-txt2img-ai-save",
"revision": 0,
"last_node_id": 10,
"last_link_id": 18,
"nodes": [
{
"id": 1,
"type": "CheckpointLoaderSimple",
"pos": [
-760,
-80
],
"size": [
315,
98
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "ckpt_name",
"type": "COMBO",
"widget": {
"name": "ckpt_name"
},
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
3,
5
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"Juggernaut_X_RunDiffusion.safetensors"
]
},
{
"id": 2,
"type": "EmptyLatentImage",
"pos": [
-760,
190
],
"size": [
315,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": null
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": null
},
{
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
},
"link": null
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 3,
"type": "CLIPTextEncode",
"pos": [
-400,
-160
],
"size": [
420,
150
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"small friendly robot holding a glowing GenAsset cube, clean studio lighting, simple background, high quality image"
]
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
-400,
40
],
"size": [
420,
140
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark, logo, blurry, noisy, deformed, bad anatomy, black image, underexposed"
]
},
{
"id": 5,
"type": "KSampler",
"pos": [
80,
-80
],
"size": [
315,
262
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 2
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
},
{
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
},
{
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
},
{
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
},
{
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"link": null
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
177894,
"fixed",
8,
5.5,
"euler",
"normal",
1
]
},
{
"id": 6,
"type": "VAEDecode",
"pos": [
455,
-70
],
"size": [
210,
46
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9,
11
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 7,
"type": "GenAssetSaveGeneration",
"pos": [
980,
-130
],
"size": [
430,
260
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 9
},
{
"name": "base_url",
"type": "STRING",
"widget": {
"name": "base_url"
},
"link": null
},
{
"name": "token",
"type": "STRING",
"widget": {
"name": "token"
},
"link": null
},
{
"name": "asset_name",
"type": "STRING",
"widget": {
"name": "asset_name"
},
"link": 12
},
{
"name": "asset_id",
"type": "STRING",
"widget": {
"name": "asset_id"
},
"link": 13
},
{
"name": "tags_csv",
"type": "STRING",
"widget": {
"name": "tags_csv"
},
"link": 14
},
{
"name": "intent",
"type": "STRING",
"widget": {
"name": "intent"
},
"link": 15
},
{
"name": "notes_md",
"type": "STRING",
"widget": {
"name": "notes_md"
},
"link": 16
},
{
"name": "version_label",
"type": "STRING",
"widget": {
"name": "version_label"
},
"link": 17
},
{
"name": "metadata_json",
"type": "STRING",
"widget": {
"name": "metadata_json"
},
"link": 18
},
{
"name": "source",
"type": "STRING",
"widget": {
"name": "source"
},
"link": null
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
10
],
"slot_index": 0
},
{
"name": "asset_id",
"type": "STRING",
"links": null,
"slot_index": 1
},
{
"name": "version_id",
"type": "STRING",
"links": null,
"slot_index": 2
},
{
"name": "status_json",
"type": "STRING",
"links": null,
"slot_index": 3
}
],
"properties": {
"Node name for S&R": "GenAssetSaveGeneration"
},
"widgets_values": [
"https://genasset.xyz",
"ComfyUI/user/genasset.json",
"GenAsset AI Filled Robot",
"",
"",
"",
"",
"",
"{}",
"comfyui"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 10,
"type": "GenAssetWorkflowAssistant",
"pos": [
720,
190
],
"size": [
390,
230
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "base_url",
"type": "STRING",
"widget": {
"name": "base_url"
},
"link": null
},
{
"name": "token",
"type": "STRING",
"widget": {
"name": "token"
},
"link": null
},
{
"name": "image",
"type": "IMAGE",
"link": 11
},
{
"name": "asset_name_hint",
"type": "STRING",
"widget": {
"name": "asset_name_hint"
},
"link": null
},
{
"name": "asset_id_hint",
"type": "STRING",
"widget": {
"name": "asset_id_hint"
},
"link": null
}
],
"outputs": [
{
"name": "asset_name",
"type": "STRING",
"links": [
12
],
"slot_index": 0
},
{
"name": "asset_id",
"type": "STRING",
"links": [
13
],
"slot_index": 1
},
{
"name": "tags_csv",
"type": "STRING",
"links": [
14
],
"slot_index": 2
},
{
"name": "intent",
"type": "STRING",
"links": [
15
],
"slot_index": 3
},
{
"name": "notes_md",
"type": "STRING",
"links": [
16
],
"slot_index": 4
},
{
"name": "version_label",
"type": "STRING",
"links": [
17
],
"slot_index": 5
},
{
"name": "metadata_json",
"type": "STRING",
"links": [
18
],
"slot_index": 6
},
{
"name": "warnings_json",
"type": "STRING",
"links": null,
"slot_index": 7
},
{
"name": "status_json",
"type": "STRING",
"links": null,
"slot_index": 8
},
{
"name": "summary",
"type": "STRING",
"links": null,
"slot_index": 9
}
],
"properties": {
"Node name for S&R": "GenAssetWorkflowAssistant"
},
"widgets_values": [
"https://genasset.xyz",
"ComfyUI/user/genasset.json",
"simple robot demo",
""
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 8,
"type": "PreviewImage",
"pos": [
1480,
-80
],
"size": [
260,
270
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 10
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 9,
"type": "MarkdownNote",
"pos": [
-760,
370
],
"size": [
760,
250
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"# Simple Text to Image + AI Fill + Save to GenAsset\n\nRun this workflow directly. The GenAsset Workflow Assistant reads the generated image and workflow context, fills clean save fields, then Save To GenAsset stores the result.\n\nIf AI suggestions are not configured on the server, GenAsset falls back to deterministic suggestions."
],
"title": "Notes",
"color": "#243",
"bgcolor": "#355"
}
],
"links": [
[
1,
1,
0,
5,
0,
"MODEL"
],
[
2,
2,
0,
5,
3,
"LATENT"
],
[
3,
1,
1,
3,
0,
"CLIP"
],
[
4,
3,
0,
5,
1,
"CONDITIONING"
],
[
5,
1,
1,
4,
0,
"CLIP"
],
[
6,
4,
0,
5,
2,
"CONDITIONING"
],
[
7,
5,
0,
6,
0,
"LATENT"
],
[
8,
1,
2,
6,
1,
"VAE"
],
[
9,
6,
0,
7,
0,
"IMAGE"
],
[
10,
7,
0,
8,
0,
"IMAGE"
],
[
11,
6,
0,
10,
2,
"IMAGE"
],
[
12,
10,
0,
7,
3,
"STRING"
],
[
13,
10,
1,
7,
4,
"STRING"
],
[
14,
10,
2,
7,
5,
"STRING"
],
[
15,
10,
3,
7,
6,
"STRING"
],
[
16,
10,
4,
7,
7,
"STRING"
],
[
17,
10,
5,
7,
8,
"STRING"
],
[
18,
10,
6,
7,
9,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9,
"offset": [
180,
100
]
},
"workflowRendererVersion": "LG"
},
"version": 0.4
}