File size: 12,247 Bytes
8a51ba0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# sd-webui-prompt-all-in-one

[![GitHub stars](https://img.shields.io/github/stars/Physton/sd-webui-prompt-all-in-one?style=flat-square)](https://github.com/Physton/sd-webui-prompt-all-in-one/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/Physton/sd-webui-prompt-all-in-one?style=flat-square)](https://github.com/Physton/sd-webui-prompt-all-in-one/network/members)
[![GitHub issues](https://img.shields.io/github/issues/Physton/sd-webui-prompt-all-in-one?style=flat-square)](https://github.com/Physton/sd-webui-prompt-all-in-one/issues)
[![GitHub issues closed](https://img.shields.io/github/issues-closed/Physton/sd-webui-prompt-all-in-one?style=flat-square)](https://github.com/Physton/sd-webui-prompt-all-in-one/issues?q=is%3Aissue+is%3Aclosed)
[![GitHub license](https://img.shields.io/github/license/Physton/sd-webui-prompt-all-in-one?style=flat-square)](https://github.com/Physton/sd-webui-prompt-all-in-one/blob/master/LICENSE.md)
[![GitHub commits](https://img.shields.io/github/last-commit/Physton/sd-webui-prompt-all-in-one?style=flat-square)](https://github.com/Physton/sd-webui-prompt-all-in-one/commits/main)
[![Netlify Status](https://api.netlify.com/api/v1/badges/1441a696-a1a4-4ad7-b520-4abfd96acc76/deploy-status)](https://app.netlify.com/sites/aiodoc/deploys)

<div align="center">

### [🇺🇸 English](README.MD) | [🇷🇺 Русский](README_RU.MD) | [🇨🇳 简体中文](README_CN.MD) | [🇯🇵 日本語](README_JP.MD) | [🇰🇷 한국어](README_KR.MD) | [🇨🇳 繁體中文](README_TW.MD)

</div>

sd-webui-prompt-all-in-one 是一個基於 [stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) 的擴展,旨在提高提示詞/反向提示詞輸入框的使用體驗。它擁有更直觀、強大的輸入界面功能,它提供了自動翻譯、歷史記錄和收藏等功能,它支持多種語言,滿足不同用戶的需求。

---

<div align="center">

### 安裝教程、功能詳解、使用方法、常見問題等等,詳見:[文檔](https://aiodoc.physton.com/zh-TW/)。

</div>

----

**📢📢📢 本專案已開發獨立運行版本,不依賴 stable-diffusion-webui 既可運行。輕巧小巧,專注於提示詞的編輯和整理。前往 [Physton/sd-webui-prompt-all-in-one-app](https://github.com/Physton/sd-webui-prompt-all-in-one-app) 查看使用教程。**

----

> 如果你覺得這個擴展有幫助,請在Github上給我一顆星!
> 你也可以請我喝杯咖啡: [donate](#捐贈)

----

> 中國用戶鏡像地址:[https://gitee.com/physton/sd-webui-prompt-all-in-one.git](https://gitee.com/physton/sd-webui-prompt-all-in-one.git)

----

## 翻譯API說明

1. `不需要API KEY`:它們非常不穩定,並不是每個API都能在你的電腦中使用。如果翻譯失敗,請嘗試切換其他API,⚠️⚠️⚠️**不要提交issue!**
2. `需要API KEY`:需要自行申請API KEY。不同接口的申請方法,在切換到對應接口後,會出現對應的申請教程。⚠️⚠️⚠️**它們大部分都是 `免費` 的!**
3. `離線翻譯`:在初始化時需要自動下載語言模型。如果你的網絡環境不好,可能無法完成自動下載並初始化。

## [文檔](https://aiodoc.physton.com/zh-TW/)

- [安裝](https://aiodoc.physton.com/zh-TW/Installation.html)
- [擴展更新說明](https://aiodoc.physton.com/zh-TW/ExtensionUpdateDescription.html)
- [翻譯接口說明](https://aiodoc.physton.com/zh-TW/TranslationApiConfiguration.html#翻譯接口說明)
- [幫助開發](https://aiodoc.physton.com/zh-TW/Contributing.html)
- [自定義主題](https://aiodoc.physton.com/zh-TW/Contributing.html#自定義主題)
- [常見問題](https://aiodoc.physton.com/zh-TW/FAQ.html)
- [請我喝杯咖啡](#請我喝杯咖啡)

## 語言支持

支持幾乎所有國家語言的翻譯,但大部分國家的UI界面會顯示為英文,如果需要本地化語言顯,你可以翻譯後提交PR。

<details>
<summary>UI支持的語言</summary>
    
`简体中文` `繁體中文` `English` ` Русский` `日本語` `한국어` ` Français` `Deutsch` ` Español` `Português` `Italiano` `العربية`
</details>

<details>
<summary>翻譯支持的語言</summary>
    
`简体中文 (中国)` `繁體中文 (中國香港)` `繁体中文 (中國台灣)` `English (US)` `Afrikaans (South Africa)` `Shqip (Shqipëria)` `አማርኛ (ኢትዮጵያ)` `العربية (السعودية)` `Հայերեն (Հայաստան)` `অসমীয়া (ভাৰত)` `Azərbaycan dili (Latın, Azərbaycan)` `বাংলা (বাংলাদেশ)` `Башҡорт (Россия)` `Euskara (Espainia)` `Bosanski (Latinski, Bosna i Hercegovina)` `Български (България)` `Català (Espanya)` `Hrvatski (Hrvatska)` `Čeština (Česká republika)` `Dansk (Danmark)` `درى (افغانستان)` `ދިވެހިބަސް (ދިވެހިރާއްޖެ)` `Nederlands (Nederland)` `Eesti (Eesti)` `Føroyskt (Føroyar)` `vosa Vakaviti (Viti)` `Filipino (Pilipinas)` `Suomi (Suomi)` `Français (France)` `Français (Canada)` `Galego (España)` `ქართული (საქართველო)` `Deutsch (Deutschland)` `Ελληνικά (Ελλάδα)` `ગુજરાતી (ભારત)` `Kreyòl ayisyen (Ayiti)` `עברית (ישראל)` `हिन्दी (भारत)` `Hmong Daw (Latn, United States)` `Magyar (Magyarország)` `Íslenska (Ísland)` `Bahasa Indonesia (Indonesia)` `Inuktitut (Kanatami)` `Inuktitut (Latin, Canada)` `ᐃᓄᒃᑎᑐᑦ (ᑲᓇᑕᒥ)` `Gaeilge (Éire)` `Italiano (Italia)` `日本語 (日本)` `ಕನ್ನಡ (ಭಾರತ)` `Қазақ (Қазақстан)` `ភាសាខ្មែរ (កម្ពុជា)` `Klingon (Latn)` `Klingon (plqaD)` `한국어 (대한민국)` `کوردی (عێراق)` `Kurmancî (Latînî, Tirkiye)` `Кыргызча (Кыргызстан)` `ລາວ (ລາວ)` `Latviešu (Latvija)` `Lietuvių (Lietuva)` `Македонски (Северна Македонија)` `Malagasy (Madagasikara)` `Bahasa Melayu (Latin, Malaysia)` `മലയാളം (ഇന്ത്യ)` `Malti (Malta)` `Māori (Aotearoa)` `मराठी (भारत)` `Монгол (Кирилл, Монгол улс)` `ᠮᠣᠩᠭᠣᠯ ᠤᠯᠤᠰ (ᠨᠢᠭᠡᠳᠦᠯ ᠤᠨᠤᠭ᠎ᠠ)` `မြန်မာ (မြန်မာ)` `नेपाली (नेपाल)` `Norsk bokmål (Norge)` `ଓଡ଼ିଆ (ଭାରତ)` `پښتو (افغانستان)` `فارسی (ایران)` `Polski (Polska)` `Português (Brasil)` `Português (Portugal)` `ਪੰਜਾਬੀ (ਗੁਰਮੁਖੀ, ਭਾਰਤ)` `Querétaro Otomi (Latn, México)` `Română (România)` `Русский (Россия)` `Samoan (Latn, Samoa)` `Српски (ћирилица, Србија)` `Srpski (latinica, Srbija)` `Slovenčina (Slovensko)` `Slovenščina (Slovenija)` `Soomaali (Soomaaliya)` `Español (España)` `Kiswahili (Kenya)` `Svenska (Sverige)` `Reo Tahiti (Polynésie française)` `தமிழ் (இந்தியா)` `Татарча (латин, Россия)` `తెలుగు (భారత)` `ไทย (ไทย)` `བོད་ཡིག (རྒྱ་གར།)` `ትግርኛ (ኢትዮጵያ)` `lea fakatonga (Tonga)` `Türkçe (Türkiye)` `Українська (Україна)` `اردو (پاکستان)` `ئۇيغۇرچە (ئۇيغۇرچە، جۇڭگو)` `O'zbekcha (Lotin, O'zbekiston)` `Tiếng Việt (Việt Nam)` `Cymraeg (Y Deyrnas Unedig)` `Yucatec Maya (México)` `isiZulu (iNingizimu Afrika)`
</details>

## 特性

- `直觀的輸入界面` 提供更直觀、強大的輸入界面功能,提示詞雙語對照顯示,一目了然。
- `自動翻譯` 自動翻譯提示詞/反向提示詞,支援多種語言。
- `幾十種翻譯服務` 幾十個線上翻譯,還有離線翻譯模型。
- `多國語言` 支援世界上大部分國家語言的翻譯,你可以使用任何語言輸入提示詞。
- `歷史記錄` 當提示詞/反向提示詞發生變化時,自動記錄。
- `收藏夾` 一鍵收藏、批量收藏你喜歡的提示詞/反向提示詞。
- `快速調整` 拖拽調整提示詞位置,一鍵增減提示詞權重,一鍵刪除、一鍵禁用、一鍵翻譯、一鍵收藏等等。
- `批量操作` 框選多個提示詞/反向提示詞,一鍵刪除、一鍵翻譯、一鍵收藏等等。
- `ChatGPT` 通過ChatGPT智能生成提示詞。
- `提示詞黑名單` 設置黑名單,自動過濾提示詞。
- `一鍵添加提示詞` 幾千個提示詞,點擊即可使用。
- `關鍵詞高亮` Lora、LyCORIS、Textual Inversion 高亮和檢測。
- `關鍵詞自定義顏色` 不同種類的關鍵詞,可以自定義顯示不同的顏色。
- `自定義主題` 自定義主題,自定義擴展風格。
- `......` 更多功能等你發現。

## 演示

- [切換語言](https://aiodoc.physton.com/zh-TW/LanguageSelection.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.switch_language.gif)

- [翻譯API設置](https://aiodoc.physton.com/zh-TW/TranslationApiConfiguration.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.translate_setting.gif)

- [顯示/折疊內容](https://aiodoc.physton.com/zh-TW/OtherFeatures.html#顯示-摺疊擴展面板)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.fold.gif)

- [顯示/隱藏WebUI輸入框](https://aiodoc.physton.com/zh-TW/OtherFeatures.html#顯示-隱藏-webui-輸入框)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.show_input.gif)

- [自動翻譯](https://aiodoc.physton.com/zh-TW/AutomaticTranslation.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.auto_translate.gif)

- [一鍵翻譯](https://aiodoc.physton.com/zh-TW/BatchTranslation.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.translate.gif)

- [優雅的輸入](https://aiodoc.physton.com/zh-TW/KeywordInputBox.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.elegant_input.gif)

- [快速調整](https://aiodoc.physton.com/zh-TW/ListOfKeywords.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.quick_adjust.gif)

- [收藏和歷史記錄](https://aiodoc.physton.com/zh-TW/History.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.history_favorite.gif)

- [使用ChatGPT生成Prompt](https://aiodoc.physton.com/zh-TW/UsingChatgptToGeneratePrompts.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.chatgpt.gif)

- [在WebUI的輸入框中編寫](https://aiodoc.physton.com/zh-TW/WritingInWebUIInputBox.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.writing_webui.gif)

- 支持[a1111-sd-webui-tagcomplete](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.tagcomplete.gif)

- [Lora、LyCORIS、Textual Inversion 高亮和檢測](https://aiodoc.physton.com/zh-TW/ListOfKeywords.html#高亮關鍵詞)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.keyword_detection.gif)

- [Prompt提示詞格式](https://aiodoc.physton.com/zh-TW/FormatOfPrompts.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.prompt_format.gif)

- [批量操作](https://aiodoc.physton.com/zh-TW/BatchOperation.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.batch_operation.gif)

- [自定義主題/擴展風格](https://aiodoc.physton.com/zh-TW/ThemeStyle.html)

  ![](https://s1.imagehub.cc/images/2023/06/06/demo.custom_theme.gif)

- [一鍵添加關鍵詞](https://aiodoc.physton.com/zh-TW/GroupTags.html)

  ![](https://s1.imagehub.cc/images/2023/08/15/demo.group_tags.gif)

## 捐贈

[捐贈列表](https://aiodoc.physton.com/zh-TW/Donate.html)

### 請我喝杯咖啡

| Buy me a coffee (EN) | [![Buy me a coffee](https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png)](https://buymeacoffee.com/physton) |
|:-----------:| :----: |
| ko-fi (EN) | [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/physton) |
| Paypal (EN) | [https://paypal.me/physton](https://paypal.me/physton) |
| 爱发电 (CN) | [https://afdian.net/a/physton/thank](https://afdian.net/a/physton/thank) |
| 支付宝 (CN) | ![](https://s1.imagehub.cc/images/2023/07/05/alipay.jpeg) |
| 微信赞赏 (CN) | ![](https://s1.imagehub.cc/images/2023/07/05/wechat.jpeg) |