Instructions to use Muapi/source-engine-aesthetic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Muapi/source-engine-aesthetic with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Muapi/source-engine-aesthetic") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: openrail++
|
| 3 |
+
tags:
|
| 4 |
+
- lora
|
| 5 |
+
- stable-diffusion
|
| 6 |
+
- flux.1-d
|
| 7 |
+
model_type: LoRA
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Source Engine Aesthetic
|
| 11 |
+
|
| 12 |
+

|
| 13 |
+
|
| 14 |
+
**Base model**: Flux.1 D
|
| 15 |
+
**Trained words**: s0urc3, Computer-generated scene of, skybox backdrop, video game environment, Low-polygon 3D modeling with clean simple geometry, matte textures with minimal specular highlights, baked ambient occlusion, shadow mapping, directional lighting with sharp shadow edges, limited dynamic lighting effects, stylized environmental textures with visible tiling, subtle fog effect in distant areas, hard geometric building edges with minimal beveling, semi-realistic proportions with slightly exaggerated features, high contrast between light and shadow areas
|
| 16 |
+
|
| 17 |
+
## 🧠 Usage (Python)
|
| 18 |
+
|
| 19 |
+
🔑 **Get your MUAPI key** from [muapi.ai/access-keys](https://muapi.ai/access-keys)
|
| 20 |
+
|
| 21 |
+
```python
|
| 22 |
+
import requests, os
|
| 23 |
+
url = "https://api.muapi.ai/api/v1/flux_dev_lora_image"
|
| 24 |
+
headers = {"Content-Type": "application/json", "x-api-key": os.getenv("MUAPIAPP_API_KEY")}
|
| 25 |
+
payload = {
|
| 26 |
+
"prompt": "masterpiece, best quality, 1girl, looking at viewer",
|
| 27 |
+
"model_id": [{"model": "civitai:1345659@1519757", "weight": 1.0}],
|
| 28 |
+
"width": 1024,
|
| 29 |
+
"height": 1024,
|
| 30 |
+
"num_images": 1
|
| 31 |
+
}
|
| 32 |
+
print(requests.post(url, headers=headers, json=payload).json())
|
| 33 |
+
```
|