笔记笔记
  • Home
  • AI&ML
  • Example
  • Zoo
  • 关于
⌘ K
简介
RAGFlow
Ollama
Stable Diffusion
ComfyUI
PyTorch
Paddle
关注的模型
关注的组织
目标检测
研究
YOLO
其他
文档技巧
最后更新时间:
Copyright © 2023-2024 | Powered by dumi | GuoDapeng | 冀ICP备20004032号-1 | 冀公网安备 冀公网安备 13024002000293号

TABLE OF CONTENTS

‌
‌
‌
‌

快速开始

我们不直接安装 Stable Diffusion,因为这个是一个没有界面的应用。 我们安装 Stable Diffusion web UI,它提供了一个界面给大家使用。 根据 Installation on Apple Silicon 可以在苹果电脑上安装。

shell
# 克隆工程
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
cd stable-diffusion-webui
# 官方文档提及的安装内容
brew install cmake protobuf rust python@3.10 git wget
python3.10 -m venv venv
source venv/bin/activate
# 在 macOS 遇到了直接执行 ./webui.sh 时缺少 httpx[socks] 的问题
pip3 install 'httpx[socks]'
./webui.sh

如果有 Checkpoints、Lora 没加载出来,Always show all networks on the Lora page 勾选一下。

模型下载

Civitai 站点提供很多模型,参考 C 站模型下载与使用指南 可以了解模型的用处。

指定姿势

sd-webui-controlnet

ControlNet

其他参考

AI 绘画教学

例子

动漫风格

动漫风格

写实风格

写实风格

Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
记录参数
Checkpointsanything-v4.5.ckptLora
Sampling methodDPM++ 2MSampling steps20
Width512Height720CFG Scale7Seed-1
Prompt masterpiece, ultra-HD, high detail, best quality, 8k, best quality, sharp focus, depth of field, realistic. 1woman, expressionless, blindfold. 2b (nier:automata), bangs, white hair. real skin, skin fold. lace dress, high-heels. standing, holding katana. (full body shot), shoot from front, dynamic composition, dynamic angle.
Negative prompt worst quality, low quality, worst aesthetic, normal quality, bad quality, lowres, (caucasian), anime, 2d, 2.5d, 3d, painting, illustration, sketch, comic, cartoon, lowres, bad anatomy, bad hands, signature, watermarks, ugly, imperfect eyes, unnatural face, unnatural body, error, extra limb, missing limbs, masculine, abstract, jpeg, extra digit, extra legs and arms, disfigured, missing arms, missing fingers, multiple shot,
记录参数
Checkpointsanything-v4.5.ckptLora
Sampling methodDPM++ 2MSampling steps20
Width512Height720CFG Scale7Seed-1
Prompt yor briar, 1girl, backlighting, bare shoulders, black background, black dress, black gloves, black hair, blood, blood on face, blood on weapon, breasts, closed mouth, cowboy shot, dress, earrings, expressionless, fingerless gloves, floating hair, floral print, flower, gloves, gold earrings, gold hairband, hair flower, hair ornament, hairband, holding, holding weapon, jewelry, large breasts, light particles, long hair, looking at viewer, off-shoulder dress, off shoulder, petals, red eyes, rose, rose petals, rose print, short hair with long locks, sidelocks, solo, spikes, thighs, two-sided dress, two-sided fabric, weapon , ((masterpiece))
Negative prompt poorly drawn, sketch, score_4, score_5, simple background, censored, lowres, low detail, blurry, teeth, watercolor, bad anatomy, bad proportions, deformed, deformed anatomy, deformed fingers, old, poorly drawn, sketch, futa , futanari, woman with cock,
记录参数
Checkpointschilloutmix_Ni.safetensorsLora
Sampling methodDPM++ 2MSampling steps20
Width512Height720CFG Scale7Seed-1
Prompt yor briar, 1girl, backlighting, bare shoulders, black background, black dress, black gloves, black hair, blood, blood on face, blood on weapon, breasts, closed mouth, cowboy shot, dress, earrings, expressionless, fingerless gloves, floating hair, floral print, flower, gloves, gold earrings, gold hairband, hair flower, hair ornament, hairband, holding, holding weapon, jewelry, large breasts, light particles, long hair, looking at viewer, off-shoulder dress, off shoulder, petals, red eyes, rose, rose petals, rose print, short hair with long locks, sidelocks, solo, spikes, thighs, two-sided dress, two-sided fabric, weapon , ((masterpiece))
Negative prompt poorly drawn, sketch, score_4, score_5, simple background, censored, lowres, low detail, blurry, teeth, watercolor, bad anatomy, bad proportions, deformed, deformed anatomy, deformed fingers, old, poorly drawn, sketch, futa , futanari, woman with cock,
记录参数
Checkpointschilloutmix_Ni.safetensorsLora
Sampling methodDPM++ 2MSampling steps20
Width512Height720CFG Scale7Seed-1
Prompt (8k, RAW photo:1.2),photorealistic protrait raw color protrait photo,masterpiece,best quality,1 girl,cinematic light,medium breasts,full body portrait,Blue hair,Red eyes,(Exquisite hair accessories),round face,bare shoulders,closed mouth,sidelocks,seascape background,HD,Pleated skirt,( kilt),(sailor suit),Earrings,Natural light,[transparent vest],petal,peach blossom,exquisite facial features,professional model
Negative prompt (((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres, bad anatomy, bad hands, text, error, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly,pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,bad anatomy,bad proportions,malformed limbs,extra limbs,cloned face,disfigured,gross proportions, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs,username,blurry,bad feet,In the water