Giter Site home page Giter Site logo

prog-ape / stable-diffusion-webui-chatgpt-utilities Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hallatore/stable-diffusion-webui-chatgpt-utilities

0.0 0.0 0.0 22.32 MB

Enables use of ChatGPT directly from the UI

License: MIT License

Python 99.60% CSS 0.40%

stable-diffusion-webui-chatgpt-utilities's Introduction

stable-diffusion-webui-chatgpt-utilities

This an extension for stable-diffusion-webui that enables you to use ChatGPT for prompt variations, inspiration and pretty much anything you can think of.

name

Installation & Setup

  • Go to the directory <stable-diffusion-webui project path>/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

  • Add your OpenAI API Key in Settings/ChatGPT Utilities within the web ui. You need a paying account at OpenAI.

  • 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

name

name

stable-diffusion-webui-chatgpt-utilities's People

Contributors

hallatore avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.