Instructions to use Muapi/rem-re-zero-re with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Muapi/rem-re-zero-re with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("cocktailpeanut/pony-diffusion-v6-xl", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Muapi/rem-re-zero-re") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add Rem (レム) - Re:Zero (Re:ゼロから始める異世界生活)
Browse files- .gitattributes +1 -0
- README.md +38 -0
- preview.jpg +3 -0
- rem-re-zero-re.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
preview.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: openrail++
|
| 3 |
+
library_name: diffusers
|
| 4 |
+
base_model: cocktailpeanut/pony-diffusion-v6-xl
|
| 5 |
+
tags:
|
| 6 |
+
- lora
|
| 7 |
+
- text-to-image
|
| 8 |
+
- stable-diffusion-xl
|
| 9 |
+
- pony
|
| 10 |
+
- pony
|
| 11 |
+
pipeline_tag: text-to-image
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Rem (レム) - Re:Zero (Re:ゼロから始める異世界生活)
|
| 15 |
+
|
| 16 |
+

|
| 17 |
+
|
| 18 |
+
**Base model**: Pony
|
| 19 |
+
**Trained words**: <lora:rezero-rem-s1-ponyxl-lora-nochekaiser:1>, rem, blue eyes, blue hair, hair ornament, hair over one eye, hair ribbon, short hair, x hair ornament, large breasts,, apron, black bow, black dress, black ribbon, bow, detached sleeves, dress, frilled apron, frilled sleeves, frills, juliet sleeves, long sleeves, maid, neck ribbon, puffy sleeves, ribbon, roswaal mansion maid uniform, thighhighs, two-tone dress, waist apron, white bow, white dress, white thighhighs,
|
| 20 |
+
|
| 21 |
+
## 🧠 Usage (Python)
|
| 22 |
+
|
| 23 |
+
🔑 **Get your MUAPI key** from [muapi.ai/access-keys](https://muapi.ai/access-keys)
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
import requests, os
|
| 27 |
+
url = "https://api.muapi.ai/api/v1/sdxl-lora-image"
|
| 28 |
+
headers = {"Content-Type": "application/json", "x-api-key": os.getenv("MUAPIAPP_API_KEY")}
|
| 29 |
+
payload = {
|
| 30 |
+
"prompt": "masterpiece, best quality",
|
| 31 |
+
"lora_model": "rem-re-zero-re",
|
| 32 |
+
"lora_strength": 1.0,
|
| 33 |
+
"width": 1024,
|
| 34 |
+
"height": 1024,
|
| 35 |
+
"num_images": 1
|
| 36 |
+
}
|
| 37 |
+
print(requests.post(url, headers=headers, json=payload).json())
|
| 38 |
+
```
|
preview.jpg
ADDED
|
Git LFS Details
|
rem-re-zero-re.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9963f940ed3d9fa012dd3de1eba050f3b9adcf62fcfc4152b9acb21baaecf277
|
| 3 |
+
size 228465876
|