Flux模型安装和工作流分享,附:大量美女提示词

图片

AI绘画转入Flux时代,最近使用Flux效果非常好,因此做了一系列的Flux模型推荐。

图片

一、ComfyUI的安装和使用

如果你是新手,从没有AI绘画过,那么ComfyUI是一款非常好的入门工具。

第一步,把秋叶一键包里的A启动器文件拷贝到一个空白目录(可以从现有的WebUI目录里拷出来),比如起名叫ComfyUI。

在这里插入图片描述

图片

双击后会自动安装依赖文件,然后再次启动,选择分支。分支选择ComfyUI。

不难发现,秋叶一键包还支持fooocus,这个工具又双叒叕升级了,我们后面再次介绍。

图片

选择分之后,点击安装。

图片

安装完毕后再次启动,进入熟悉的启动界面。

图片

不过不要急,点击高级选项,在安装环境里进行配置,选择适合本机的版本。

图片

然后点击一键启动。

图片

需要注意的是,在安装过程中如果出现报错,需要全部删除从头再来,否则可能无法继续进行。第一次完整安装差不多接近10G的文件(不包括模型),尽量在网络稳定的环境进行操作。

图片

为了节约空间,我们可以让ComfyUI和WebUI共用模型。

图片

找到extra_model_paths.yaml.example 这个文件,将.example去掉,然后用记事本打开。

图片

把base_path改为你的WebUI所在的目录。我的是e:\sd-webui

图片

然后重启启动器。

重启后可以在启动栏看到路径已经修改。

图片

刷新ComfyUI的网页查看页面,WebUI下的所有模型都出现了。

图片

ComfyUI现在已经是最流行的AI绘画工具。

图片

二、Flux模型的安装

Flux量化模型一共两个版本,一个是16xFP8,12G显存可用,一个是量化后的8xFP8,6G显存可用。

本文推荐第一个,

模型网盘下载(模型拷贝至comfyui\models\unet\flux):

工作流网盘下载(将该png图片加载至ComfyUI工作流即可):

图片

注意节点选择,本文提供的模型是16xFP8,Clip的第一个节点需要选择t5xxl_fp16。

图片

二、LoRa

加载LoRA,LoRA安装在models\lora 目录下即可,和SDXL的LoRA放在一起。

然后在LoRA加载器选择本文演示的LoRA:Aesthetic10k.safetensors

图片

与其他模型的比较:

创建一个详细的比较表:

特性Flux1-HybridDevSchnell
提示遵循性优秀非常好
真实感非常高中等
多功能性
效率高(4步)中等
光照质量非常好优秀
细节非常高中等
艺术风格多样真实感艺术感

分析:

我们的混合图像生成模型在以下方面展现了卓越的性能:

\1. 高度一致性:我们的模型能够精确地根据提供的提示生成图像,确保输出与用户期望高度一致。

\2. 真实与艺术的融合:相较于Dev模型在照片级真实感上的专长,我们的模型采取了一种更为均衡的策略,巧妙地融合了现实元素与艺术风格。

\3. 高效性能:通过简化的4步生成流程,我们的模型在保持图像质量的同时,显著提高了生成速度,远超过Dev模型。

\4. 风格多样性:我们的模型能够灵活生成从逼真肖像到抽象艺术等多种风格的作品。

\5. 快速推理:在配备Intel i5处理器、32GB内存和Nvidia 3060 12GB显卡的系统上,我们的模型仅需45秒即可完成图像生成,而相同配置下的Dev模型则需要2分42秒。

\6. 使用指南
- 推荐设置:随机种子,CFG值在0.8至1.2之间,使用欧拉采样器和正常/简单调度器,分辨率推荐为5:8(768x1216)。
- 技术集成:模型结合了Clip、T5编码器和vae技术,并与Kijai Flux1-FP8协同工作。建议使用–lowvram界面标志,将编码器任务分配给CPU以优化资源使用。

\7. 注意事项
- 图像生成时间是在模型预加载后测量的,从点击生成按钮到图像完成。
- 模型首先创建一个初始图像,然后通过4步细化,每步的时间都远少于初始图像的生成时间。

\8. 风格调整:为适应不同审美,我们特别推荐使用墨幽的Lora模型,权重设置为0.85,以满足中国用户的审美需求。在Nvidia 3060 12GB显卡上,6步生成流程可以在几十秒内完成,展现了极高的效率。

\9. 技术限制
- 对于非扭曲图像,CFG值的适用范围较窄。
- 真实图像的生成受CFG值影响较大,而抽象和风景图像则不敏感。在没有人物的图像生成中,可以根据图像的明暗程度适当调整CFG值(0.6至1.4)。
- 目前模型不支持Dev模型中的FluxGuidance功能,且文本处理仍需进一步优化。

通过这些优化和调整,我们的模型在图像生成的各个方面都表现出色,为用户提供了高效、多样化的图像创作体验。

1、黑夜给了我黑色的眼睛

提示词:

WALLPER,a medium-angle shot of an Asian woman with long black hair stands in front of a dark backdrop. She is dressed in a black strapless dress,adorned with a ruffled neckline. Her left arm is raised above her head,adding a touch of balance to the scene. The woman’s face is angled towards the right,her lips are slightly parted,as if she’s lips are pursed. Her eyes are closed,and her hair is cascading over her shoulders. The backdrop is a stark black,creating a stark contrast to the woman’s outfit.,

图片

2、你的眼眸,深邃的像银河

提示词:

