|
1 | 1 | # About
|
2 |
| -This tool will help you to convert Automatic1111 prompt to [InvokeAI](https://github.com/invoke-ai/InvokeAI) prompt |
| 2 | + |
| 3 | +This tool will help you to convert [Automatic1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui) prompt to [InvokeAI](https://github.com/invoke-ai/InvokeAI) prompt |
3 | 4 |
|
4 | 5 | I'm sure it will make your life easier while applying prompts from online
|
5 | 6 |
|
6 |
| -<img src="https://github.com/basharast/A2IPrompt/assets/3244951/9ed14aa6-0dd6-4938-9c19-d6a21a0b68ca"> |
| 7 | +<img src="docs/assets/preview.jpg"> |
7 | 8 |
|
8 | 9 | ## Results
|
| 10 | + |
9 | 11 | You should get same result by 50-80%
|
10 | 12 |
|
11 |
| -at least you wont get totally different result |
| 13 | +at least you will not have totally different result |
12 | 14 |
|
13 | 15 | unless your InvokeAI version has 77 tokens limits ([solution here](https://github.com/invoke-ai/InvokeAI/pull/2896))
|
14 | 16 |
|
15 |
| -you can calculate token count here at [this page](https://platform.openai.com/tokenizer) |
16 | 17 |
|
17 | 18 | ## Usage
|
| 19 | + |
18 | 20 | Online test [click here](https://basharast.github.io/A2IPrompt/) and use it directly
|
19 | 21 |
|
20 | 22 | or download this repo and open `index.html` it will work locally.
|
21 | 23 |
|
22 | 24 | ## Contribution
|
| 25 | + |
23 | 26 | Feel free to submit any request or fix
|
24 | 27 |
|
25 | 28 | if you want to make your own fork just don't remove copy right section.
|
26 | 29 |
|
27 | 30 | ## Next
|
28 | 31 |
|
29 |
| -- [ ] Add tokens counter |
30 |
| -- [ ] Add copy shortcuts |
| 32 | +- [x] Add tokens counter |
| 33 | +- [x] Add copy shortcuts |
31 | 34 | - [x] Improve negative resolver
|
32 | 35 |
|
33 | 36 | ## Privacy
|
| 37 | + |
34 | 38 | This tool works locally and doesn't send or collect any usage data or any texts
|
35 | 39 |
|
36 | 40 | ## Credits
|
| 41 | + |
37 | 42 | Bashar Astifan (Developer)
|
38 | 43 |
|
| 44 | +GPT-Tokenizer thanks to [Bazyli Brzóska](https://github.com/niieani) |
| 45 | + |
39 | 46 | HTML page has some elements from [Navneet](https://codepen.io/heynavneet/details/yXjPLw) and [Trent Dec](https://codepen.io/Trentdec/pen/YBEQKm)
|
0 commit comments