一 模型
1.下载开源的 Stable-Diffusion 3 大模型:【点击前往】
最好时显卡6G,内存16G以上,才适合部署;
Stable Diffusion 3支持不同的模型规模,以适应各种硬件能力。具体来说:
Stable-Diffusion 3亮点
1. 多模态扩散变换器 (MMDiT)
Stable Diffusion 3引入了多模态扩散变换器 (MMDiT),这是一种增强文本和图像表示的新方法。MMDiT使用独立的权重集来处理文本和图像数据,从而改善了文本理解和视觉输出。
2. 性能提升
Stable Diffusion 3在字体和提示依从性方面表现优于当前最先进的系统,例如DALL·E 3。这意味着它能够更准确地生成符合用户需求的图像。
3. 修正流 (Rectified Flows)
该模型采用修正流(Rectified Flows)技术,实现了更高效的采样过程。这种技术可以在保证生成质量的前提下,加快生成速度。
二 部署篇
windows部署
请求架构:
模型——ComfyUI——用户
具体部署
下载 ComfyUI 控制面板:【点击下载】,下面的就是绿色版本,基本的python、git还需需要安装的。
clip的模型放置到Comfyui安装目录的models\clip里面
SD3模型放置到Comfyui安装目录的models\checkpoints里面
图片放大模型放置到Comfyui安装目录的models\upscale_models里面
mac版本部署
按Shift + Cmd + U 进入实用工具目录,启动“终端”
然后我们运行这个脚本进行安装:
bash cfinstall.sh
懒人启动命令如下 (已整合进入环境、进入目录及启动):
cd ~
source cf/bin/activate && cd ComfyUI && python main.py
mac版本默认是英文,汉化包放于ComfyUI/custom_nodes目录,直接点击右上角的settings,选择语言为中文即可
汉化 ComfyUI 中文语言设置:【语言包下载】
colab部署
https://colab.research.google.com/drive/17CL4660FxL3qzpOTdTAVyrGHPs_jn7OK
三 使用篇
要想用出逼格,就需要深入理解comfyUI的逻辑
a female character with long, flowing hair that appears to be made of ethereal, swirling patterns resembling the Northern Lights or Aurora Borealis. The background is dominated by deep blues and purples, creating a mysterious and dramatic atmosphere. The character’s face is serene, with pale skin and striking features. She wears a dark-colored outfit with subtle patterns. The overall style of the artwork is reminiscent of fantasy or supernatural genres
Digital art, portrait of an anthropomorphic roaring Tiger warrior with full armor, close up in the middle of a battle, behind him there is a banner with the text “Open Source”.
photo of a dog and a cat both standing on a red box, with a blue ball in the middle with a parrot standing on top of the ball. The box has the text “SD3”
selfie photo of a wizard with long beard and purple robes, he is apparently in the middle of Tokyo. Probably taken from a phone.
A vibrant street wall covered in colorful graffiti, the centerpiece spells “SD3 MEDIUM”, in a storm of colors
photo of a young woman with long, wavy brown hair tied in a bun and glasses. She has a fair complexion and is wearing subtle makeup, emphasizing her eyes and lips. She is dressed in a black top. The background appears to be an urban setting with a building facade, and the sunlight casts a warm glow on her face.
anime art of a steampunk inventor in their workshop, surrounded by gears, gadgets, and steam. He is holding a blue potion and a red potion, one in each hand
photo of picturesque scene of a road surrounded by lush green trees and shrubs. The road is wide and smooth, leading into the distance. On the right side of the road, there’s a blue sports car parked with the license plate spelling “SD32B”. The sky above is partly cloudy, suggesting a pleasant day. The trees have a mix of green and brown foliage. There are no people visible in the image. The overall composition is balanced, with the car serving as a focal point.
photo of young man in a black suit, white shirt, and black tie. He has a neatly styled haircut and is looking directly at the camera with a neutral expression. The background consists of a textured wall with horizontal lines. The photograph is in black and white, emphasizing contrasts and shadows. The man appears to be in his late twenties or early thirties, with fair skin and short, dark hair.
photo of a woman on the beach, shot from above. She is facing the sea, while wearing a white dress. She has long blonde hair
赠送小白到大师级教程(100多页)
超详细的 Stable Diffusion ComfyUI 基础教程(小白到大师的教程)
评论(0)