Instructions to use Muapi/oppai-challenge-concept with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Muapi/oppai-challenge-concept with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Muapi/oppai-challenge-concept") 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 Oppai Challenge - Concept
Browse files- .gitattributes +1 -0
- README.md +38 -0
- oppai-challenge-concept.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: OnomaAIResearch/Illustrious-xl-early-release-v0
|
| 5 |
+
tags:
|
| 6 |
+
- lora
|
| 7 |
+
- text-to-image
|
| 8 |
+
- stable-diffusion-xl
|
| 9 |
+
- illustrious
|
| 10 |
+
- illustrious
|
| 11 |
+
pipeline_tag: text-to-image
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Oppai Challenge - Concept
|
| 15 |
+
|
| 16 |
+

|
| 17 |
+
|
| 18 |
+
**Base model**: Illustrious
|
| 19 |
+
**Trained words**: <lora:oppai-challenge-v2-illustriousxl-lora-nochekaiser:1>, oppai challenge, oppai challenge (meme), solo focus, looking at viewer, blush, smile, closed mouth, nipples, upper body, outdoors, sweat, one eye closed, japanese clothes, kimono, night, no bra, floral print, obi, index finger raised, finger to mouth, yukata, one breast out, public indecency, exhibitionism, shushing, flashing, public nudity, festival, summer festival,
|
| 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": "oppai-challenge-concept",
|
| 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 |
+
```
|
oppai-challenge-concept.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f75f63cd4f2d12ca83726812d952d4766777f62431a1d5c5a307bf393bfa7c5
|
| 3 |
+
size 263192576
|
preview.jpg
ADDED
|
Git LFS Details
|