WALLPERa close-up shot of a young Asian woman with longwavy black hair is adorned with gold hoop earrings. She is dressed in a white dress adorned with a floral pattern. The backdrop is blurredcreating a stark contrast to the woman’s white dress. The sun is shining on the right side of the imageadding a touch of warmth to the scene.

图片

3、闺房

提示词:

XS,masterpiece:1.2),best quality,high resolution,unity 8k wallpaper,(illustration:1),perfect lighting,extremely detailed CG,finely detail,extremely detailed,soft lighting and shadow,soft yet striking lighting,film grain:1.2,(skin pores:1.2),(detailed skin texture:1),((solo:1.5)),Detailed face,(see-through:1.1),misty,Low Key:1.1,depth of field,A young woman with dark hair and a floral top,sitting on what appears to be an armchair or sofa in her home.,

图片

4、傍晚的街头

提示词:

GFSM,XS,masterpiece:1.2),best quality,high resolution,unity 8k wallpaper,(illustration:1),perfect lighting,extremely detailed CG,finely detail,extremely detailed,soft lighting and shadow,soft yet striking lighting,film grain:1.2,(skin pores:1.2),(detailed skin texture:1),((solo:1.5)),Detailed face,(see-through:1.1),misty,Low Key:1.1,depth of field,A woman in a black coat stands confidently amidst an urban backdrop,her gaze directed off to one side.,

图片

5、浴缸

提示词:

XS,masterpiece:1.2),best quality,high resolution,unity 8k wallpaper,(illustration:1),perfect lighting,extremely detailed CG,finely detail,extremely detailed,soft lighting and shadow,soft yet striking lighting,film grain:1.2,(skin pores:1.2),(detailed skin texture:1),((solo:1.5)),Detailed face,(see-through:1.1),misty,Low Key:1.1,depth of field,A woman in a white dress lounging with her head on one hand and legs crossed,surrounded by rose petals inside an empty bathtub.,

图片

6、仙气

提示词:

XSmasterpiece:1.2),best quality,high resolution,unity 8k wallpaper,(illustration:1),perfect lighting,extremely detailed CG,finely detail,extremely detailed,soft lighting and shadow,soft yet striking lighting,film grain:1.2,(skin pores:1.2),(detailed skin texture:1),((solo:1.5)),Detailed face,(see-through:1.1),misty,Low Key:1.1,depth of field,Elegance and Mystique: A Smoke Ring Emanates from a Woman’s Mouth in an Artistic Portrait.

图片

7、牛仔短裤

提示词:

XS,masterpiece:1.2),best quality,high resolution,unity 8k wallpaper,(illustration:1),perfect lighting,extremely detailed CG,finely detail,extremely detailed,soft lighting and shadow,soft yet striking lighting,film grain:1.2,(skin pores:1.2),(detailed skin texture:1),((solo:1.5)),Detailed face,(see-through:1.1),misty,Low Key:1.1,depth of field,A woman posing on a bed with her back to us,showcasing an off-the shoulder top and denim shorts.,

图片

8、你蒙住了我的眼睛,说要给我幸福

提示词:

WALLPER,a medium-angle view of a woman’s face,adorned with a white mask. The woman’s head is encased in a veil,her hair cascades over her shoulders,adding a touch of beauty to the scene. Her eyes are closed,and her lips are painted a pinkish-pink shade. She is wearing a pair of gold earrings,and a black dress with a floral pattern on it. The backdrop is a soft,light blue,creating a stark contrast to the woman’s white dress.,

图片

9、你坐在月亮上,唱一首曾经的歌

提示词:

WALLPER,((best quality)), ((masterpiece)),A girl in Hanfu sitting on a crescent moon, wearing silk stockings and barefoot, surrounded by dreamy planets, viewed from the feet upwards, creating a mysterious and romantic atmosphere, high-quality image, high-resolution picture.

图片

10、紫色长发

提示词:

WALLPER,a medium-angle shot of a young Asian girl with long vibrant purple hair stands in front of a light blue backdrop. Her eyes are a deep blue and her lips are a vibrant pink. Her hair is cascading down her right shoulder framing her face. She is wearing a light pink hoodie adorned with a silver chain around her neck adding a pop of color to her outfit. The backdrop is a stark light blue creating a stark contrast to the girl’s purple hair.,

图片

关于AI绘画技术储备

学好 AI绘画 不论是就业还是做副业赚钱都不错,但要学会 AI绘画 还是要有一个学习规划。最后大家分享一份全套的 AI绘画 学习资料,给那些想学习 AI绘画 的小伙伴们一点帮助!

对于0基础小白入门:

如果你是零基础小白,想快速入门AI绘画是可以考虑的。

一方面是学习时间相对较短,学习内容更全面更集中。
二方面是可以找到适合自己的学习方案

包括:stable diffusion安装包、stable diffusion0基础入门全套PDF,视频学习教程。带你从零基础系统性的学好AI绘画!

零基础AI绘画学习资源介绍

👉stable diffusion新手0基础入门PDF👈

(全套教程文末领取哈)
在这里插入图片描述

👉AI绘画必备工具👈

在这里插入图片描述

温馨提示:篇幅有限,已打包文件夹,获取方式在:文末

👉AI绘画基础+速成+进阶使用教程👈

观看零基础学习视频,看视频学习是最快捷也是最有效果的方式,跟着视频中老师的思路,从基础到深入,还是很容易入门的。

在这里插入图片描述

温馨提示:篇幅有限,已打包文件夹,获取方式在:文末

👉12000+AI关键词大合集👈

在这里插入图片描述

这份完整版的AI绘画全套学习资料已经上传CSDN,朋友们如果需要可以微信扫描下方CSDN官方认证二维码免费领取【保证100%免费

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值