最近,由前 Stability AI员工创立的黑森林实验室推出了开源图像生成模型Flux.1,可谓名声大噪,爆火全网。
Flux.1 是一款免费开源的模型,性能可与Midjourney V6媲美。用户可通过Comfyui调用Flux.1。本文我将详细介绍其使用流程,即使你是新手小白,只要紧跟我的步骤,相信你也能使用上这款非常强悍的文生图模型。
Flux 模型总共有3个,分别是:Flux Pro、Flux Dev、Flux Schnell,下面是其性能的对照图
- [pro] 是最顶级的模型,但是只能通过 API 调用;
- [dev] 是由[pro]提炼,开源但非商用,质量和效果与[pro]类似;
- [schnell] 是经过蒸馏的 4 步模型,速度比 [dev] 快 10 倍,Apache 2 开源许可。
目前 ComfyUI 已支持此模型,更新到最新版即可使用。
1.下载最新版 ComfyUI: 【官方下载】 ,下载后解压出来待用
2.设置中文语言:【点击下载】中文语言包,将 ZIP 包解压到 ComfyUI\custom_nodes 目录中
3.下载 Flux 模型:FLUX 模型有四个可选,FLUX.1 [dev] 、FLUX.1 [dev] fp8、FLUX.1 [schnell]、FLUX.1 [schnell] fp8;
-
-
-
① FLUX.1 [dev] :官方版本满配版,最低显存要求24G;下载地址:
【点击下载】
-
-
-
② FLUX.1 [dev] fp8:大佬优化 [dev] 后版本,建议选择此版本,最低 12G 显存可跑;
【点击下载】
-
③ FLUX.1 [schnell]:4 步蒸馏模型,大多数显卡可跑。
【点击下载】
-
-
-
④ FLUX.1 [schnell] fp8:优化 版本,适应更低的显卡配置。
-
-
- 【点击下载】
不管你下载上面的哪个模型,都存放在这个:ComfyUI/models/unet/ 目录下
4.下载 CLIP 模型:
需下载 t5xxl_fp16.safetensors 或 t5xxl_fp8_e4m3fn.safetensors (建议选择fp8 版本,如果你显存超过 32G 可选择 fp16 版本)
还有 clip_l.safetensors 到 ComfyUI/models/clip/ 目录中: 【点击前往】
5下载 VAE 模型:【点击下载】存放至 ComfyUI/models/vae/ 目录,
2、Lora 真人模型【点击下载】
3、工作流 【点击下载】
触发词:This is a high-resolution,everyday scene image with a natural style.
权重设置为0.9。
【安装使用教程 】
1.图书馆
提示词:
This is a high-resolution photograph, a fashionable beauty with clear, dewy skin and a symmetrical face stands in a tranquil library, her figure adorned in a soft, cable-knit sweater and a flowing skirt, her expression thoughtful as she peruses the shelves, her posture elegant and poised,Young Asian woman.
这是一张高分辨率的照片,一个时尚的美女站在一个安静的图书馆里,她的皮肤晶莹剔透,匀称的脸,她的身材穿着柔软的针织毛衣和飘逸的裙子,她仔细阅读书架时的表情若有感触,她的姿势优雅而镇定
2、杂志图案
提示词:
This is a high-resolution portrait of a modern style, featuring a young woman. She is wearing a tight dress printed with English and patterns, the pattern of which resembles a newspaper. Her hair is black, falling over her shoulders, and she has one hand resting on the back of her head while the other hangs naturally by her side. Her eyes are fixed on the camera, and her expression is calm. She appears to be between the ages of 20 and 30, slim in figure, with delicate features, and fair skin. Her eyes are brown, and her lips are tinted with a subtle shade of red lipstick. Her hair falls to her shoulders, with a deep brown color, styled in loose waves without bangs. The background is dark, giving a mysterious feel,Young Asian woman.
这是一幅现代风格的高分辨率肖像画,主角是一位年轻女子。她穿着一件印有英文和图案的紧身连衣裙,图案像报纸。她的头发是黑色的,披在肩上,一只手放在后脑勺上,另一只手自然地垂在身体两侧。她的眼睛盯着镜头,表情平静。她的年龄在20到30岁之间,身材苗条,五官精致,皮肤白皙。她的眼睛是棕色的,嘴唇上涂着淡淡的红色唇膏。她的头发披在肩上,呈深棕色,波浪状,没有刘海。背景是黑色的,给人一种神秘的感觉
3、咖啡馆
提示词
This is a high-resolution photograph, A radiant beauty with flawless skin and delicate features poses elegantly in a chic, urban coffee shop wearing a trendy velvet jumpsuit, her expressive blue eyes sparkling with enthusiasm as she gently sips her latte,Young Asian woman.
这是一张高分辨率的照片,一个皮肤无暇、五官精致的光彩照,穿着时髦的天鹅绒连衣裤,在一家别致的城市咖啡店里优雅地摆姿势,她富有表现力的蓝色眼睛闪烁着热情,轻轻地喝着拿铁咖啡
4、旋转木马
提示词:
This is a high-resolution photograph, A poised and sophisticated lady with alabaster skin and a well-defined face stands near a carousel in an elegant, form-fitting dress, her posture graceful and her smile captivating,Young Asian woman.
5、阳光房
提示词:
This is a clear mobile selfie photo with a daily style. A fashion-forward woman with a glowing complexion and sharp features lounges on a vintage chaise longue in a sunlit conservatory, her form draped in a luxurious silk robe, her expression one of serene contemplation,Young Asian woman.
这是一张日常风格的清晰手机自拍。在阳光明媚的暖房里,一个面色红润、五官鲜明的时尚前卫的女人坐在一张老式躺椅上,她的身体披着一件奢华的丝绸长袍,她的表情是一种安详的沉思
6、砖墙背景
提示词:
This is a high-resolution portrait, a stunning fashionista with fair skin and refined features poses against the backdrop of a rustic brick wall, her elegant posture accentuated by a chic, tailored trench coat and a soft, contented smile,Young Asian woman.
一位令人惊叹的时尚达人,有着白皙的皮肤和精致的五官,在质朴的砖墙背景下摆出姿势,她优雅的姿态被一件别致的量身定制的风衣和柔和、满足的微笑所突出
7、森林里
提示词:
This is a high-resolution photograph, A radiant model with clear, dewy skin and expressive eyes stands in a sun-dappled forest, her figure adorned in a vibrant, bohemian dress, her hand gently touching a tree as she exudes a sense of harmony with nature,Young Asian woman.
一个容光焕发的模特站在阳光斑驳的森林里,她的皮肤晶莹剔透,眼神富有表现力,她的身材装饰着充满活力的波西米亚风格的衣服,她的手轻轻地抚摸着一棵树,散发着与自然和谐相处的感觉
未经允许不得转载:91天空 科技 生活 快乐 » 本地部署 Flux.1 最强文生图大模型!Comfyui 一键安装【Lora 真人模型】轻松生成真实质感的美图!