6

Photoshop开源AI绘图插件-Auto-Photoshop-StableDiffusion-Plugin

 1 year ago
source link: http://osp.io/archives/7776
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Auto-Photoshop-StableDiffusion-Plugin是基于 Stable Diffusion编写的针对 Photoshop的开源AI绘图插件。遵守MIT开源协议。

Stable Diffusion是2022年发布的深度学习文生图模型​。可以根据文本生成图像。还可以来替换、更改图像。安装Auto-Photoshop-StableDiffusion-Plugin插件之后,即可使用Photoshop工具编辑 Stable Diffusion 图像,并进行保存。

bv_225816.gif@596w_1l.gif

功能介绍:

快速测试

1. 在 PhotoShop 中新建一个项目。

2. 加载插件后,不要选择或更改任何内容。只需点击「生成」按钮。

3. 如果看到一只猫的图像被加载到画布上,那么一切都已正确设置。

文字转图片(txt2Img)

1. 使用矩形选框工具并选择正方形(1×1 比例)

a. 在选择工具中,可以将比率设置为 512×512 或 512×768;

b. 只需确保选择的比例等于生成的图像的大小。

2. 编写 prompt 并单击「生成」。

3. 结果将调整大小以适合所选区域。(图像将作为智能对象加载到 PhotoShop 中)。同时可以在不损失质量的情况下调整大小。

图像生成图像(img2img)

1. 选择一个位于其自身图层上的图像。

a. 如果希望生成的图像完美地放置在初始图像上,可选「Ctrl + 单击」图层缩略图。

2. 在插件 UI 中将模式更改为「img」。

3. 单击「设置初始映像」按钮。如果图像没有更改为所选图层。点击多次(作者正在解决这个问题)。

4. 点击生成

源代码:https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK