Muapi commited on
Commit
1b77745
·
verified ·
1 Parent(s): 0a33389

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +33 -0
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: openrail++
3
+ tags:
4
+ - lora
5
+ - stable-diffusion
6
+ - flux.1-d
7
+ model_type: LoRA
8
+ ---
9
+
10
+ # Sakimi Chan Style (Pony/Illustrious/FLUX)
11
+
12
+ ![preview](./preview.jpg)
13
+
14
+ **Base model**: Flux.1 D
15
+ **Trained words**:
16
+
17
+ ## 🧠 Usage (Python)
18
+
19
+ 🔑 **Get your MUAPI key** from [muapi.ai/access-keys](https://muapi.ai/access-keys)
20
+
21
+ ```python
22
+ import requests, os
23
+ url = "https://api.muapi.ai/api/v1/flux_dev_lora_image"
24
+ headers = {"Content-Type": "application/json", "x-api-key": os.getenv("MUAPIAPP_API_KEY")}
25
+ payload = {
26
+ "prompt": "masterpiece, best quality, 1girl, looking at viewer",
27
+ "model_id": [{"model": "civitai:462903@780989", "weight": 1.0}],
28
+ "width": 1024,
29
+ "height": 1024,
30
+ "num_images": 1
31
+ }
32
+ print(requests.post(url, headers=headers, json=payload).json())
33
+ ```