Skip to content

Commit

Permalink
Merge branch 'UImodules'
Browse files Browse the repository at this point in the history
  • Loading branch information
dunkeroni committed May 4, 2023
2 parents ea79d87 + 7440180 commit 7d61630
Show file tree
Hide file tree
Showing 14 changed files with 651 additions and 3,497 deletions.
6 changes: 5 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# History
## Krita Plugin 2.X

### 2.0.1
- more architecture fixes to allow for better feature expansion in the future
- added Share With LAION database option
- included link to git repository for update message

### 2.0.0
Changes
- Changed interface to Docker instead of popup window
Expand All @@ -25,7 +30,6 @@ Changes
- Crashes if internet connection is lost while request is active.
- Throws an error on startup on when the API key field is blank.


## Original Repo 1.X versions:

### 1.3.4
Expand Down
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ Images post-processed with upscalers will return a larger image than the generat

**Basic Tab (OUTDATED. WILL FIX IN FUTURE)**

- **Generation Mode:**
- **Text -> Image:** Generate an image based on your prompt.
- **Image -> Image:** Generate an image based on an init image and on your prompt.
- **Inpainting:** Erase a part of an image and generate a new image which has the erased part filled. The erased part is filled based on your prompt. To erase, select in Krita the eraser mode or use an eraser brush preset. If you make a selection, please make sure to remove this selection before generating by clicking on the image.

- **Denoising:** How much the AI should change the current image (when using img2img). Actually affects the generative steps and starting point; a value of 0.3 will set up the stable diffusion pipeline with the input image and only "complete" the last 30% of the denoising process.

- **Seed:** This parameter is optional. If it is empty, a random seed will be generated on the server. If you use a seed, the same image is generated again in the case the same parameters for init strength, steps, etc. are used. A slightly different image will be generated, if the parameters are modified. You find the seed as part of the layer name of the layer, where the generated image is displayed.
Expand All @@ -72,7 +67,7 @@ Images post-processed with upscalers will return a larger image than the generat

- **Generate:** Start image generation. The values you inserted into the dialog will be transmitted to the server, which dispatches the request now to one of the stable-diffusion servers in the cluster. Your generation request is added to the queue. You will see now the status "Queue position..." and all input elements of the dialog are disabled. Generation can take between several seconds and several minutes depending on how many other requests are already in the queue and how many stable diffusion servers joined currently the cluster.<br>When the image has been generated successfully, it will be shown as a new layer of the opened document. The used seed is shown as a part of the name of the new layer. If an error during generation occurs, the error message will be shown in the status textarea and all input elements will be enabled again.

- **Cancel:** Close the dialog. If you cancel when you already started generation, generation will be stopped.
- **Cancel:** Stop waiting for results and enable docker inputs again. Usefull if something breaks. If you cancel when you already started generation, generation will be stopped.

**Advanced Tab**

Expand All @@ -90,7 +85,9 @@ Images post-processed with upscalers will return a larger image than the generat
- If you flag your request as NSFW, only servers which accept NSFW prompts work on the request. If you don't flag the prompt, but it is NSFW, you will receive a black image.
- If you didn't flag your request as NSFW and don't prompt NSFW, you will receive in some cases a black image, although it's not NSFW (false positive). Just rerun the generation in that case.

- **Karras:** Magic. Improves generation with fewer steps.
- **Karras:** Magic. Improves generation with fewer steps.

- **Share With LAION** Share your prompt with the LAION database for research and model tuning. If shared, the generation will cost less kudos.

## Troubleshooting
### Linux
Expand Down
Loading

0 comments on commit 7d61630

Please sign in to comment.