Text-to-Image
Diffusers
English
Arabic
stable-diffusion-xl
sdxl
lora
king2
arabic
art
image-generation
fal-ai
Instructions to use RASHID778/king2-image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use RASHID778/king2-image with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("RASHID778/king2-image") prompt = "a futuristic royal palace at sunset, highly detailed, 8k, golden hour, epic composition" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -292,18 +292,16 @@ Here are some prompts that work exceptionally well with KING2-IMAGE:
|
|
| 292 |
|
| 293 |
## 🖼️ Example Images
|
| 294 |
|
| 295 |
-
> **Note:** Example images are placeholders. Replace the URLs below with actual generated outputs.
|
| 296 |
-
|
| 297 |
<p align="center">
|
| 298 |
-
<img src="https://huggingface.co/RASHID778/king2-image/resolve/main/examples/example_01.png" alt="Example 1" width="45%">
|
| 299 |
-
<img src="https://huggingface.co/RASHID778/king2-image/resolve/main/examples/example_02.png" alt="Example 2" width="45%">
|
| 300 |
</p>
|
| 301 |
<p align="center">
|
| 302 |
-
<img src="https://huggingface.co/RASHID778/king2-image/resolve/main/examples/example_03.png" alt="Example 3" width="45%">
|
| 303 |
-
<img src="https://huggingface.co/RASHID778/king2-image/resolve/main/examples/example_04.png" alt="Example 4" width="45%">
|
| 304 |
</p>
|
| 305 |
|
| 306 |
-
<p align="center"><em>Images generated with KING2-IMAGE using prompts from the
|
| 307 |
|
| 308 |
---
|
| 309 |
|
|
|
|
| 292 |
|
| 293 |
## 🖼️ Example Images
|
| 294 |
|
|
|
|
|
|
|
| 295 |
<p align="center">
|
| 296 |
+
<img src="https://huggingface.co/RASHID778/king2-image/resolve/main/examples/example_01.png" alt="Example 1 — Futuristic royal palace at sunset" width="45%">
|
| 297 |
+
<img src="https://huggingface.co/RASHID778/king2-image/resolve/main/examples/example_02.png" alt="Example 2 — Majestic arabian knight on horseback" width="45%">
|
| 298 |
</p>
|
| 299 |
<p align="center">
|
| 300 |
+
<img src="https://huggingface.co/RASHID778/king2-image/resolve/main/examples/example_03.png" alt="Example 3 — Ancient library with floating books" width="45%">
|
| 301 |
+
<img src="https://huggingface.co/RASHID778/king2-image/resolve/main/examples/example_04.png" alt="Example 4 — Cosmic king on a throne of stars" width="45%">
|
| 302 |
</p>
|
| 303 |
|
| 304 |
+
<p align="center"><em>Images generated with KING2-IMAGE using prompts from the example tables above.</em></p>
|
| 305 |
|
| 306 |
---
|
| 307 |
|