Instructions to use Muapi/may-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Muapi/may-pokemon 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/may-pokemon") 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 May (ハルカ) - Pokemon (ポケモン)
Browse files- .gitattributes +1 -0
- README.md +38 -0
- may-pokemon.safetensors +3 -0
- preview.jpg +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 |
+
# May (ハルカ) - Pokemon (ポケモン)
|
| 15 |
+
|
| 16 |
+

|
| 17 |
+
|
| 18 |
+
**Base model**: Pony
|
| 19 |
+
**Trained words**: <lora:pokemon-may-anime-ponyxl-lora-nochekaiser:1>, pokemonmay, blue eyes, brown hair, bandana, long hair, red bandana, twintails, hair between eyes,, bike shorts, collared shirt, gloves, microskirt, multicolored shirt, pencil skirt, red shirt, shirt, short sleeves, skirt, white skirt,
|
| 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": "may-pokemon",
|
| 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 |
+
```
|
may-pokemon.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f40d5a5dfd638747e47bd57bd64db765ee78e2a287d4fd596d13dad64a71a9c5
|
| 3 |
+
size 228461804
|
preview.jpg
ADDED
|
Git LFS Details
|