{ "id": "genasset-simple-txt2img-save", "revision": 0, "last_node_id": 9, "last_link_id": 10, "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 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 7, "type": "GenAssetSaveGeneration", "pos": [ 740, -130 ], "size": [ 430, 260 ], "flags": {}, "order": 6, "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": 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 Simple Robot" ], "color": "#223", "bgcolor": "#335" }, { "id": 8, "type": "PreviewImage", "pos": [ 1220, -80 ], "size": [ 260, 270 ], "flags": {}, "order": 7, "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": 8, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "# Simple Text to Image + Save to GenAsset\n\nRun this workflow directly. It generates a small 512x512 image, saves it to GenAsset using `ComfyUI/user/genasset.json`, and previews the result.\n\nKeep `base_url` and `token` as-is when your ComfyUI token file is configured." ], "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" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.9, "offset": [ 180, 100 ] }, "workflowRendererVersion": "LG" }, "version": 0.4 }