续chatgpt后 最近ai画图又开始火了,也是openai公司旗下的。
但是很多人缺一直没有体验过,今天就带带你们破处。
特别说明 搭建后 建议自己使用 分享使用应该是会受到访问ip限制 多人访问就会掉线
搭建的时候需要翻墙访问谷歌colab。
通过白嫖谷歌 colab 免费计划 实现。
** 教程:
第一步打开:
右上角链接服务器:
然后点击更改运行时类型:
硬件加速器选择GPU。
添加一个代码块:
在代码块里面输入下方命令
!pip install --upgrade fastapi==0.90.1
!git clone https://github.com/huanfeng123/stable-diffusion-webui
!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser
!curl -Lo chilloutmixni.safetensors https://huggingface.co/nolanaatama/chomni/resolve/main/chomni.safetensors
!curl -Lo ulzzang-6500.pt https://huggingface.co/nolanaatama/chomni/resolve/main/ulzzang-6500.pt
!mv "/content/chilloutmixni.safetensors" "/content/stable-diffusion-webui/models/Stable-diffusion"
!mv "/content/ulzzang-6500.pt" "/content/stable-diffusion-webui/embeddings"
%cd /content/stable-diffusion-webui
!COMMANDLINE_ARGS="--share --disable-safe-unpickle --skip-torch-cuda-test --no-half-vae --xformers --reinstall-xformers --enable-insecure-extension-access" REQS_FILE="requirements.txt" python launch.py
再点击运行。
安装大概在五分钟左右 就会有个链接 直接点击访问即可
我给大家一些关键字:
输入图片需求指令
(8k, RAW photo, best quality, masterpiece:1.2), (realistic, photo-realistic:1.37), ultra-detailed,full body,1 japanese girl, solo,beautiful detailed sky,detailed parkt,night,beautiful detailed eyes,beautiful detailed lips,professional lighting, photon mapping, radiosity, physically-based rendering,extremely detailed eyes and face, beautiful detailed eyes,light on face,cinematic lighting, white shirt, fishnet stockings, over a white shirt,uniform,1girl,full body,full-body shot,see-through,looking at viewer,outdoors,((black hair)),
输入图片不需要素材指令
EasyNegative, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans,extra fingers,fewer fingers,strange fingers,bad hand,signature, watermark, username, blurry, bad feet,bad leg, duplicate, extra limb, ugly, disgusting, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blurry,mutated hands and fingers,, EasyNegative, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans,extra fingers,fewer fingers,strange fingers,bad hand,signature, watermark, username, blurry, bad feet,bad leg
简单使用方法:
下面是我生成的图片:
文章:引用A8dog大佬的教程
4 条评论
https://xn--4gq62f52gdss.com/#/register?code=0YiYKtgO梯子
表评论8001
表评论5992
8123