{
  "id": "genasset-sd15-text-to-image",
  "revision": 0,
  "last_node_id": 11,
  "last_link_id": 10,
  "nodes": [
    {
      "id": 1,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -620,
        -20
      ],
      "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_reborn.safetensors"
      ]
    },
    {
      "id": 2,
      "type": "EmptyLatentImage",
      "pos": [
        -590,
        250
      ],
      "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,
        768,
        1
      ]
    },
    {
      "id": 3,
      "type": "CLIPTextEncode",
      "pos": [
        -250,
        -120
      ],
      "size": [
        425,
        180
      ],
      "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": [
        "cinematic portrait of a beautiful young woman, soft natural light, shot with a 50mm lens, shallow depth of field, realistic skin texture, expressive eyes, elegant pose, subtle smile, soft background bokeh, warm color grading, high-end fashion photography style, ultra-detailed, photorealistic, professional studio quality"
      ]
    },
    {
      "id": 4,
      "type": "CLIPTextEncode",
      "pos": [
        -250,
        100
      ],
      "size": [
        425,
        180
      ],
      "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": [
        "blurry, low quality, overexposed, distorted face, extra fingers, bad anatomy, plastic skin, unrealistic eyes, harsh shadows, oversaturated, cartoon, anime, watermark, text, logo"
      ]
    },
    {
      "id": 5,
      "type": "KSampler",
      "pos": [
        240,
        -20
      ],
      "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": [
        431234,
        "fixed",
        20,
        7,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 6,
      "type": "VAEDecode",
      "pos": [
        610,
        -20
      ],
      "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": [
        890,
        -90
      ],
      "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": "workspace_token",
          "type": "STRING",
          "widget": {
            "name": "workspace_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",
        "PASTE_WORKSPACE_TOKEN",
        "genasset-sd15-portrait-example"
      ]
    },
    {
      "id": 8,
      "type": "SaveImage",
      "pos": [
        1370,
        -20
      ],
      "size": [
        260,
        270
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 10
        },
        {
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          },
          "link": null
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "GenAsset/sdxl_rain_woman"
      ]
    },
    {
      "id": 11,
      "type": "MarkdownNote",
      "pos": [
        -620,
        420
      ],
      "size": [
        760,
        330
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "GenAsset SD1.5 text-to-image",
      "properties": {},
      "widgets_values": [
        "# GenAsset SD1.5 text-to-image example\n\nThis workflow generates a portrait with `juggernaut_reborn.safetensors`, then sends the decoded image to **Save To GenAsset**.\n\nBefore running:\n\n1. Download `juggernaut_reborn.safetensors` from https://huggingface.co/HyperX-Sentience/Juggernaut-Reborn/tree/main\n2. Put it in `ComfyUI/models/checkpoints/`.\n3. Install ComfyUI-GenAsset and restart ComfyUI.\n4. Paste your GenAsset `workspace_token` into **Save To GenAsset**.\n\nKeep the `asset_name` stable if you want clean version history."
      ],
      "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.95,
      "offset": [
        120,
        70
      ]
    },
    "workflowRendererVersion": "LG"
  },
  "version": 0.4
}
