ComfyUI Workflow

View and download your workflow JSON

{
  "id": "basic-text-to-image",
  "rev": 1,
  "nodes": {
    "1": {
      "class_type": "CheckpointLoaderSimple",
      "_meta": {
        "title": "Load Checkpoint"
      },
      "inputs": {
        "ckpt_name": "v1-5-pruned-emaonly.ckpt"
      }
    },
    "2": {
      "class_type": "CLIPTextEncode",
      "_meta": {
        "title": "CLIP Text Encode (Positive)"
      },
      "inputs": {
        "text": "beautiful landscape, mountains, lake, sunset, highly detailed, 8k",
        "clip": [
          "1",
          "1"
        ]
      }
    },
    "3": {
      "class_type": "CLIPTextEncode",
      "_meta": {
        "title": "CLIP Text Encode (Negative)"
      },
      "inputs": {
        "text": "blurry, low quality, distorted, ugly",
        "clip": [
          "1",
          "1"
        ]
      }
    },
    "4": {
      "class_type": "EmptyLatentImage",
      "_meta": {
        "title": "Empty Latent Image"
      },
      "inputs": {
        "width": 512,
        "height": 512,
        "batch_size": 1
      }
    },
    "5": {
      "class_type": "KSampler",
      "_meta": {
        "title": "KSampler"
      },
      "inputs": {
        "seed": 42,
        "steps": 20,
        "cfg": 7.0,
        "sampler_name": "euler",
        "scheduler": "normal",
        "denoise": 1.0,
        "model": [
          "1",
          "0"
        ],
        "positive": [
          "2",
          "0"
        ],
        "negative": [
          "3",
          "0"
        ],
        "latent_image": [
          "4",
          "0"
        ]
      }
    },
    "6": {
      "class_type": "VAEDecode",
      "_meta": {
        "title": "VAE Decode"
      },
      "inputs": {
        "samples": [
          "5",
          "0"
        ],
        "vae": [
          "1",
          "2"
        ]
      }
    },
    "7": {
      "class_type": "SaveImage",
      "_meta": {
        "title": "Save Image"
      },
      "inputs": {
        "filename_prefix": "ComfyUI",
        "images": [
          "6",
          "0"
        ]
      }
    }
  },
  "links": [
    [
      "1",
      "1",
      "2",
      "1"
    ],
    [
      "1",
      "1",
      "3",
      "1"
    ],
    [
      "1",
      "0",
      "5",
      "3"
    ],
    [
      "1",
      "2",
      "6",
      "1"
    ],
    [
      "2",
      "0",
      "5",
      "4"
    ],
    [
      "3",
      "0",
      "5",
      "5"
    ],
    [
      "4",
      "0",
      "5",
      "6"
    ],
    [
      "5",
      "0",
      "6",
      "0"
    ],
    [
      "6",
      "0",
      "7",
      "0"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 1,
      "offset": [
        0,
        0
      ]
    }
  },
  "version": 0.4
}