Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit bce0415

Browse files
committed
Update 1.1
1 parent c2da1e3 commit bce0415

File tree

11 files changed

+287
-533
lines changed

11 files changed

+287
-533
lines changed

README.md

+13-6
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,46 @@
11
# 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
34

45
I'm sure it will make your life easier while applying prompts from online
56

6-
<img src="https://github.com/basharast/A2IPrompt/assets/3244951/9ed14aa6-0dd6-4938-9c19-d6a21a0b68ca">
7+
<img src="docs/assets/preview.jpg">
78

89
## Results
10+
911
You should get same result by 50-80%
1012

11-
at least you wont get totally different result
13+
at least you will not have totally different result
1214

1315
unless your InvokeAI version has 77 tokens limits ([solution here](https://github.com/invoke-ai/InvokeAI/pull/2896))
1416

15-
you can calculate token count here at [this page](https://platform.openai.com/tokenizer)
1617

1718
## Usage
19+
1820
Online test [click here](https://basharast.github.io/A2IPrompt/) and use it directly
1921

2022
or download this repo and open `index.html` it will work locally.
2123

2224
## Contribution
25+
2326
Feel free to submit any request or fix
2427

2528
if you want to make your own fork just don't remove copy right section.
2629

2730
## Next
2831

29-
- [ ] Add tokens counter
30-
- [ ] Add copy shortcuts
32+
- [x] Add tokens counter
33+
- [x] Add copy shortcuts
3134
- [x] Improve negative resolver
3235

3336
## Privacy
37+
3438
This tool works locally and doesn't send or collect any usage data or any texts
3539

3640
## Credits
41+
3742
Bashar Astifan (Developer)
3843

44+
GPT-Tokenizer thanks to [Bazyli Brzóska](https://github.com/niieani)
45+
3946
HTML page has some elements from [Navneet](https://codepen.io/heynavneet/details/yXjPLw) and [Trent Dec](https://codepen.io/Trentdec/pen/YBEQKm)

a2i prompt/assets/fav.png

-11.3 KB
Binary file not shown.

a2i prompt/assets/jquery.min.js

-2
This file was deleted.

a2i prompt/converter.css

-101
This file was deleted.

0 commit comments

Comments
 (0)