高清放大后的图片,清晰度和还原度都是很不错的。也算是补全了Flux 生图的一个短板。
Flux的开源社区最近又有新动作,jasperai在Hugging Face上发布的三款ContrlNet模型,包括高清放大模型、深度图模型和法线图模型。
这使得Flux的生态系统更加丰富和强大!
今天,我们来介绍Flux专属高清放大ControlNet模型:Flux.1-dev-Controlnet-Upscaler。
左边是原图,右边是放大的图片,清晰度还是很不错的。
官方演示
Flux Upscaler 模型下载
Flux Upscaler模型可在ComfyUI的原生ControlNet节点中使用,首先将ComfyUI更新到最新版本。
然后下载Flux.1-dev-Controlnet-Upscaler模型并放到 /ComfyUI/models/controlnet 目录下
模型下载地址:
Flux.1-dev-Controlnet-Upscaler:https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Upscaler
Flux.1-dev-Controlnet-Surface-Normals:https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Surface-Normals
Flux.1-dev-Controlnet-Depth:https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Depth
无法下载的小伙伴可以自取:
Flux Upscaler 工作流
工作流原理:Flux基础工作流上增加ControlNet模型加载和ControlNet应用节点即可。
操作说明:
放大倍数:放大几倍填多少,图示是1.5倍
ContrplNet:加载放大模型
强度:默认0.6,可以调高测试,在0.6-1之间
工作流:
提示词:
In this high-definition photography work, a Asian girl is vividly portrayed before our eyes. 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 red number “AGI” 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
左边是原图,右边是放大1.5倍的图片,清晰度还是很不错的。
注意:在使用ControlNet模型时,需要对模型的权重参数进行细致调节,以获得最佳效果。
较高的ControlNet权重能够让生成的图像更加贴近原始图像,但同时也有可能增加噪点。
相反,较低的权重则可能导致生成的图像与原图有较大差异。
因此,在使用时需要根据具体的应用场景来调整ControlNet的权重,以达到最佳的平衡点。
将权重设置成1,看下效果,放大的时候会发现图上有一些噪点。
根据经验,可以尝试将ControlNet权重设置在0.5到0.7的范围内。
再进行另外一组对比:
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.,
总体来说,高清放大后的图片,清晰度和还原度都是很不错的。也算是补全了Flux 生图的一个短板。
当然,使用这个模型也是需要占显存的, 低显存(12G)的就使用云端玩耍吧。
写在最后
FLUX相关的模型、工作流以及全套的AI绘画学习资料已经给各位小伙伴打包好了,有需要的可以扫码自取,无偿分享。
感兴趣的小伙伴,赠送全套AIGC学习资料,包含AI绘画、AI人工智能等前沿科技教程和软件工具,具体看这里。
AIGC技术的未来发展前景广阔,随着人工智能技术的不断发展,AIGC技术也将不断提高。未来,AIGC技术将在游戏和计算领域得到更广泛的应用,使游戏和计算系统具有更高效、更智能、更灵活的特性。同时,AIGC技术也将与人工智能技术紧密结合,在更多的领域得到广泛应用,对程序员来说影响至关重要。未来,AIGC技术将继续得到提高,同时也将与人工智能技术紧密结合,在更多的领域得到广泛应用。
一、AIGC所有方向的学习路线
AIGC所有方向的技术点做的整理,形成各个领域的知识点汇总,它的用处就在于,你可以按照下面的知识点去找对应的学习资源,保证自己学得较为全面。
二、AIGC必备工具
工具都帮大家整理好了,安装就可直接上手!
三、最新AIGC学习笔记
当我学到一定基础,有自己的理解能力的时候,会去阅读一些前辈整理的书籍或者手写的笔记资料,这些笔记详细记载了他们对一些技术点的理解,这些理解是比较独到,可以学到不一样的思路。
四、AIGC视频教程合集
观看全面零基础学习视频,看视频学习是最快捷也是最有效果的方式,跟着视频中老师的思路,从基础到深入,还是很容易入门的。
五、实战案例
纸上得来终觉浅,要学会跟着视频一起敲,要动手实操,才能将自己的所学运用到实际当中去,这时候可以搞点实战案例来学习。
若有侵权,请联系删除