update
@@ -81,9 +81,16 @@
|
||||
## Notes
|
||||
|
||||
1. After installation using any method, you need to restart Stable Diffusion WebUI.
|
||||
|
||||
2. If an error occurs during the installation process using any method, you need to manually delete the `stable-diffusion-webui\extensions\sd-webui-prompt-all-in-one` directory, then restart Stable Diffusion WebUI, and reinstall.
|
||||
|
||||
3. The installation process may take several minutes or longer, so please be patient.
|
||||
|
||||
4. You need to make sure that your WebUI version is [3715ece](https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/3715ece) or higher. If your WebUI version is lower than this, you need to update WebUI.
|
||||

|
||||
|
||||
5. The extension cannot run under the startup argument --data-dir.
|
||||
|
||||
|
||||
|
||||
# 简体中文
|
||||
@@ -171,5 +178,12 @@
|
||||
## 注意事项
|
||||
|
||||
1. 任何方式安装,在安装完成后,都需要重新启动 Stable Diffusion WebUI。
|
||||
|
||||
2. 任何方式,在安装过程中,如果出现错误。都需要手动删除 `stable-diffusion-webui\extensions\sd-webui-prompt-all-in-one` 目录,然后重启 Stable Diffusion WebUI,再重新安装。
|
||||
|
||||
3. 安装过程可能需要几分钟或更久的时间,请耐心等待。
|
||||
|
||||
4. 你需要确保你的WebUI版本是 [3715ece(2023年第7周)](https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/3715ece) 及更高。如果你的WebUI版本低于此版本,你需要更新WebUI。
|
||||

