Downloads · 30 days
10
21% of all-time downloads
Muapi/white-background
white-background is a text-to-image model from Muapi. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as openrail++.
Downloads · 30 days
10
21% of all-time downloads
All-time downloads
48
Public
Repo size
89.1 MB
Likes
0
Public
Click a slice to open those files.
.safetensors88.9 MB · 100%
From the Hugging Face model README

Base model: SDXL 1.0 Trained words: with a white background
🔑 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": "white-background",
"lora_strength": 1.0,
"width": 1024,
"height": 1024,
"num_images": 1
}
print(requests.post(url, headers=headers, json=payload).json())