莫张周刘王 发表于 2024-10-27 04:08:51

打的来了!一个全新的AI绘画工具--FLUX横空出世!

最近,一个全新的AI绘画工具–FLUX横空出世。
FLUX.1在文字生成、复杂指令遵循和人手生成上具备优势。以下是其生成图像示例,可以看到即使是生成大段的文字、多个人物,也没有出现字符、人手等细节上的错误。
https://i-blog.csdnimg.cn/blog_migrate/3aca847f7c816ea618eadb9dc33affb9.jpeg
有了SD的经验,可以对FLUX放心使用。话不多说,让我们先上手。
一、安装
先把ComfyUI升级到最新版。
尽管许多网友称16G显卡方能跑的很好,经过实测,12G显卡也能跑的起来,速度并不比SD3慢多少。
模型下载:
https://i-blog.csdnimg.cn/direct/b60e44d926d0458b8912acf1d620320a.jpeg#pic_center
1、基础模型
完备版:flux1-dev.sft
量化版:flux1-schnell-fp8.safetensors
安装路径:ComfyUI\models\unet
(为了方便区分其他模型,如Kolors,可以在unet下面创建一个目录FLUX放入其中)
2、VAE
ae.sft
安装路径:ComfyUI\models\vae
3、CLIP
clip_l.safetensors
t5xxl_fp16.safetensors
安装路径:ComfyUI\models\clip
4、工作流
https://i-blog.csdnimg.cn/direct/3a5d913c398f40eb9a2a4e1332907275.jpeg#pic_center
https://i-blog.csdnimg.cn/blog_migrate/4b0556e7b8009541fffcf07dd6321aa2.png
二、节点先容
如果你安装过Kolors(可图),会发现安装完模型后,可以直接使用这个工作流。
1、模型加载器
https://i-blog.csdnimg.cn/blog_migrate/feaa33b0ecb69e27346e0aaa0a99c840.png
UNET:如果显存大于即是12G,可以加载flux1-dev.sft
weight_dtype:如果显存小于48G,请启用量化,fp8_e4m3fn
2、clip模型加载
https://i-blog.csdnimg.cn/blog_migrate/e1ba56ae4166958a7b09172abea7f546.png
如图加载这两个模型即可
3、VAE
https://i-blog.csdnimg.cn/blog_migrate/52134e8c4e5149c233584825dc858579.png
必要加载专用VAE,ae.sft
另,步数保举20步。
三、测试跑图
1、露肩
realistic, realism, film grain, photo by fuji-proplus-ii film, raw photo of 20 years old woman in offshoulder-top, close up portrait, deep blue sky, cloudy sky, outdoor, high key light, soft shadow, Fiery clouds
https://i-blog.csdnimg.cn/blog_migrate/e960eb3c6da5918871941be96f6b78fe.png
2、棒球帽
1girl, solo, long hair, looking at viewer, red eyes, hat, hair between eyes, closed mouth, jewelry, bare shoulders, upper body, pink hair, earrings, pink eyes, off shoulder, from side, lips, ear piercing, baseball cap, hair behind ear, black sweater, general, realistic, photorealistic
https://i-blog.csdnimg.cn/blog_migrate/325ca7ae1e3bf1e5cd5b9fa208bd28d7.png
3、长发飘飘
20 years old,8k,hd,beautiful girl,black hair,very long hair,straight hair,closed mouth,
1girl,detailed face,beautiful woman’s face,looking at viewer,perfect body,belt_collar,earrings,Hair shawl,off-shoulder_dress,
https://i-blog.csdnimg.cn/blog_migrate/112188ad0b8903ac8456b12f3d2baaa4.png
4、艺术摄影
Silhouette Art portrait, breathtaking art drawing portrait, (beautiful charming woman), slender figure, slightly posing, a tight sleek strict dress. bright red backlight illuminates elegant woman’s dark dim silhouette, (bright glowing red contour and outline), light only from behind, fully shaded dark dim body, (masterpiece), (realistic), 8k, RAW photo, very wide shot, octane render, unreal engine, volumetrics dtx, (film grain, bokeh, blurry foreground)
https://i-blog.csdnimg.cn/blog_migrate/efc7d7b79b1173e62d27c66293db5e85.png
5、雨夜
1girl, looking at the viewer, raining, night, street, sitting,
https://i-blog.csdnimg.cn/blog_migrate/6ed33d4e5f14d7fa53557c31dcfb54e0.png

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页: [1]
查看完整版本: 打的来了!一个全新的AI绘画工具--FLUX横空出世!