赞
踩
最近,一个全新的AI绘画工具–FLUX横空出世。
FLUX.1在文字生成、复杂指令遵循和人手生成上具备优势。以下是其生成图像示例,可以看到即使是生成大段的文字、多个人物,也没有出现字符、人手等细节上的错误。
有了SD的经验,可以对FLUX放心使用。话不多说,让我们先上手。
一、安装
先把ComfyUI升级到最新版。
尽管很多网友称16G显卡方能跑的很好,经过实测,12G显卡也能跑的起来,速度并不比SD3慢多少。
模型下载:
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、工作流
二、节点介绍
如果你安装过Kolors(可图),会发现安装完模型后,可以直接使用这个工作流。
1、模型加载器
UNET:如果显存大于等于12G,可以加载flux1-dev.sft
weight_dtype:如果显存小于48G,请启用量化,fp8_e4m3fn
2、clip模型加载
如图加载这两个模型即可
3、VAE
需要加载专用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
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
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,
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)
5、雨夜
1girl, looking at the viewer, raining, night, street, sitting,
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。