|
||||
|
||||
5. 扩展无法在启动参数 `--data-dir--data-dir` 下运行。
|
||||
31
11.BatchTranslation.md
Normal file
@@ -0,0 +1,31 @@
|
||||
<div align="center">
|
||||
|
||||
[English](#english) / [简体中文](#简体中文)
|
||||
|
||||
</div>
|
||||
|
||||
# English
|
||||
|
||||
1. Click the "Batch Translation" button to automatically translate all the keywords below.
|
||||
|
||||

|
||||
|
||||
2. If the keywords are not in English, they will be automatically translated into English. If the keywords are in English, the corresponding local language translation will be displayed below the keywords.
|
||||
|
||||

|
||||
|
||||
3. In some language environments, where the extension cannot determine whether you are typing in English or your local language, there will be two buttons. One is for translating to English, and the other is for translating to the local language.
|
||||
|
||||
|
||||
|
||||
# 简体中文
|
||||
|
||||
1. 点击 `一键翻译按钮`,可将下方所有关键词自动翻译。
|
||||
|
||||

|
||||
|
||||
2. 如果关键词不是英文,将会自动翻译到英文。如果关键词是英文,将会将对应的本地语言翻译出来并显示在关键词下方。
|
||||
|
||||

|
||||
|
||||
3. 在某些国家语言的环境中,因为本扩展无法判断你输入的是英文还是你的本地语言,这里会有两个按钮。一个是一键翻译到英文,另一个是一键翻译到本地语言。
|
||||
110
12.UsingChatgptToGeneratePrompts.md
Normal file
@@ -0,0 +1,110 @@
|
||||
<div align="center">
|
||||
|
||||
[English](#english) / [简体中文](#简体中文)
|
||||
|
||||
</div>
|
||||
|
||||
# English
|
||||
|
||||
## Open Window
|
||||
|
||||
1. Hover over the "Use ChatGPT to Generate Prompts" button.
|
||||
|
||||

|
||||
|
||||
2. Open the window.
|
||||
|
||||

|
||||
|
||||
## Configure ChatGPT
|
||||
|
||||
### API Base
|
||||
|
||||
1. The official default API address is `https://api.openai.com/v1`.
|
||||
2. If you cannot access the official website, you can search for or set up a proxy server. Fill in the address of the proxy server in "API Base". Please note that any third-party proxy server may cause your API KEY or privacy to be leaked. Use with caution.
|
||||
|
||||
### API KEY
|
||||
|
||||
1. Get your API KEY from [OpenAI](https://platform.openai.com/docs/introduction).
|
||||
2. You can go to video platforms, such as YouTube, to search for video tutorials on how to get an API KEY.
|
||||
|
||||
### Model
|
||||
|
||||
1. Choose the model you want to use.
|
||||
2. Each model has a different billing method.
|
||||
3. Regular accounts cannot use the "gpt-4" model.
|
||||
|
||||
### Free API KEY
|
||||
> [chatanywhere/GPT_API_free](https://github.com/chatanywhere/GPT_API_free) This Github repository provides a free API interface.
|
||||
|
||||
1. The API KEY provided by this project has a maximum of 120 requests per hour.
|
||||
2. The project may become invalid at any time.
|
||||
3. The API KEY provided by this project cannot use the official API Base. Please fill in the URL address provided by this project in the API Base field.
|
||||
4. This project has no relation to this extension. Any problems or losses caused by using this project have nothing to do with the author of this extension. Please use it at your own discretion!!!
|
||||
|
||||
After filling in, click the "Save" button. You don't need to fill it in again the next time you open the window.
|
||||
|
||||
## Generate Prompts
|
||||
|
||||
1. You can use any language to input image description information, for example:
|
||||
|
||||
> A girl, pure and beautiful, with an elegant and graceful demeanor. She is like a fairy, out of the ordinary, and a true beauty.
|
||||
|
||||
2. Click the "Generate" button.
|
||||
|
||||
3. Click the "Use" button.
|
||||
|
||||

|
||||
|
||||
|
||||
# 简体中文
|
||||
|
||||
## 打开窗口
|
||||
|
||||
1. 鼠标移动到 `使用ChatGPT生成Prompts按钮` 上。
|
||||
|
||||

|
||||
|
||||
2. 打开窗口。
|
||||
|
||||

|
||||
|
||||
## 配置ChatGPT
|
||||
|
||||
### API Base - API地址
|
||||
|
||||
1. 官方默认的接口地址是 `https://api.openai.com/v1`
|
||||
2. 如果你没有访问官网的网络环境,可自行搜索或搭建代理服务器。将代理服务器的地址填入 `API Base`。请注意任何第三方代理服务器都有可能导致你的API KEY泄露,或者导致你的隐私泄露。请谨慎使用。
|
||||
|
||||
### API KEY - API密钥
|
||||
|
||||
1. 从 [OpenAI](https://platform.openai.com/docs/introduction) 获取你的API KEY。
|
||||
2. 你可以前往视频平台,比如Youtube,搜索获取API KEY的视频教程。
|
||||
|
||||
### Model - 模型
|
||||
|
||||
1. 选择你需要使用的模型。
|
||||
2. 每个模型的计费方式不同。
|
||||
3. 普通账号无法使用 `gpt-4` 模型。
|
||||
|
||||
### 免费的API KEY
|
||||
> [chatanywhere/GPT_API_free](https://github.com/chatanywhere/GPT_API_free) 此 Github 仓库提供了免费的API接口。
|
||||
|
||||
1. 该项目提供的 API KEY 没小时限制最多请求120次。
|
||||
2. 该项目可能随时失效。
|
||||
3. 该项目提供的 API KEY 无法使用官方的 API Base,请在 API Base 处填写该项目提供的 URL 地址。
|
||||
4. 该项目与本扩展无关,任何使用该项目产生的问题、损失与本作者无关。请自行斟酌!!!
|
||||
|
||||
填写完成后,点击 `保存` 按钮,下次打开窗口后无需再次填写。
|
||||
|
||||
## 生成Prompts
|
||||
|
||||
1. 你可以使用任何语言输入图片描述信息,例如:
|
||||
|
||||
> 一个女孩,她洁若冰霜,莫可逼视,秀美大气,倾国倾城,清韵典雅,淡雅宜人,风致天然,温润如玉,清澈如水,清雅不可方物,眉间如聚霜雪,冰雪出尘之姿,宛如仙女,出落得不食人间烟火,十足是个绝色的美人胚子。
|
||||
|
||||
2. 点击 `生成` 按钮。
|
||||
|
||||
3. 点击 `使用` 按钮。
|
||||
|
||||

|
||||
40
13.KeywordInputBox.md
Normal file
@@ -0,0 +1,40 @@
|
||||
<div align="center">
|
||||
|
||||
[English](#english) / [简体中文](#简体中文)
|
||||
|
||||
</div>
|
||||
|
||||
# English
|
||||
|
||||
1. You can input in your local language, and if you have enabled automatic translation, your input will be automatically translated into English. If you haven't enabled automatic translation, you can manually click the translate button after inputting.
|
||||
|
||||
2. You can input non-English punctuation marks, such as `,`, `。`, `()`, `【】`, etc., and they will be automatically converted to English punctuation marks, saving you the trouble of manually switching input methods.
|
||||
|
||||
3. Supports the functionality of [a1111-sd-webui-tagcomplete](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete) extension (requires installation of the extension).
|
||||
|
||||

|
||||
|
||||
4. When there is no content in the input box, clicking on it will display a dropdown menu. You can use the mouse to select the content in the menu, or use the keyboard's up, down, left, right, and enter keys to select different content. If you don't want to use the dropdown menu, you can go to [Theme Style](06.ThemeStyle#简体中文) to turn it off.
|
||||
|
||||
5. You can select the `Line Break Symbol` in the dropdown menu. It will insert a line break symbol in the WebUI input box. If you need the `Line Break Symbol` to actually display as a line break in the extension panel, you can go to [Theme Style](06.ThemeStyle#简体中文) to enable this feature.
|
||||
|
||||
6. You can select `Favorite` prompts from the dropdown menu and insert them after the current prompts. (The `Use` button in the favorites folder clears the current prompts, while here it inserts them.)
|
||||
|
||||
|
||||
# 简体中文
|
||||
|
||||

|
||||
|
||||
1. 你可以输入你的本地语言,如果你启用了自动翻译,你的输入将会被自动翻译到英文。如果你没有启用自动翻译,你也可以在输入完成后手动点击翻译按钮。
|
||||
|
||||
2. 你可以输入非英文标点符号,例如 `,` `。` `()` `【】` 等等,它们都将被自动转为英文标点符号。免去了你手动切换输入法的麻烦。
|
||||
|
||||
3. 支持 [a1111-sd-webui-tagcomplete](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete) 扩展的功能(需要你已安装该扩展)。
|
||||
|
||||

|
||||
|
||||
4. 在输入框没有任何内容的情况下,点击输入框会展示一个下拉菜单。你可以用鼠标选择菜单中的内容,你也可以使用键盘的上下左右和回车选择不同的内容。如果你不想使用下单菜单,你可以前往 [主题风格](06.ThemeStyle#简体中文) 中关闭它。
|
||||
|
||||
5. 你可以在下拉菜单中选择 `换行符号`。它将在WebUI的输入框中插入一个换行符号。如果你需要 `换行符号` 在扩展面板中实际也换行显示。你可以前往 [主题风格](06.ThemeStyle#简体中文) 中开启此功能。
|
||||
|
||||
6. 你可以在下拉菜单中选择 `收藏` 的Prompts,并将它们插入到当前的Prompts后面。(在收藏夹中的 `使用` 按钮,是清空当前的Prompts,而这里则是插入)
|
||||
50
14.OtherFeatures.md
Normal file
@@ -0,0 +1,50 @@
|
||||
<div align="center">
|
||||
|
||||
[English](#english) / [简体中文](#简体中文)
|
||||
|
||||
</div>
|
||||
|
||||
# English
|
||||
|
||||
## Show/Collapse the expanded panel
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Show/Hide the WebUI input box
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Copy all keywords to the clipboard
|
||||
|
||||

|
||||
|
||||
## Delete all keywords
|
||||
|
||||

|
||||
|
||||
|
||||
# 简体中文
|
||||
|
||||
## 显示/折叠扩展面板
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 显示/隐藏WebUI输入框
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 复制所有关键词到粘贴板
|
||||
|
||||

|
||||
|
||||
## 删除所有关键词
|
||||
|
||||

|
||||
133
Home.md
@@ -6,6 +6,9 @@
|
||||
|
||||
# English
|
||||
|
||||
> If you find this extension helpful, please give me a star on Github!
|
||||
> You could also buy me a coffee: [donate](https://github.com/Physton/sd-webui-prompt-all-in-one/blob/main/DONATE.MD)
|
||||
|
||||
- [Installation](01.Installation#english)
|
||||
|
||||
- [Installation Methods](01.Installation#installation-methods)
|
||||
@@ -18,42 +21,76 @@
|
||||
|
||||
- [Manual Installation](02.InstallationPackages#manual-installation)
|
||||
|
||||
- [Language Selection](03.LanguageSelection#english)
|
||||
- Toolbar
|
||||
|
||||
- [Translation API Configuration](04.TranslationApiConfiguration#english)
|
||||
- [Language Selection](03.LanguageSelection#english)
|
||||
|
||||
- [Open the Translation API Configuration Window](04.TranslationApiConfiguration#open-the-translation-api-configuration-window)
|
||||
- [Translation API Configuration](04.TranslationApiConfiguration#english)
|
||||
|
||||
- [Translation API Description](04.TranslationApiConfiguration#translation-api-description)
|
||||
- [Open the Translation API Configuration Window](04.TranslationApiConfiguration#open-the-translation-api-configuration-window)
|
||||
|
||||
- [API Test](04.TranslationApiConfiguration#api-test)
|
||||
- [Translation API Description](04.TranslationApiConfiguration#translation-api-description)
|
||||
|
||||
- [TagComplete Translation enhancement](04.TranslationApiConfiguration#tagcomplete-translation-enhancement)
|
||||
- [API Test](04.TranslationApiConfiguration#api-test)
|
||||
|
||||
- [Format of prompts](05.FormatOfPrompts#english)
|
||||
- [TagComplete Translation enhancement](04.TranslationApiConfiguration#tagcomplete-translation-enhancement)
|
||||
|
||||
- [Theme Style](06.ThemeStyle#english)
|
||||
- [Format of prompts](05.FormatOfPrompts#english)
|
||||
|
||||
- [Automatic Translation](07.AutomaticTranslation#english)
|
||||
- [Theme Style](06.ThemeStyle#english)
|
||||
|
||||
- [Tooltip](08.Tooltip#english)
|
||||
- [Automatic Translation](07.AutomaticTranslation#english)
|
||||
|
||||
- [History](09.History#english)
|
||||
- [Tooltip](08.Tooltip#english)
|
||||
|
||||
- [Open the history record window](09.History#open-the-history-record-window)
|
||||
- [History](09.History#english)
|
||||
|
||||
- [Function Description](09.History#function-description)
|
||||
- [Open the history record window](09.History#open-the-history-record-window)
|
||||
|
||||
- [Favorites](10.Favorite#english)
|
||||
- [Function Description](09.History#function-description)
|
||||
|
||||
- [Open the Favorites window](10.Favorite#open-the-favorites-window)
|
||||
- [Favorites](10.Favorite#english)
|
||||
|
||||
- [Functionality](10.Favorite#functionality)
|
||||
- [Open the Favorites window](10.Favorite#open-the-favorites-window)
|
||||
|
||||
- [Functionality](10.Favorite#functionality)
|
||||
|
||||
- [Batch Translation](11.BatchTranslation#english)
|
||||
|
||||
- [Use ChatGPT to Generate Prompts](12.UsingChatgptToGeneratePrompts#english)
|
||||
|
||||
- [Open Window](12.UsingChatgptToGeneratePrompts#open-window)
|
||||
|
||||
- [Configure ChatGPT](12.UsingChatgptToGeneratePrompts#configure-chatgpt)
|
||||
|
||||
- [API Base](12.UsingChatgptToGeneratePrompts#api-base)
|
||||
|
||||
- [API KEY](12.UsingChatgptToGeneratePrompts#api-key)
|
||||
|
||||
- [Model](12.UsingChatgptToGeneratePrompts#model)
|
||||
|
||||
- [Free API KEY](12.UsingChatgptToGeneratePrompts#free-api-key)
|
||||
|
||||
- [Generate Prompts](12.UsingChatgptToGeneratePrompts#generate-prompts)
|
||||
|
||||
- [Keyword Input Box](13.KeywordInputBox#english)
|
||||
|
||||
- [Other Features](14.OtherFeatures#english)
|
||||
|
||||
- [Show/Collapse the expanded panel](14.OtherFeatures#showcollapse-the-expanded-panel)
|
||||
|
||||
- [Show/Hide the WebUI input box](14.OtherFeatures#showhide-the-webui-input-box)
|
||||
|
||||
- [Copy all keywords to the clipboard](14.OtherFeatures#copy-all-keywords-to-the-clipboard)
|
||||
|
||||
- [Delete all keywords](14.OtherFeatures#delete-all-keywords)
|
||||
|
||||
|
||||
# 简体中文
|
||||
|
||||
> 如果你觉得这个扩展有帮助,请在Github上给我一颗星!
|
||||
> 你也可以请我喝杯咖啡: [donate](https://github.com/Physton/sd-webui-prompt-all-in-one/blob/main/DONATE.MD)
|
||||
|
||||
- [安装](01.Installation#简体中文)
|
||||
|
||||
- [安装方式](01.Installation#安装方式)
|
||||
@@ -66,34 +103,66 @@
|
||||
|
||||
- [手动安装](02.InstallationPackages#手动安装)
|
||||
|
||||
- [语言选择](03.LanguageSelection#简体中文)
|
||||
- 工具栏
|
||||
|
||||
- [翻译API配置](04.TranslationApiConfiguration#简体中文)
|
||||
- [语言选择](03.LanguageSelection#简体中文)
|
||||
|
||||
- [打开翻译API配置窗口](04.TranslationApiConfiguration#打开翻译api配置窗口)
|
||||
- [翻译API配置](04.TranslationApiConfiguration#简体中文)
|
||||
|
||||
- [翻译接口说明](04.TranslationApiConfiguration#翻译接口说明)
|
||||
- [打开翻译API配置窗口](04.TranslationApiConfiguration#打开翻译api配置窗口)
|
||||
|
||||
- [接口测试](04.TranslationApiConfiguration#接口测试)
|
||||
- [翻译接口说明](04.TranslationApiConfiguration#翻译接口说明)
|
||||
|
||||
- [TagComplete 翻译增强](04.TranslationApiConfiguration#tagcomplate-翻译增强)
|
||||
- [接口测试](04.TranslationApiConfiguration#接口测试)
|
||||
|
||||
- [Prompt格式](05.FormatOfPrompts#简体中文)
|
||||
- [TagComplete 翻译增强](04.TranslationApiConfiguration#tagcomplate-翻译增强)
|
||||
|
||||
- [主题风格](06.ThemeStyle#简体中文)
|
||||
- [Prompt格式](05.FormatOfPrompts#简体中文)
|
||||
|
||||
- [自动翻译](07.AutomaticTranslation#简体中文)
|
||||
- [主题风格](06.ThemeStyle#简体中文)
|
||||
|
||||
- [工具提示](08.Tooltip#简体中文)
|
||||
- [自动翻译](07.AutomaticTranslation#简体中文)
|
||||
|
||||
- [历史记录](09.History#简体中文)
|
||||
- [工具提示](08.Tooltip#简体中文)
|
||||
|
||||
- [打开记录记录窗口](09.History#打开记录记录窗口)
|
||||
- [历史记录](09.History#简体中文)
|
||||
|
||||
- [功能说明](09.History#功能说明)
|
||||
- [打开记录记录窗口](09.History#打开记录记录窗口)
|
||||
|
||||
- [收藏夹](10.Favorite#简体中文)
|
||||
- [功能说明](09.History#功能说明)
|
||||
|
||||
- [打开收藏窗口](10.Favorite#打开收藏窗口)
|
||||
- [收藏夹](10.Favorite#简体中文)
|
||||
|
||||
- [功能说明](10.Favorite#功能说明)
|
||||
- [打开收藏窗口](10.Favorite#打开收藏窗口)
|
||||
|
||||
- [功能说明](10.Favorite#功能说明)
|
||||
|
||||
- [批量翻译](11.BatchTranslation#简体中文)
|
||||
|
||||
- [使用ChatGPT生成Prompts](12.UsingChatgptToGeneratePrompts#简体中文)
|
||||
|
||||
- [打开窗口](12.UsingChatgptToGeneratePrompts#打开窗口)
|
||||
|
||||
- [配置ChatGPT](12.UsingChatgptToGeneratePrompts#配置chatgpt)
|
||||
|
||||
- [API地址](12.UsingChatgptToGeneratePrompts#api-base---api地址)
|
||||
|
||||
- [API秘钥](12.UsingChatgptToGeneratePrompts#api-key---api密钥)
|
||||
|
||||
- [模型](12.UsingChatgptToGeneratePrompts#model---模型)
|
||||
|
||||
- [免费的API秘钥](12.UsingChatgptToGeneratePrompts#免费的api-key)
|
||||
|
||||
- [生成Prompts](12.UsingChatgptToGeneratePrompts#生成prompts)
|
||||
|
||||
- [关键词输入框](13.KeywordInputBox#简体中文)
|
||||
|
||||
- [其它功能](14.OtherFeatures#简体中文)
|
||||
|
||||
- [显示/折叠扩展面板](14.OtherFeatures#显示折叠扩展面板)
|
||||
|
||||
- [显示/隐藏WebUI输入框](14.OtherFeatures#显示隐藏webui输入框)
|
||||
|
||||
- [复制所有关键词到粘贴板](14.OtherFeatures#复制所有关键词到粘贴板)
|
||||
|
||||
- [删除所有关键词](14.OtherFeatures#删除所有关键词)
|
||||
BIN
assets/images/BatchTranslation/translate.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
assets/images/OtherFeatures/copy.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
assets/images/OtherFeatures/delete.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
assets/images/OtherFeatures/hide_input.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
assets/images/OtherFeatures/hide_panel.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
assets/images/UsingChatgptToGeneratePrompts/chatgpt.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
assets/images/UsingChatgptToGeneratePrompts/chatgpt_btn.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |