十四、 AI数字绘画—根据简笔画自动生成图片

十四、 AI数字绘画—根据简笔画自动生成图片

首页休闲益智数字绘画手机版更新时间:2024-10-07
1 实现效果

利用SD中画笔功能,随便画,如图:

SD将根据抽象内容,自动生成图片

2 操作方法

(1) 环境信息:

Python:3.10.6

Pytorch:1.13

Stable diffusion版本:1.5.1

对应Git链接地址:https://github.com/AUTOMATIC1111/stable-diffusion-webui

模型版本信息:anything-v5-PrtRE.safetensors

(2) 访问Stable Diffusion控制台界面

(3) 选择“图生图“页签,选择绘图,上传一张空白的照片

(4) 选择不同颜色的画笔,可以画出以下形状

(5) 输入正向提示符和反向提示符

正向提示符:

Highest quality,ultra-high definition,masterpieces,8kquality,

bicycle,[A tree full of apples]

反向提示符:

(worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), bad anatomy,DeepNegative, skin spots, acnes,skin blemishes,(fat:1.2),facing away, looking away,tilted head, lowres,bad anatomy.bad hands, missing fingers,extra digit,fewer digits,bad fet,poorly drawn hands,poorly drawn face,mutation,deformed,extra fingers,extra limbs,extra arms,extra legs,malformed limbs,fused fingers,too many fingers,long neck,cross-eyed,mutated hands,polar lowres,bad body,bad proportions,gross proportions,missing arms, missing legs,extra digit, extra arms, extra leg,extra foot, teethcroppe,.signature,watermark,username,blurry,cropped,jpeg artifacts,text,error,

调整重绘幅度为0.6~0.8之间,如下:

(6) 点击生成按钮

(7) 自动根据你绘制的内容生成图片,如下:

文中所涉及模型、素材、模型安装方法等资料见以下网盘地址:

AI数字绘画:

https://url40.ctfile.com/d/42856640-57399036-b86f76?p=7777 (访问密码: 7777)

查看全文
大家还看了
也许喜欢
更多游戏

Copyright © 2024 妖气游戏网 www.17u1u.com All Rights Reserved