ComfyUI - Prompt Engineering with CFG, Sampler Steps and Clip Skipping - for Stable Diffusion Users

  Рет қаралды 12,419

Pixovert

Pixovert

Күн бұрын

This video explores some little explored but extremely important ideas in working with Stable Diffusion - at the end of the lecture you will understand the relationship between CFG, Sampler steps and Clip skipping and the negative and positive implications. But take your time with this one, it goes into professional level detail on the subject.
These are core ideas in helping you to refine your prompts and understanding the methods currently used in Stable Diffusion.
The previous lectures mentioned in the video can be found in the beginner's guide to ComfyUI
Course Discounts
BEGINNER'S Stable Diffusion COMFYUI and SDXL Guide
bit.ly/GENSTART - USE CODE GENSTART
ADVANCED Stable Diffusion COMFYUI and SDXL
bit.ly/RESTAD - USE CODE RESTAD
Mastery Course for Stable Diffusion (commences with this tutorial)
cutt.ly/NwcMf3w3
This lecture also looks at how core techniques previously examined on the course can be applied holistically to improve overall workflow.
Join 🏆 this channel to get access to exclusive content and perks:
bit.ly/XOVjoin
00:00 Printing as a Metaphor for Stable Diffusion
02:50 Understanding Latent Space, Clip Networks, Diffusers and VAEs
04:55 Sampler Steps, CFG and Clip Skips
05:33 The relationship between sampler steps and the checkpoint
12:40 The relationship between CFG and the Text Prompt
18:35 The relationship between color, contrast and CFG
29:00 The CFG is broken
30:09 High steps number and the relationship with the prompt
32:56 Clip Skip and the Clip Neural Network
35:20 The CFG is completely broken
36:00 Putting this analysis of the neural networks together
39:40 Possible solutions to fix the broken CFG

Пікірлер: 25
@Pixovert
@Pixovert 10 ай бұрын
The previous lectures mentioned in the video can be found in the beginner's guide to ComfyUI Take. Your. Time. With This One, it goes into *_professional level_* detail on the subject. Course Discounts BEGINNER'S Stable Diffusion COMFYUI and SDXL Guide bit.ly/GENSTART - USE CODE GENSTART ADVANCED Stable Diffusion COMFYUI and SDXL bit.ly/RESTAD - USE CODE RESTAD
@LouisGedo
@LouisGedo 10 ай бұрын
👋
@jaredbeiswenger3766
@jaredbeiswenger3766 10 ай бұрын
Wonderful to listen to. Would love more content like this with other values that we tweak without really knowing what they do. I do a lot of this experimentation on my own, but to be able to watch a summarized version of someone else doing it while I'm working.... that let's me focus the little time I have for my hobbies.
@edenorion
@edenorion 10 ай бұрын
One of the most important explanation that I've heard. Thank you very much
@OutOfWards
@OutOfWards 5 ай бұрын
Thank you for taking the time to make these super helpful videos! You are a God send!
@Mehdi0montahw
@Mehdi0montahw 9 ай бұрын
Your way of explaining is wonderful, with details that I have not seen in any video, and the elegant sequence is beautiful, and there is no doubt that you deserve to press subscribe and like.
@SebAnt
@SebAnt 8 ай бұрын
Brilliant!!!!! ❤
@zraieee
@zraieee 10 ай бұрын
Well Done, Thanks
@artsbybrian_
@artsbybrian_ 10 ай бұрын
Great video! Mind if I ask for the workflow? Wanna test it.
@0A01amir
@0A01amir 10 ай бұрын
Thank you. Really liked efficiency nodes but it's loader (best part of it) is not using lowvram and xformers and resulting in slower generations in low end machines.
@OutOfWards
@OutOfWards 5 ай бұрын
open up the bat. Mine looks like this... .\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --lowvram pause
@0A01amir
@0A01amir 5 ай бұрын
@@OutOfWards Oh comfyui is ok but when i load efficiency node that happens but it won't anymore since i upgraded my GPU two months ago.
@lioncrud9096
@lioncrud9096 10 ай бұрын
thank you very much, do you have any resources on advance prompting, like wildcard prompts {|} etc, i'm trying to figure out if ComfyUI has a version of alternating "to" and "from" prompts like Auto1111's [man:dog:0.5].
@Pixovert
@Pixovert 10 ай бұрын
This is included on the course described above - the beginner's course. ComfyUI is different in its application of some of these methods and techniques
@97BuckeyeGuy
@97BuckeyeGuy 6 ай бұрын
@@Pixovert Great non-answer.
@97BuckeyeGuy
@97BuckeyeGuy 6 ай бұрын
@lioncrud9096 Did you ever, by chance, find some answers on this? I've been looking for a way to do this in Comfy, as well. I can't believe the developer just chooses to not support it.
@lioncrud9096
@lioncrud9096 6 ай бұрын
I did not sadly, basically my understanding is that the alternating prompt format does not work in ComfyUI. The way the prompt is processed in Comfy is different than A111 so some of the syntax don't work in both -_-@@97BuckeyeGuy
@formixcode
@formixcode 10 ай бұрын
how to use strength line wire? thx
@spiralofhope
@spiralofhope 8 ай бұрын
how do I clip skip without the efficiency loader? I like to work without custom nodes.
@lioncrud9096
@lioncrud9096 10 ай бұрын
is there a reason you didn't use the Clip output?
@mithrandir404
@mithrandir404 6 ай бұрын
From a camera perspective. Cfg is the ISO. Steps is shutter speed, and Clip skip is the Aperture
@Vestu
@Vestu 10 ай бұрын
99% of the time CFG should be 5-8
@maxpaynestory
@maxpaynestory 8 ай бұрын
"beautfil scenery nature glass bottle landscape, ROUND." Not an actual requirements of any scene. We don't need examples of random prompts generating random images. All we could find on youtube is Comfy UI generating random pictures and videos using random prompts. But infact this tech is not mature enough to be used for creating any scene. Try create a scene containing 5 teenage kids playing Call of Duty 2 on their computers, they are happy and cheering up.
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 22 МЛН
Understanding Prompting for Stable diffusion in ComfyUI
29:38
Code Crafters Corner
Рет қаралды 11 М.
ComfyUI for Everything (other than stable diffusion)
32:53
Design Input
Рет қаралды 30 М.
Stable Diffusion Prompt Guide
11:23
pixaroma
Рет қаралды 22 М.
Ultimate Guide to Seamless AI Animations (Even on Low-End PCs!)
26:38
Image stability and repeatability (ComfyUI + IPAdapter)
18:42
Latent Vision
Рет қаралды 60 М.
Prompt Engineering Tutorial - Master ChatGPT and LLM Responses
41:36
freeCodeCamp.org
Рет қаралды 1,5 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 544 М.
Хакер взломал компьютер с USB кабеля. Кевин Митник.
0:58
Последний Оплот Безопасности
Рет қаралды 2,2 МЛН
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 8 МЛН