Auto-Photoshop-StableDiffusion-Plugin 使用教程

Auto-Photoshop-StableDiffusion-Plugin 使用教程

Auto-Photoshop-StableDiffusion-PluginA user-friendly plug-in that makes it easy to generate stable diffusion images inside Photoshop using either Automatic or ComfyUI as a backend.项目地址:https://gitcode.com/gh_mirrors/au/Auto-Photoshop-StableDiffusion-Plugin

1. 项目的目录结构及介绍

项目的目录结构如下:

Auto-Photoshop-StableDiffusion-Plugin/
├── manifest.json
├── start_server.bat
├── start_server.sh
├── update_plugin.bat
├── update_plugin.sh
├── viewer.js
├── README.md
└── ...

目录结构介绍

  • manifest.json: 插件的配置文件,包含插件的基本信息和入口点。
  • start_server.batstart_server.sh: 启动服务器的脚本文件,分别适用于Windows和Linux系统。
  • update_plugin.batupdate_plugin.sh: 更新插件的脚本文件,分别适用于Windows和Linux系统。
  • viewer.js: 插件的视图文件,用于处理用户界面。
  • README.md: 项目的说明文档,包含安装和使用说明。

2. 项目的启动文件介绍

start_server.bat 和 start_server.sh

这两个文件用于启动Stable Diffusion服务。具体操作如下:

  • Windows: 运行 start_server.bat
  • Linux: 运行 start_server.sh

webui-user.bat

automatic1111 安装目录中,编辑 webui-user.bat 文件,添加以下内容以启用API:

set COMMANDLINE_ARGS= --api

保存并运行该文件。

3. 项目的配置文件介绍

manifest.json

manifest.json 是插件的主要配置文件,包含插件的基本信息和入口点。示例如下:

{
  "manifest_version": 2,
  "name": "Auto-Photoshop-StableDiffusion-Plugin",
  "version": "1.0.0",
  "api": {
    "api_version": "1.0"
  },
  "entry_points": {
    "main": "viewer.js"
  }
}

配置文件介绍

  • manifest_version: 配置文件的版本。
  • name: 插件的名称。
  • version: 插件的版本号。
  • api: API的版本信息。
  • entry_points: 插件的入口点,指定启动时加载的文件。

以上是 Auto-Photoshop-StableDiffusion-Plugin 项目的目录结构、启动文件和配置文件的介绍。希望这些信息能帮助你更好地理解和使用该项目。

Auto-Photoshop-StableDiffusion-PluginA user-friendly plug-in that makes it easy to generate stable diffusion images inside Photoshop using either Automatic or ComfyUI as a backend.项目地址:https://gitcode.com/gh_mirrors/au/Auto-Photoshop-StableDiffusion-Plugin

  • 17
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

昌隽艳

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值