Home Creators Posts Import Register Favorites Logout

Content

这是一篇以Flux风格创作为目标的 AIGC 入门教程,第一步我们从 ComfyUI 开始讲起。

This is an AIGC introductory tutorial aimed at Flux style creation. The first step is to start with ComfyUI.

ComfyUI 是一个图形化流程编排界面,为基于 Stable Diffusion 的图像生成提供高度自由的可视化控制。ComfyUI是免费的工具,任何人都可以使用。推荐设备配置:16GB 内存、VRAM 8GB+(如 4060/3080 以上), 想要较好的体验,推荐设备显存在16GB+,内存32GB+。

ComfyUI is a graphical process orchestration interface that provides highly free visual control for image generation based on Stable Diffusion. ComfyUI is a free tool that anyone can use. Recommended device configuration: 16GB memory, VRAM 8GB+ (such as 4060/3080 or above), for a better experience, it is recommended that the device has a video memory of 16GB+ and a memory of 32GB+.

ComfyUI安装过程可参考 https://github.com/comfyanonymous/ComfyUI

The ComfyUI installation process can be found at https://github.com/comfyanonymous/ComfyUI

您也可以通过询问Chatgpt如何安装ComfyUI,根据指引完成下载安装即可。

You can also ask Chatgpt how to install ComfyUI and follow the instructions to complete the download and installation.

第二步则是使用大模型、文本编码器、VAE。这些均是免费下载并使用的。

The second step is to use a large model, text encoder, VAE. These are free to download and use.

大模型我使用的是:https://civitai.com/models/1248229/fitfux-hot-gay-sex

The big model I used is: https://civitai.com/models/1248229/fitfux-hot-gay-sex

根据你的机器配置选择适合你的版本即可。

Choose the version that suits you according to your machine configuration.

注意,大模型分SafeTensor和GGUF两种,任选一种即可,如果您的电脑配置较高,推荐选择SafeTensor. 区别在于GGUF是压缩后的。

Note that large models are divided into SafeTensor and GGUF. You can choose either one. If your computer configuration is high, it is recommended to choose SafeTensor. The difference is that GGUF is compressed.

下载后的大模型放入到ComfyUI的下列目录中:D:\ComfyUI\models\unet

Put the downloaded large model into the following directory of ComfyUI: D:\ComfyUI\models\unet

文本编码器下载地址:https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main

Text encoder download address: https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main

下载t5xxl_fp8_e4m3fn.safetensors 和 clip_l.safetensors 两个文件,并放入到ComfyUI的下列目录中:D:\ComfyUI\models\clip

Download the two files t5xxl_fp8_e4m3fn.safetensors and clip_l.safetensors and put them into the following directory of ComfyUI: D:\ComfyUI\models\clip

VAE下载地址:ae.safetensors

VAE download address: ae.safetensors

VAE存放到ComfyUI的下列目录中:D:\ComfyUI\models\vae

VAE is stored in the following directory of ComfyUI: D:\ComfyUI\models\vae

第三步,使用小模型增强Flux绘图能力。小模型包含人物脸型Lora,R18 Lora,服饰Lora等等。小模型存放位置:D:\ComfyUI\models\loras

The third step is to use small models to enhance Flux's drawing capabilities. Small models include character face Lora, R18 Lora, clothing Lora, etc. Small model storage location: D:\ComfyUI\models\loras

您可以在https://civitai.com 上获取,当然绝大部分的小模型实际使用体验是较差的,包括但不限于与大模型的兼容性,男性小模型占比低,小模型大部分以欧美人为主等。为此,我将在后期逐步放出我自己训练的小模型,包含人脸模型,R18模型,服装类模型等,如果您对AIGC感兴趣,想进行尝试,欢迎您的加入。我会在上传我的小模型时,附带相应的图片生成配置,您只需将ComfyUI的环境安装好,将各个模型位置放置正确。然后拖拽我提供的示例图片到ComfyUI界面,仅需在ComfyUI修正下您的模型位置,无需任何其他操作,即可点击运行。

You can get it at https://civitai.com. Of course, the actual use experience of most small models is poor, including but not limited to compatibility with large models, low proportion of male small models, and most of the small models are mainly European and American. For this reason, I will gradually release my own trained small models in the later stage, including face models, R18 models, clothing models, etc. If you are interested in AIGC and want to try it, you are welcome to join. When I upload my small model, I will attach the corresponding image generation configuration. You only need to install the ComfyUI environment and place each model in the correct position. Then drag the sample picture I provided to the ComfyUI interface. You only need to correct your model position in ComfyUI. Without any other operation, you can click to run.

Files

Comments

No comments found for this post.