Instructions to use Muapi/fictional-model-ming-flux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Muapi/fictional-model-ming-flux with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Muapi/fictional-model-ming-flux") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add Fictional Model Ming - FLUX
Browse files- .gitattributes +1 -0
- README.md +37 -0
- fictional-model-ming-flux.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,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: openrail++
|
| 3 |
+
library_name: diffusers
|
| 4 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 5 |
+
tags:
|
| 6 |
+
- lora
|
| 7 |
+
- text-to-image
|
| 8 |
+
- stable-diffusion
|
| 9 |
+
- flux
|
| 10 |
+
- flux.1-d
|
| 11 |
+
pipeline_tag: text-to-image
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Fictional Model Ming - FLUX
|
| 15 |
+
|
| 16 |
+

|
| 17 |
+
|
| 18 |
+
**Base model**: Flux.1 D
|
| 19 |
+
**Trained words**: FictionalMing, blunt bangs and hair in a topbun, black eye makeup
|
| 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/flux_dev_lora_image"
|
| 28 |
+
headers = {"Content-Type": "application/json", "x-api-key": os.getenv("MUAPIAPP_API_KEY")}
|
| 29 |
+
payload = {
|
| 30 |
+
"prompt": "masterpiece, best quality, 1girl, looking at viewer",
|
| 31 |
+
"model_id": [{"model": "civitai:1129465@1269646", "weight": 1.0}],
|
| 32 |
+
"width": 1024,
|
| 33 |
+
"height": 1024,
|
| 34 |
+
"num_images": 1
|
| 35 |
+
}
|
| 36 |
+
print(requests.post(url, headers=headers, json=payload).json())
|
| 37 |
+
```
|
fictional-model-ming-flux.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63d2ce1d30b6c5a8b845d4baa67f306fc7778c683925a97bde1c524b112b6a26
|
| 3 |
+
size 19258152
|
preview.jpg
ADDED
|
Git LFS Details
|