<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Flux on 🌲Treetopia🌲</title>
    <link>https://tree2601.github.io/en/tags/flux/</link>
    <description>Recent content in Flux on 🌲Treetopia🌲</description>
    <generator>Hugo -- 0.154.2</generator>
    <language>en</language>
    <lastBuildDate>Wed, 14 Jan 2026 11:11:51 +0800</lastBuildDate>
    <atom:link href="https://tree2601.github.io/en/tags/flux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ComfyUI Guide</title>
      <link>https://tree2601.github.io/en/posts/2026/comfyui/</link>
      <pubDate>Wed, 14 Jan 2026 11:11:51 +0800</pubDate>
      <guid>https://tree2601.github.io/en/posts/2026/comfyui/</guid>
      <description>&lt;h3 id=&#34;content&#34;&gt;Content&lt;/h3&gt;
&lt;p&gt;This guide details the deployment of ComfyUI on Ubuntu 22.04, including the manual installation of ComfyUI Manager for extended functionalities (custom nodes) and the manual installation of custom nodes, specifically tailored for &lt;strong&gt;users within China&amp;rsquo;s network environment&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Official Documentation: &lt;a href=&#34;https://docs.comfy.org/zh-CN/installation/manual_install&#34;&gt;ComfyUI&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;installation&#34;&gt;Installation&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;First, ensure you have a &lt;a href=&#34;https://tree2601.github.io/en/posts/2026/conda/&#34;&gt;conda&lt;/a&gt; environment on your server and create a new one.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-Plain&#34; data-lang=&#34;Plain&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;# Clone the ComfyUI git repository
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git clone https://github.com/Comfy-Org/ComfyUI.git
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;# Navigate to the ComfyUI directory, activate the conda environment, and install dependencies
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cd ComfyUI
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;conda activate comfyui_env
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pip install -r requirements.txt
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;# Start ComfyUI, specifying the port number and GPU device
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;python main.py --listen --port 10020 --cuda-device 0
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;install-comfyui-manager&#34;&gt;Install ComfyUI Manager&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;```Plain
# Change to the custom_nodes subdirectory
cd custom_nodes

# If your network environment has no restrictions
git clone https://github.com/ltdrdata/ComfyUI-Manager.git

# If your network environment has restrictions, manually download the [repository](https://github.com/Comfy-Org/ComfyUI-Manager),
# unzip it, rename the folder to ComfyUI-Manager, and place it in custom_nodes.
# Then, restart ComfyUI.
python main.py --listen --port 10020 --cuda-device 0
```
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;install-any-plugins&#34;&gt;Install Any Plugins&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;i.  If the ComfyUI Manager GUI can download nodes:

ii.  If the ComfyUI Manager GUI consistently fails to download nodes:

```Plain
# Clone the corresponding git repository, rename it, and place it in custom_nodes.
git clone https://github.com/some/custom/nodes.git

# Navigate into the node&#39;s directory and install its dependencies.
pip install -r requirements.txt

# Restart ComfyUI.

# Some commonly used custom nodes:
# --Control Net: https://github.com/Fannovel16/comfyui_controlnet_aux
# --ComfyUI-Impact-Pack: https://github.com/ltdrdata/ComfyUI-Impact-Pack
# --rgthree-comfy: https://github.com/rgthree/rgthree-comfy


```
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;quick-start&#34;&gt;Quick Start&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;The most widely used text-to-image model is Flux. Setting up a workflow using it is an excellent starting point.&lt;/li&gt;
&lt;li&gt;Images generated by ComfyUI contain workflow information, which can be directly dragged into the GUI to re-create the workflow.&lt;/li&gt;
&lt;li&gt;Example 1: Flux + Lora + ControlNet Workflow
&lt;img alt=&#34;workflow-1&#34; loading=&#34;lazy&#34; src=&#34;https://tree2601.github.io/images/comfyui/workflow-1.png&#34;&gt;&lt;/li&gt;
&lt;li&gt;Example 2: MimicMotion Action Simulation Workflow
&lt;img alt=&#34;workflow-2&#34; loading=&#34;lazy&#34; src=&#34;https://tree2601.github.io/images/comfyui/workflow-2.png&#34;&gt;&lt;/li&gt;
&lt;/ol&gt;</description>
    </item>
  </channel>
</rss>
