################ About SD-ComfyUI ################ ******** Foreword ******** .. image:: http://www.tightbytes.com/art/images/Cui/23/LesAmies08a.png :width: 600px These pages are all about sharing what I've sort-of picked up using ComfyUI and Stable Diffusion. I have rather gravitated towards ComfyUI as my Stable Diffusion interface because of its flexibility through the use of nodes. These pages reflect my current uderstanding and use of this interface. I still have much to learn and explore in this rapidly expanding world of AI-based graphics. Hope my meanderings prove useful to someone. I've moved all notes on how things are progressing in ComfyUI to its own page. .. raw:: html
******************** ComfyUI Install-2024 ******************** ========= From BASH ========= .. code-block:: bash cd ./ComfyUI python3 -m venv venv source venv/bin/activate pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121 pip install -r requirements.txt git clone https://github.com/comfyanonymous/ComfyUI.git pip install -r requirements.txt deactivate cd .. cd /home/robyn/ComfyUI/ && source venv/bin/activate && python3.10 main.py deactivate && cd .. cd ./ComfyUI/custom_nodes git clone https://github.com/ltdrdata/ComfyUI-Manager.git cd .. cd /home/robyn/ComfyUI/ && source venv/bin/activate && python3.10 main.py deactivate && cd .. cd /home/robyn/ComfyUI/ && source venv/bin/activate && python3.10 main.py deactivate && cd .. git clone https://github.com/comfyanonymous/ComfyUI.git cd ./ComfyUI python3 -m venv venv source venv/bin/activate pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121 pip install -r requirements.txt cd ./custom_nodes git clone https://github.com/ltdrdata/ComfyUI-Manager.git cd .. deactivate && cd .. cd /home/robyn/ComfyUI/ && source venv/bin/activate && python3.10 main.py ========================== Current--Aug2024--Approach ========================== A) Install ComfyUI from git, then cd into it:: git clone https://github.com/comfyanonymous/ComfyUI.git cd ./ComfyUI B) Create a virtual Python environment for your install and activate it:: python3 -m venv venv source venv/bin/activate E) Run this:: pip install -r requirements.txt C) Do torch stuff:: pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121 Note: *this will take a while.* E) Check that this works:: cd /home/robyn/ComfyUI/ && source venv/bin/activate && python3.10 main.py F) Install Manager:: cd ./custom_nodes git clone https://github.com/ltdrdata/ComfyUI-Manager.git cd ./ComfyUI-Manager pip install -r requirements.txt . . .. raw:: html
********************** Stable Diffusion Links ********************** `For Tavern `_ `Civit-AI `_ `OpenPose `_ `GPT4All `_ `SD Tute `_ `SD Guide `_ `SD 1.5 Download - needs 16gig card `_ `SD 1.5 Download-HuggingFace `_ `SD 1.5 Hardware `_ `NSFW Gen `_ `Downloading from HuggingFace `_ `More on downloading `_ `HuggingFace Hub `_ `PlanetSuzy SD Guide `_ .. raw:: html
************************************* Reminders [to Myself] of Sphinx Stuff ************************************* ============= Inline images ============= For externally-stored images (most will be stored on Tightbytes, for my pages):: * .. image:: http://www.tightbytes.com/Music/CReinecke/CReinecke1890.jpg and for those stored with the data files:: * .. image:: ../images/blAltRtClick01.png ====================== Embedded YouTube Video ====================== This code:: .. raw:: html
Should have 11 characters:: 3LbsmS5TJXA 123xxxXXXyZ Key to note is the difference in the link in the raw html syntax vs the actual youtube link:: https://www.youtube.com/embed/123xxxXXXyZ https://www.youtube.com/watch?v=9USTddwNoXU Basically, "embed/" instead of "watch?v=". ============== Embedded Audio ============== This code:: .. raw:: html ...produces: .. raw:: html .. raw:: html
========================== Embedded Non-youtube Video ========================== This code:: .. raw:: html | ...produces: .. raw:: html | (Note to self: took out [ autoplay; ] ) .. raw:: html
================== Creating Dotpoints ================== Once you've decided: * Select A. * Select B. * To identify C. * Finally, click on D. Note: *setting things to italics like this makes more impact - these have yielded reasonable results. You will almost certainly find better settings, which is the whole point of sharing this*. ================ Links Management ================ Here's a typical example of embedding a link: Blender-for-Mac users, please refer to the `Mac user help `_ page. ========================== Horizontal Separator Lines ========================== The code is this (minus the '*'):: * .. raw:: html
...which produces the following grey horizonal bar to help separate sctions (like the one below). .. raw:: html
============ Sphinx Links ============ `Sphinx `_ `Help Images `_ `Directives `_ `Basic RST stuff `_ `Classes `_ ************ HTML and CSS ************ Grid for two simple layouts: .. raw:: html Slide Show: .. raw:: html `A CSS ideas Plan `_ `AstroDocs `_