# Building on the Basics A series of workflows to teach some of ComfyUI's basics. ## The Beginning * basic-workflow .json file Once ComfyUI is installed and running, adding workflows is as easy as dragging and dropping images or workflows created by ComfyUI into the empty area of the browser window. This basic workflow generates an image based on the positive and negative prompts. * processing starts with the "checkpoint", which is loaded by the Load Checkpoint node on the left. * Information from the chekcpoint is sent to the two clip boxes, along the node path, and along the model path. * The clip text encode node attached to the KSampler's _positive_ input in the _Positive Prompt_. * The clip text encode node attached to the KSampler's _negative_ input in the _Negative Prompt_. * The Empty Latent Image is the "starting image", is a blank bit of noise. Rather like a painter's canvas. * The _Model_ is all the raw information _Stable Diffusion_ uses through the Sampler to resolve noise into images. * I don't know what the fuck VAEs are, but they're important. * all models contain a VAE, but not all models have a good VAE. * an external VAE can be added to the workflow through a VAE laoder, see below. * The _KSampler_ node has a number of options. I won't go over all of them here, but for right now the most important are: * The _Seed_ is a number used for randomness. All things being equal, a workflow with the same seed will spit out the same image. * If the seed doesn't change and nothing else changes, ComfyUI won't even process the workflow. The result is the same as last time. If nothing else changes and the seed does, then new images will be generated. They can vary wildly from one to the next. * This makes it easy to tell if nothing has changed. * The line under the seed is how new seeds are generated. * fixed: they aren't. Seed stays the same. Useful for checking othetr parameters and generating the same basic image. * Increment/Decriment: the seed changes by +/- 1. * Random: Holdy Changing Numbers, Batman! * values are changed by clicking the arrows to scroll through the options or clicking directly on a value to see a list. ## Adding a Vae Loader * workflow + vae.json file adding new nodes is done three ways * noodle dragging * left click and drag from a node's output dot. A noodle appears. * Drag the noodle to a nice spot and let go. * A slection box with nodes of the same type will appear. * Double Click * Double Left Click on an empty spot and a list will appear. * scroll through the list or start typing to filter it. * select the desired node * Right Click Menu * right click on an empty place on the canvas * a context menu appears * left click on add node for the nodes submenu * Left click on the submenu for the node desired for a list of nodes or more menus For a VAE Loader * Right click. Add node → loaders → Load VAE * double left click, type VAEL and select it * a noodle can be pulled from the _VAE Decode_ node's input and dropped to show a Vae Loader in the menu, but that'll be messy. Let's save messy workflows for crazy vixens like comfy and mike. ## Adding a Lora ## HiRez Fixing ## Expanding on Fixing ## Upscaling * images ## resources Model * https://civitai.com/models/4384/dreamshaper Lora * https://civitai.com/models/8858/maplestory2game-chibi-style-hn * https://civitai.com/models/21670/astrobabes * https://civitai.com/models/25803/battle-angels Embeds * EasyNegative https://civitai.com/models/7808/easynegative * bad-hands-5 https://huggingface.co/yesyeahvh/bad-hands-5/tree/main Custom Nodes * [WAS Suite](https://github.com/WASasquatch/was-node-suite-comfyui)