Muapi commited on
Commit
40c97cc
·
verified ·
1 Parent(s): d81151d

Add Views & Composition

Browse files
Files changed (3) hide show
  1. README.md +38 -0
  2. preview.jpg +0 -0
  3. views-composition.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: openrail++
3
+ library_name: diffusers
4
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
5
+ tags:
6
+ - lora
7
+ - text-to-image
8
+ - stable-diffusion-xl
9
+ - sdxl
10
+ - sdxl-1.0
11
+ pipeline_tag: text-to-image
12
+ ---
13
+
14
+ # Views & Composition
15
+
16
+ ![preview](./preview.jpg)
17
+
18
+ **Base model**: SDXL 1.0
19
+ **Trained words**: front_view, 2/3_front, 1/3_front, side_view, 1/3_back, 2/3_back, back_view, eye_level, higher_angle, high_angle, lower_angle, low_angle, top_down, bottom_up, drone_view, wide_angle, full_body, upper_body, lower_body, upper_3/4, feet_out, chest_up, head_only, comp_left, comp_center, comp_right, comp_top, comp_bottom, d_short, d_medium, d_long, d_far, asymmetrical, H_symmetrical, L_symmetrical, centrosymmetric, face_invisible
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": "views-composition",
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
+ ```
preview.jpg ADDED
views-composition.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec2779081c2683299d8e9b1d57f33fba372954a468ab4a279caad072dc189ff2
3
+ size 228465252