sd-webui-prompt-all-in-one

sd-webui-prompt-all-in-one is an extension based on stable-diffusion-webui that aims to improve the user experience of the prompt/negative prompt input box. It has a more intuitive and powerful input interface, provides automatic translation, history and collection functions, and supports multiple languages to meet the needs of different users.

Translation API Description

  1. API Key Not Required: They are highly unstable and not every API can be used on your computer. If the translation fails, please try switching to another API. ⚠️⚠️⚠️ Do not submit an issue!
  2. API KEY Required: You need to apply for an API KEY on your own. The application methods for different interfaces will appear after switching to the corresponding interface. ⚠️⚠️⚠️ Most of them are free!
  3. Offline Translation: During initialization, automatic download of language models is required. If your network environment is poor, it may not be able to complete the automatic download and initialization.

Language support

Translation supports almost all national languages, but the UI interface of most countries will be displayed in English. If you need localized language display, you can translate and submit a PR.

UI Supported languages

简体中文 繁體中文 English  Русский 日本語 한국어  Français Deutsch  Español Português Italiano العربية

Translation Supported languages

简体中文 (中国) 繁體中文 (中國香港) 繁体中文 (中國台灣) 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)

Features

  • Intuitive input interface provides a more intuitive and powerful input interface, displaying bilingual prompt word comparisons for easy understanding.
  • Automatic translation automatically translates prompt words/reverse prompt words, supporting multiple languages.
  • Dozens of translation services with dozens of online translations and offline translation models.
  • Multilingual support supports translation for most languages spoken in the world, allowing you to input prompt words in any language.
  • History records automatically records when prompt words/reverse prompt words change.
  • Favorites allows you to quickly bookmark and batch bookmark your favorite prompt words/reverse prompt words.
  • Quick adjustments drag and adjust the position of prompt words, one-click increase or decrease the weight of prompt words, one-click delete, disable, translate, or bookmark, and more.
  • Batch operations select multiple prompt words/reverse prompt words in a box, one-click delete, translate, or bookmark, and more.
  • ChatGPT generates prompt words intelligently through ChatGPT.
  • Prompt word blacklist allows you to set a blacklist to automatically filter prompt words.
  • One-click adding of prompt words thousands of prompt words available, just a click away.
  • Keyword highlighting Lora, LyCORIS, Textual Inversion highlighting and detection.
  • Customizable keyword colors different types of keywords can be displayed in different custom colors.
  • Custom themes customize themes and extend styles.
  • ... More features waiting for you to discover.

Installation

Installation Requirements

  • Stable Diffusion WebUI version: 3715ece (Week 7, 2023) or higher
  • Python version: ≈ 3.10.11 (Using 3.9 or 3.11 may cause issues with installing Python packages)
  • Operating System: WindowsLinuxMacOS, etc.
  • Browser: Do not enable translation plugins like Deepl.

Installation Methods

Method 1 (Using Git Clone):

This method requires Git to be installed on your computer. If it is not installed, please refer to the official Git documentation for installation instructions.

  1. Open the terminal and navigate to your stable-diffusion-webui directory.
Open the terminal and navigate to your stable-diffusion-webui directory.
  1. Use Git to clone sd-webui-prompt-all-in-one to the extensions directory of stable-diffusion-webui.
git clone "https://github.com/Physton/sd-webui-prompt-all-in-one.git" extensions/sd-webui-prompt-all-in-one
Use Git to clone sd-webui-prompt-all-in-one to the extensions directory of stable-diffusion-webui.
  1. Restart the Stable Diffusion WebUI.

Method 2 (Install from URL):

  1. Open the Stable Diffusion WebUI webpage.
  2. Click on Extensions - Install from URL.
Open the Stable Diffusion WebUI webpage.
  1. Enter https://github.com/Physton/sd-webui-prompt-all-in-one.git.
  2. Click on Install and wait for the installation to complete. This process may take several minutes or longer. There will be a success prompt after the installation is complete.
Click on Install and wait for the installation to complete.
  1. Click on Installed - Apply and Restart UI.
Restart UI

Method 3 (Install from Official Extension Library):

  1. Open the Stable Diffusion WebUI webpage.
  2. Click on Extensions - Available - Load from.
Load from
  1. Find sd-webui-prompt-all-in-one and click on Install.
Find sd-webui-prompt-all-in-one and click on Install.
  1. Wait for the installation to complete. This process may take several minutes or longer. There will be a success prompt after the installation is complete.
Wait for the installation to complete. This process may take several minutes or longer. There will be a success prompt after the installation is complete.
  1. Click on Installed - Apply and Restart UI.

Method 4 (Install from Source Code):

This installation method cannot be updated with one click, and is not recommended!!!

  1. Download the source code package for sd-webui-prompt-all-in-one.
Download the source code package for sd-webui-prompt-all-in-one.
  1. Unzip it to the stable-diffusion-webui\extensions directory.
Unzip it to the stable-diffusion-webui\extensions directory.
  1. Restart the Stable Diffusion WebUI.

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 or higher. If your WebUI version is lower than this, you need to update WebUI.
You need to make sure that your WebUI version is 3715ece or higher.
  1. After starting with the --data-dir parameter, the WebUI needs to add the parameter --gradio-allowed-path="Expanded folder path".If the --gradio-allowed-path parameter is not added, most third-party extensions cannot be used, not just this one.--gradio-allowed-path="Expanded folder path"or--gradio-allowed-path="path to your Data folder\extensions\"

Demo

 

This project is developed in Physton. The documentation in multiple languages is translated using machine translation. Please excuse any translation errors.

If you find this extension helpful, please give me a star on Github! You could also buy me a coffee: donate

⭐️⭐️⭐️ This project has developed an independent standalone version that can run without relying on stable-diffusion-webui. It is lightweight and compact, focusing on editing and organizing prompt words. Visit Physton/sd-webui-prompt-all-in-one-app for the tutorial on how to use it.

Donation list

Project Address

Disclaimer: All articles on this site, such as no special instructions or labeling, are the site's original release. Any individual or organization, without the consent of the site, prohibit copying, theft, collection, release of the site content to any website, books and other types of media platforms. If the content of this site violates the legal rights and interests of the original author, you can contact us to deal with.