Instructions to use AiArtLab/sdxs-2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AiArtLab/sdxs-2b with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AiArtLab/sdxs-2b", dtype=torch.bfloat16, device_map="cuda") prompt = "sdxs-2b" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Initial model weights
Browse files- README.md +12 -25
- media/start.png +3 -0
README.md
CHANGED
|
@@ -11,9 +11,9 @@ widget:
|
|
| 11 |
|
| 12 |
# Simple Diffusion XS (sdxs-2b alpha version)
|
| 13 |
|
| 14 |
-
*XS Size, Excess Quality
|
| 15 |
|
| 16 |
-
Train status:
|
| 17 |
|
| 18 |
<img src="media/refined.jpg" height="256"/>
|
| 19 |
|
|
@@ -23,13 +23,16 @@ At AiArtLab, we strive to create a free, compact and fast model that can be trai
|
|
| 23 |
- Qwen3.5: 0.8b parameters
|
| 24 |
- Qwen vae: 16ch8x
|
| 25 |
- Resolution: Default 768x1152, trained from 768 to 1152 with step 64
|
| 26 |
-
- Limitations: trained on small datasets ~
|
| 27 |
- Captions: danbooru, natural (short/medium), trained with 250 max toks
|
| 28 |
|
| 29 |
|
| 30 |
### Key points
|
| 31 |
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
|
| 35 |
### Samples with seed 0 and good prompts
|
|
@@ -55,39 +58,23 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
| 55 |
).to(device)
|
| 56 |
|
| 57 |
refined = "A blonde-haired Red Eyes girl with a hair ribbon, half-updo, and tsurime stands solo in a flower field holding a bouquet with a serene smile, wearing green overalls, a white shirt, rolled-up sleeves, and a straw hat with a flower while looking at the viewer under volumetric and natural lighting with a Dutch angle."
|
| 58 |
-
|
|
|
|
|
|
|
| 59 |
output = pipe(
|
| 60 |
prompt=refined,
|
| 61 |
negative_prompt=negative_prompt,
|
| 62 |
-
seed=43,
|
| 63 |
)
|
| 64 |
|
| 65 |
image = output.images[0]
|
| 66 |
-
|
| 67 |
image.show()
|
| 68 |
```
|
| 69 |
|
| 70 |
### Prompt refiner
|
| 71 |
-
```
|
| 72 |
-
refined = pipe.refine_prompts("1girl
|
| 73 |
-
anime coloring, delicate, dreamy, natural shadow, serene atmosphere,
|
| 74 |
-
<lora:hololive_kaela_kovalskia_redebut:0.65> kaela20, blonde hair, red eyes, hair ribbon, red ribbon, long hair, half updo, tsurime,
|
| 75 |
-
BREAK
|
| 76 |
-
overalls, green overalls, white shirt, straw hat, hat flower, daisy, sleeves rolled up, three-quarter sleeves,
|
| 77 |
-
outdoors, flower field,
|
| 78 |
-
bouquet, holding bouquet, looking at viewer, smile,
|
| 79 |
-
m¨h0r_a97Q, refraction, prismatic light,
|
| 80 |
-
<lora:WSSKX_WAI:0.35>
|
| 81 |
-
<lora:ashima-il:0.35>
|
| 82 |
-
<lora:MYRHA-¨00:0.75>
|
| 83 |
-
<lora:Dramatic Lighting Slider:3.5>
|
| 84 |
-
<lora:spo_sdxl_10ep_4k-data_lora_webui:1.3>")
|
| 85 |
print(refined[0])
|
| 86 |
```
|
| 87 |
-
Refined prompt:
|
| 88 |
-
|
| 89 |
-
A blonde-haired Red Eyes girl with a hair ribbon, half-updo, and tsurime stands solo in a flower field holding a bouquet with a serene smile, wearing green overalls, a white shirt, rolled-up sleeves, and a straw hat with a flower while looking at the viewer under volumetric and natural lighting with a Dutch angle.
|
| 90 |
-

|
| 91 |
|
| 92 |
## Donations
|
| 93 |
Donated on train: 0$ Thanks for your support!
|
|
|
|
| 11 |
|
| 12 |
# Simple Diffusion XS (sdxs-2b alpha version)
|
| 13 |
|
| 14 |
+
*XS Size, Excess Quality*
|
| 15 |
|
| 16 |
+
Train status: 4xRTX4090 / we need more gold / [support us please..](https://huggingface.co/AiArtLab/sdxs-2b#donations)
|
| 17 |
|
| 18 |
<img src="media/refined.jpg" height="256"/>
|
| 19 |
|
|
|
|
| 23 |
- Qwen3.5: 0.8b parameters
|
| 24 |
- Qwen vae: 16ch8x
|
| 25 |
- Resolution: Default 768x1152, trained from 768 to 1152 with step 64
|
| 26 |
+
- Limitations: trained on small datasets ~2.5kk, focused on art / illustrations / anime and photo
|
| 27 |
- Captions: danbooru, natural (short/medium), trained with 250 max toks
|
| 28 |
|
| 29 |
|
| 30 |
### Key points
|
| 31 |
|
| 32 |
+
<img src="media/start.png" height="256"/>
|
| 33 |
+
|
| 34 |
+
- Apr 2026: Started research of Cosmos Transformer
|
| 35 |
+
- May 2026: 1st preview (Initial model weights)
|
| 36 |
|
| 37 |
|
| 38 |
### Samples with seed 0 and good prompts
|
|
|
|
| 58 |
).to(device)
|
| 59 |
|
| 60 |
refined = "A blonde-haired Red Eyes girl with a hair ribbon, half-updo, and tsurime stands solo in a flower field holding a bouquet with a serene smile, wearing green overalls, a white shirt, rolled-up sleeves, and a straw hat with a flower while looking at the viewer under volumetric and natural lighting with a Dutch angle."
|
| 61 |
+
|
| 62 |
+
negative_prompt = "worst quality, low quality, loli, low details, blurry, jpeg artifacts, unfinished, sketch, sepia, missing limb, text, bad anatomy, bad proportions, bad hands, missing fingers"
|
| 63 |
+
|
| 64 |
output = pipe(
|
| 65 |
prompt=refined,
|
| 66 |
negative_prompt=negative_prompt,
|
|
|
|
| 67 |
)
|
| 68 |
|
| 69 |
image = output.images[0]
|
|
|
|
| 70 |
image.show()
|
| 71 |
```
|
| 72 |
|
| 73 |
### Prompt refiner
|
| 74 |
+
```python
|
| 75 |
+
refined = pipe.refine_prompts("1girl")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
print(refined[0])
|
| 77 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
## Donations
|
| 80 |
Donated on train: 0$ Thanks for your support!
|
media/start.png
ADDED
|
Git LFS Details
|