Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,56 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- Lora
|
| 5 |
+
- SDXL
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# mapchipLora: A LoRA Model for SDXL
|
| 9 |
+
|
| 10 |
+
**mapchipLora** is a LoRA (Low-Rank Adaptation) model designed for Stable Diffusion XL (SDXL) v1.0. It specializes in generating images with a tilechip aesthetic, commonly used in pixel art and game design.
|
| 11 |
+
|
| 12 |
+
## Model Overview
|
| 13 |
+
|
| 14 |
+
- **Base Model:** SDXL v1.0
|
| 15 |
+
- **Training Data:** Images originally at resolutions of 16×16, 32×32, and 48×48 pixels, but enlarged to 1024×1024 using the nearest neighbor method.
|
| 16 |
+
- **Trigger Words:** `mapchip`, followed by `1616`, `3232`, or `4848` to specify the desired pixel resolution
|
| 17 |
+
|
| 18 |
+
## Usage Instructions
|
| 19 |
+
|
| 20 |
+
1. **Base Model:** Ensure that SDXL v1.0 is loaded as the base model.
|
| 21 |
+
|
| 22 |
+
2. **Prompt Structure:**
|
| 23 |
+
- Use the following format to generate images:
|
| 24 |
+
```
|
| 25 |
+
mapchip, {1616 or 3232 or 4848}, {your prompt}, <lora:mapchipLora:1.0>
|
| 26 |
+
```
|
| 27 |
+
- Replace `{your prompt}` with your desired image description.
|
| 28 |
+
- Choose `1616`, `3232`, or `4848` based on the desired pixel resolution.
|
| 29 |
+
- For example:
|
| 30 |
+
```
|
| 31 |
+
mapchip, 3232, forest landscape, <lora:mapchipLora:1.0>
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
3. **LoRA Strength:**
|
| 35 |
+
- Set the LoRA strength between `0.7` and `0.75` for optimal results.
|
| 36 |
+
- Increasing the strength enhances pixel accuracy but may reduce prompt influence.
|
| 37 |
+
|
| 38 |
+
4. **Image Resolution:**
|
| 39 |
+
- Generate images at a resolution of 1024×1024 pixels.
|
| 40 |
+
- Use image editing software like Aseprite to downscale the image using the nearest neighbor method and adjust color counts as needed.
|
| 41 |
+
|
| 42 |
+
5. **Negative Prompts:**
|
| 43 |
+
- The effect of negative prompts is uncertain.
|
| 44 |
+
- Tilechip-style images can be generated effectively without them.
|
| 45 |
+
|
| 46 |
+
6. **img2img Usage:**
|
| 47 |
+
- Applying mapchipLora to existing texture images using img2img is also effective.
|
| 48 |
+
|
| 49 |
+
## License
|
| 50 |
+
|
| 51 |
+
This model is licensed under the Apache 2.0 License.
|
| 52 |
+
|
| 53 |
+
## Tags
|
| 54 |
+
|
| 55 |
+
- LoRA
|
| 56 |
+
- SDXL
|