Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://wainwrightmark.github.io/prompt-combinator/
https://wainwrightmark.github.io/prompt-combinator/
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://wainwrightmark.github.io/prompt-combinator/
- Owner: wainwrightmark
- Created: 2022-10-14T14:07:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T14:52:09.000Z (about 2 years ago)
- Last Synced: 2024-04-12T23:55:35.703Z (7 months ago)
- Language: Rust
- Size: 534 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome_prompt_design - Prompt Combinator
README
## Prompt Combinator
This is a tool to create parameterized prompts for AI image generators.
[Try it here](https://wainwrightmark.github.io/prompt-combinator/)It has the following key features
- *Disjunction* of prompts e.g. `a {cat|dog}` will generate `a cat` and `a dog`
- *Ranges* of values e.g. `a (blue:{0;1;0.1}) dog` will generate `a (blue:0) dog`, `a (blue:0.1) dog` etc. This is obviously most useful if you are on a platform that supports prompt multipliers
- *Variables* e.g. `a {animal:cat|dog} with another {animal}` will generate `a cat with another cat` and `a dog with another dog`
- *Hidden Variables* Use an exclamation mark `{animal:dog|cat}! a {animal}`
- *Ordering* If you have multiple disjunctions or ranges you can prefix with a number to control the order they are iterated. Try Comparing `{1:a|b} {2:c|d}` with `{2:a|b} {1:c|d}`
- *Math Expressions* Coming soon!Please have fun, share, and post feature requests.
mark