在这之前,SD常用的换、脸节点还不支持Flux模型,使用Flux 做虚拟模特最好的方法是炼制人脸lora,但是炼丹是个有技术门槛的活。
之前文章有提过字节跳动的 Pulid团队,率先推出了Pulid-Flux模型,但是之前只能在线上使用,不能在ComfyUI中调用。
最近,字节Pulid团队发布了新版本:PuLID-FLUX-v0.9.0 模型。这一模型为 FLUX.1提供了保持人脸迁移和风格一致性的解决方案,直白来说,可以在ComfyUI中搭建Flux Pulid 写真工作流了。
-
Github地址:https://github.com/ToTheBeginning/PuLID
-
ComfyUI-PuLID-Flux地址:https://github.com/balazik/ComfyUI-PuLID-Flux
PuLID_Flux 效果
我们先来看一下使用PuLID_Flux的换、脸效果:
左边是上传的脸部参考图,右侧是 PuLID_Flux 处理过的图片。
从效果来说,人脸的迁移效果效果还是蛮不错的,模特的面部特征是很接近了。
这就解决了之前使用Flux 出的都是网红脸的难点了。
PuLID_Flux 安装
首先,我们需要安装 ComfyUI-PuLID-Flux 插件。
插件还没被ComfyUI 管理器收录,我们需要通过 Git URL 的方式进行安装。
插件地址:https://github.com/balazik/ComfyUI-PuLID-Flux
插件安装完成后重启ComfyUI。
接下来还需要下载模型:Pulid_flux_v0.9.0.模型
-
模型放到**/ComfyUI/models/pulid/ 目录下
地址:https://huggingface.co/guozinan/PuLID/blob/main/pulid_flux_v0.9.0.safetensors?download=true
PuLID_Flux 体验
在基础的FLux 工作流上增加PulidFluxModelLoader、ApplyPulidFlux、PulidFluxInsightFaceLoader、PulidFluxEvaClipLoader 4个核心节点。
需要工作流的小伙伴可以自取:
操作方法也很简单,左上角上传模特参考图,在文本编码器中输入提示词,点击运行即可。
神箭手
Tattoos, In this high-definition photography work, a rebellious Asian girl is vividly portrayed before our eyes. The huge red rose tattoo on her chest is eye-catching and uses octane rendering technology and powerful support from UE5, Maya, Blender and other software to delicately present the subtle relationship between skin and color,The female protagonist in the picture is in her early twenties, standing on a lush grassland, suspected to be in a sports center. She has fair skin, long hair draped over her shoulders, tied into a high ponytail, and bangs lightly brushing her cheeks. She is dressed in a modern arched outfit, with a black short sleeved sports top paired with a blue receiver and a blue number "22" on the front chest, complemented by black and blue tight shorts,The girl's expression was strong and focused, with determination revealed between her eyebrows. She tightly held the composite bow with both hands, aimed at the camera, and the bowstring was tight, presenting a strong sense of movement. The smooth black design of the bow body complemented the wrist guard she wore on her left hand, highlighting the high-tech texture,In the background, blurry figures and a red track suggest that this is a track and field. Other archers and audience figures dressed in sportswear shuttle through it, adding vitality to the scene. Bright natural light illuminates the entire scene, creating a clear sky atmosphere,This image is clear and rich in details, emphasizing the focus and sporty style of the subject, perfectly integrating youth, vitality, and rebellious spirit
海边度假
The image is a high-resolution photograph featuring a young Asian woman standing outdoors on a sunny beach. She has long, straight, dark brown hair and a fair complexion. She is wearing a fitted, light grey short-sleeve top with a square neckline and a high-waisted, grey pencil skirt that accentuates her slender physique. Her outfit is stylish and modern, with a minimalist aesthetic. She is holding a small, tan leather handbag over her left shoulder, and her right hand is raised in a peace sign, adding a playful touch to her expression. The background reveals a tranquil beach scene with a clear blue sky and gentle waves lapping the shore. A tall palm tree with a smooth trunk stands to her left, and a row of white lounge chairs with cushions is positioned behind her. The beach is sandy, and a few distant figures are seen enjoying the sun and the water. The overall mood is relaxed and serene, capturing a moment of leisure and enjoyment.
骑行打卡
This is an image of a person wearing a pink and white cycling outfit, which includes a jersey, shorts, and a helmet. The person is sitting on a red bicycle, and there's a field with trees in the background. The person is wearing sunglasses and has long hair. The setting appears to be a rural or semi-rural area, given the open space and the presence of trees. The cycling outfit suggests that the person is engaged in cycling as a sport or recreational activity
国风旗袍
`a high-resolution photograph featuring a young Asian woman seated on a rustic wooden bench in an indoor setting. She has long, straight black hair cascading over her shoulders and is wearing a strapless, floor-length red satin gown with a high slit that reveals one leg. The gown is fitted, accentuating her slender physique and small breasts. She has a fair complexion and wears minimal makeup, highlighting her natural beauty. Her expression is calm and serene. The bench is made of a large, smooth piece of wood with visible natural textures, providing a rustic contrast to the modern, luxurious setting. The background features a large, ornate mural of a traditional Chinese temple with red and gold accents, adding an element of cultural significance. The woman is wearing red high-heeled shoes, matching her gown, and a delicate bracelet on her left wrist. The floor is composed of large, dark tiles, contributing to the elegant, sophisticated ambiance. The overall composition is rich in detail, blending elements of modern and traditional design.`
JK制服
This is a high-resolution photograph of an Asian woman sitting on a wooden bench against a plain white wall. She has long,straight black hair that cascades past her shoulders. Her skin tone is fair,and she has a slender build. She is wearing a short-sleeved,white dress shirt with a collar and a blue and white striped tie. The shirt is tucked into a high-waisted,pleated black skirt that falls to mid-thigh. Her makeup is subtle,with a focus on natural-looking eyes and a soft pink lipstick.,The background features several black and white sketches pinned to the wall,including a close-up of a woman's face,possibly herself,and a more abstract sketch. The sketches are done in a manga or anime style,with bold lines and expressive faces. The overall aesthetic of the image is clean and minimalist,with a focus on the subject and the simplicity of the background. The lighting is soft and even,creating a gentle,natural ambiance. The wooden bench she sits on adds a touch of warmth and natural texture to the otherwise stark,white environment.,
实测,PuLID 的换、脸效果还是很不错了。
又有一大堆小红书AI美女号要诞生了。
写在最后
FLUX相关的模型、工作流以及全套的AI绘画学习资料已经给各位小伙伴打包好了,有需要的可以扫码自取,无偿分享。
感兴趣的小伙伴,赠送全套AIGC学习资料,包含AI绘画、AI人工智能等前沿科技教程和软件工具,具体看这里。
AIGC技术的未来发展前景广阔,随着人工智能技术的不断发展,AIGC技术也将不断提高。未来,AIGC技术将在游戏和计算领域得到更广泛的应用,使游戏和计算系统具有更高效、更智能、更灵活的特性。同时,AIGC技术也将与人工智能技术紧密结合,在更多的领域得到广泛应用,对程序员来说影响至关重要。未来,AIGC技术将继续得到提高,同时也将与人工智能技术紧密结合,在更多的领域得到广泛应用。
一、AIGC所有方向的学习路线
AIGC所有方向的技术点做的整理,形成各个领域的知识点汇总,它的用处就在于,你可以按照下面的知识点去找对应的学习资源,保证自己学得较为全面。
二、AIGC必备工具
工具都帮大家整理好了,安装就可直接上手!
三、最新AIGC学习笔记
当我学到一定基础,有自己的理解能力的时候,会去阅读一些前辈整理的书籍或者手写的笔记资料,这些笔记详细记载了他们对一些技术点的理解,这些理解是比较独到,可以学到不一样的思路。
四、AIGC视频教程合集
观看全面零基础学习视频,看视频学习是最快捷也是最有效果的方式,跟着视频中老师的思路,从基础到深入,还是很容易入门的。
五、实战案例
纸上得来终觉浅,要学会跟着视频一起敲,要动手实操,才能将自己的所学运用到实际当中去,这时候可以搞点实战案例来学习。
若有侵权,请联系删除