GithubHelp home page GithubHelp logo

godloveonly / sd-wildcards Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattjaybe/sd-wildcards

0.0 0.0 0.0 300 KB

A collection of wildcards for Stable Diffusion

License: Creative Commons Zero v1.0 Universal

sd-wildcards's Introduction

sd-wildcards

A collection of wildcards for Stable Diffusion + Dynamic Prompts extension

Using the power of ChatGPT, I've created a number of wildcards to be used in Stable Diffusion by way of the Dynamic Prompts extension found in the Automatic1111 fork.

You can create your own list of wildcards by telling ChatGPT this:

Give me a list of all the different types of dresses for women. Make sure you list each one on its own line, alphabetical order, in lowercase, in singular form, and that there are no duplicates. Do not number each line.

or

Give me a list of the top 50 well-known actors. Make sure you list each one on its own line, alphabetical order, in lowercase, in singular form, and that there are no duplicates. Do not number each line.

Copy and paste the result into a text file with the name of your own choosing (or add to current ones.)

Example wildcards found in this collection that were created with ChatGPT:

example

Installation

Install the Dynamic Prompts extension if you don't have it already, then clone this repo to this folder (scroll down to learn how to clone this repo):

\stable-diffusion-webui\extensions\sd-dynamic-prompts

Or you can download individual text files and put them in this folder (if you don't see a wildcards folder, create one):

\stable-diffusion-webui\extensions\sd-dynamic-prompts\wildcards

Information on Dynamic Prompts

Using Automatic1111's fork, you can install Dynamic Prompts from the Extensions tab (Available>Dynamic Prompts)

If you're still unsure about what this does; basically it allows you to use wildcards to randomize keywords based on what is available inside the text file. An example prompt would be something like this:

a __adj-beauty__ woman wearing a __dress__ in __location__

The result would look something like this with each generation:

  • a beauteous woman wearing a minidress in Italy
  • a stunning woman wearing a gown in France
  • a lovely woman wearing a cocktail dress in Tokyo

Resources

You can find even more wildcards to use:

Wildcards for SD

SDGoldMine

ChatGPT is free (for now) and you can sign up for it here.

There are Windows/Linux/macOS apps available at prompts.chat.

Protip: You can create a style with your favorite lines. For example, I have a style called Camera Wildcards that injects this line to the prompt box: __camera__, __f-stop__, __iso-stop__, __focal-length__

How To Clone This Repo

To clone a repo, you'll first need to have Git installed. If you're on Windows, you can get it here.

Then, once Dynamic Prompts is installed, navigate to this folder using Windows Explorer:

\stable-diffusion-webui\extensions\sd-dynamic-prompts

In Windows Explorer's address bar at the top, type in cmd, and a command prompt will open. Then put this in there:

git clone https://github.com/mattjaybe/sd-wildcards.git

It'll quickly download the wildcards folder into the proper place. You don't have to reboot Stable Diffusion or anything, it'll work as soon as you invoke a wildcard in your prompt.

sd-wildcards's People

Contributors

mattjaybe 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.