File size: 1,269 Bytes
40c97cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
license: openrail++
library_name: diffusers
base_model: stabilityai/stable-diffusion-xl-base-1.0
tags:
  - lora
  - text-to-image
  - stable-diffusion-xl
  - sdxl
  - sdxl-1.0
pipeline_tag: text-to-image
---

# Views & Composition

![preview](./preview.jpg)

**Base model**: SDXL 1.0
**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

## 🧠 Usage (Python)

🔑 **Get your MUAPI key** from [muapi.ai/access-keys](https://muapi.ai/access-keys)

```python
import requests, os
url = "https://api.muapi.ai/api/v1/sdxl-lora-image"
headers = {"Content-Type": "application/json", "x-api-key": os.getenv("MUAPIAPP_API_KEY")}
payload = {
    "prompt": "masterpiece, best quality",
    "lora_model": "views-composition",
    "lora_strength": 1.0,
    "width": 1024,
    "height": 1024,
    "num_images": 1
}
print(requests.post(url, headers=headers, json=payload).json())
```