views-composition / README.md
Muapi's picture
Add Views & Composition
40c97cc verified
|
Raw
History Blame Contribute Delete
1.27 kB
metadata
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

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

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())