Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hallatore/stable-diffusion-webui-chatgpt-utilities
Enables use of ChatGPT directly from the UI
https://github.com/hallatore/stable-diffusion-webui-chatgpt-utilities
automatic1111 stable-diffusion
Last synced: 4 days ago
JSON representation
Enables use of ChatGPT directly from the UI
- Host: GitHub
- URL: https://github.com/hallatore/stable-diffusion-webui-chatgpt-utilities
- Owner: hallatore
- License: mit
- Created: 2023-03-03T17:48:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-12T20:57:51.000Z (almost 2 years ago)
- Last Synced: 2025-02-03T19:54:59.107Z (12 days ago)
- Topics: automatic1111, stable-diffusion
- Language: Python
- Homepage:
- Size: 21.8 MB
- Stars: 476
- Watchers: 9
- Forks: 51
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ChatGPT-repositories - stable-diffusion-webui-chatgpt-utilities - Enables use of ChatGPT directly from the UI (Others)
- awesome-ChatGPT-resource-zh - 将chatGPT prompt 作用 stable diffusion
README
# stable-diffusion-webui-chatgpt-utilities
This an extension for [stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) that enables you to use ChatGPT for prompt variations, inspiration and pretty much anything you can think of.[![name](images/ui.jpg)](images/ui.jpg?raw=true)
## Installation & Setup
- Go to the directory \/extensions and run command to install: `git clone https://github.com/hallatore/stable-diffusion-webui-chatgpt-utilities` and restart your stable-diffusion-webui.
[See here for more install details](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Extensions)- Add your OpenAI API Key in Settings/ChatGPT Utilities within the web ui. You need a paying account at [OpenAI](https://platform.openai.com/account/billing/overview).
- Enable ChatGPT under scripts
## Usage
ChatGPT is quite fluid/dynamic/analog in it's responses. So play around with what questions works best. ChatGPT response is printed in the console, so you can check what it generated there and interupt SD if it's too off. Or check the Debug checkbox to skip image generation when testing prompts.
Use the templates to play around and see what is possible.
## Tips
* {prompt} is a special key and will insert the original prompt in your ChatGPT request.
* You can punch up keywords/results by doing the following. Put `(` in prepend textbox, and `:1.5)` in append textbox.
* ChatGPT is good at staying on track, but bad at being creative within a prompt. Use multiprompt `::` when you want to mix wildy different things.### Multiprompt
You can split a prompt into multiple parts by using `::`.
This is useful if ChatGPT has a hard time returning a complex prompt.> Example: `Make a prompt describing an old cabin in the woods:: Make a color description`
You can also add a number behind to get a certain amount of results. This will result in a combination of all possible solutions.
The following example would give you 12 (4*3) images.> Example: `Make a prompt describing an old cabin in the woods::4 Make a color description::3`
## Examples
[![name](images/change_color.jpg)](images/change_color.jpg?raw=true)
[![name](images/make_prompt.jpg)](images/make_prompt.jpg?raw=true)
[![name](images/multiprompt.jpg)](images/multiprompt.jpg?raw=true)