Muapi commited on
Commit
c3e9099
·
verified ·
1 Parent(s): 3f14166

Add Might & Magic Styles

Browse files
Files changed (3) hide show
  1. README.md +37 -0
  2. might-magic-styles.safetensors +3 -0
  3. preview.jpg +0 -0
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
+ # Might & Magic Styles
15
+
16
+ ![preview](./preview.jpg)
17
+
18
+ **Base model**: Flux.1 D
19
+ **Trained words**: Heroes3unitstyle, heroes3 unit
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:793144@1028215", "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
+ ```
might-magic-styles.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9d46cc54dd0a9bfeeb16212704c0178fbcf2a0fd5b6c787baa8446f10025a64
3
+ size 19260072
preview.jpg ADDED