CrystaliTIXL

Uploaded by chromesun

Version
v2.0
Base Model
SDXL 1.0
CivitAI Tags
gemglassstylecrystal
Download Link
https://civitai.com/api/download/models/371565

Use the model without crediting the creator
Sell images they generate
Run on services that generate images for money
Run on Civitai
Share merges using this model
Sell this model or merges using this model
Have different permissions when sharing merges

Description

UPDATE: 2024-MAR-03

A complete redo-from-start.

Trigger: cs-cr1stal-v2

This embedding adds a colorful glassy/crystalline effect to your generated images. Generally you should use the trigger at or near the start of your prompts.

For short prompts you’ll usually get a glass figurine result.

For longer prompts the embedding should affect your main subject and perhaps some other minor objects. It may add faceted gems here and there.

Occasionally it causes the main subject to be missing - don’t know why, but I’ve observed the same thing happening with other TIs and LoRAs. Guess it’s just part of the fun of SDXL :-)

For this embedding, using color terms such as ruby, amethyst, sapphire etc is generally better than using red, purple, blue etc.

Sometimes the embedding adds feathers. No idea why.

Weighting from 0.8 <---> 1.2 worked fine but I found little need for weighting in a1111. If you’re using ComfyUI you might need to weight upwards. I don’t know why, but several ComfyUI users have told me they needed to up-weight embeddings in general.

Generally I’ve been using it with:

Euler A or DPM++ 2M Karras

width x height: either 1024x1024 or values that multiply to approx 1 megapixel

30 <---> 50 steps

cfg from 7 <---> 10

Hires.fix:

Latent (nearest-exact) scaling between 1.25 and 1.75, steps=30, denoise=0.7

Can give some fantastic images but the high denoise risks mutation/duplication.

or

4X-UltraSharp scaling between 1.25 and 1.75, steps=30, denoise=0.4

The denoise is high emough to add some extra detail without risking too much mutation/duplication.

Models:

mostly tested with Crystal Clear XL model:

https://civitai.com/models/122822?modelVersionId=133832

Also got good results with Juggernaut 9, Artium 2, Pixelwave 8, Polyhedron 3, and ZavyChroma.

This embedding worked well in combination with all the LoRAs and embeddings I tried. Using multiple LoRAs in one prompt with this embedding also worked well.

[PUBLISHEDTOCIVITAIONLY]

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

UPDATE: 10 Sep 2023

This embedding adds crystal and/or gem effects to SDXL generated images. The low step count means it’s not subtle, but I hope it shows there’s untapped potential for SDXL embeddings.

The downloadable “kcrstal17xl-step00002000.safetensors” is 2000 steps, batch=1, trained on a set of fifty 1024x1024 images using kohya_ss. If I can bear the slooooooow training time I’ll update this page with a more refined embedding in the future.

The showcase is in pairs of automatic1111 webui outputs:

with the embedding, without the embedding

The showcase images use the Crystal Clear XL model:

https://civitai.com/models/122822?modelVersionId=133832

Prompting has been a bit annoying, perhaps because I don’t really have a feel for the changes from Stable Diffusion v1.5 to SDXL. The prompts for the showcase images are mostly in the form:

kcrstal17xl analog realistic __art styles 1__ colour photo of a __crystal_test_1__, very detailed, award-winning

Wildcard __art styles 1__ is a list of art styles such as “Impressionism”.

Wildcard __crystal_test_1__ is a list of short phrases such as “frog on a deckchair”.

You can weight the embedding up or down - I generally use values between 0.6 and 1.2. Strangely, I’ve found that a weighting of 0.1 still has a noticeable effect.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

03 Sep 2023

This is a proof-of-concept rather than a polished embedding. Maybe it should be an Article rather than a normal resource page?

The downloadable “kcrstal17xl-step00001200.safetensors” is just 1200 steps, batch=1, trained on a set of fifty 1024x1024 images. If I can bear the slooooooow training time I’ll update this page with a more refined embedding in the future.

The embedding adds crystal and/or gem effects to SDXL generated images. The low step count means it’s not subtle, but I hope it shows there’s untapped potential for SDXL embeddings.

The showcase is in pairs of ComfyUI outputs:

with the embedding, without the embedding

and then 2 pairs of the mess that a1111 v1.6.0 outputs:

saved image, screencap of “Approx NN” preview

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Rambling explanation...

I’m quite impressed with the output from SDXL and I wanted to convert/recreate my SD v1.5 embeddings to work with SDXL.

The Train tab in automatic1111 webui was what I used to make CrystaliTI:

https://civitai.com/models/135403/crystaliti

and I hoped the recent v1.6.0 of a1111 would add SDXL training. Nope. And not likely to happen either according to this:

https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/11857#discussioncomment-6480804

The obvious answer seemed to be kohya_ss:

https://github.com/bmaltais/kohya_ss

I’ve never used it, so the sheer amount of config options was a bit of a shock! First thing I tried was to recreate CrystaliTI in kohya_ss. That didn’t get off to a good start, but thanks to:

https://civitai.com/articles/618/tutorial-kohya-ss-dreambooth-ti-textual-inversion-embedding-creation

I got there in the end. Thumbs-up to @Desi_Cafe for the above tutorial.

The kohya_ss TI is different from my original CrystaliTI of course, but it’s similar enough that I’m OK with it.

Next step was to change the kohya_ss settings to use SDXL and point it at 1024x1024 versions of my 50 training images. 21 hours later, kohya_ss has managed 1240 steps out of 2000 (batch=1).

That’s just over 1min/it. :-(

By comparison, I think recreating CrystaliTI ran at about 0.5s/it.

I was expecting (guessing!) a slowdown of between 4 and 16 times. Not >100 times slower :-(

The PC I’m using is:

Nvidia 3060/12GB (not the Ti version), Ryzen 7-2700 (8c/16t), 64GB system RAM, multiple SSDs, Win10pro.

While kohya_ss is making the SDXL embedding, it’s using all 12GB of the 3060 + 7GB of “Shared GPU memory”. I guess using the shared RAM (i.e. system RAM) is one reason it’s so slooooooow?

Perhaps there are some better settings I can use in kohya_ss? A quick google shows contradictory/incomplete info so if anyone has any suggestions of what options in the current kohya_ss can help with VRAM consumption... I’m all ears.

Kohya_ss is set to save the embedding every 50 steps, so I’ve been able to copy them over to my backup machine: 2060/6GB, i7-10750H (6c/12t), 16GB system RAM, multiple SSDs, Win10pro. It can generate SDXL images in the a1111 webui (v1.6.0) if I use --lowvram. Generally about 2mins per pic in a1111.

I tried the SDXL embedding in ComfyUI (current portable version, no custom nodes).

And here we are - it looks like creating SDXL embeddings is doable, but slow. My toy budget is not going to manage a 4090 anytime soon, so unless I can find a way of speeding up creation on the 3060/12 I guess I won’t be making many embeddings.

If any kohya_ss experts have read this far, I’ve added my config to the downloads in the hope some kind person might be able to suggest something (anything!) that would speed up the generation process.

Prompt
cs-cr1stal-v2 craquelure peridot merhorse, copper wire edging, dw01-3400
Seed
3655753086
Size
1024x1024
Model
crystalClearXL_ccxl
Sampler
DPM++ 2M Karras
Steps
40
CFG scale
8
Vae
sdxl_vae.safetensors
Ngms
1
Hashes
{'model': '0b76532e03'}
Template
"cs-cr1stal-v2 __surface_texture_2__ __gems_s_2__ __MARBLE1/fantasy_mount__, __chromesun_colours_2__ wire edging, dw01-3400"
Vae hash
235745af8d
Dw01-3400
b4d8fe4a8f0f"
Resources
[{'hash': '0b76532e03', 'name': 'crystalClearXL_ccxl', 'type': 'model'}]
Model hash
0b76532e03
Hires steps
30
Hires upscale
1.25
"cs-cr1stal-v2
724c80ab7720
Hires upscaler
4x-UltraSharp
Denoising strength
0.4
Prompt
cs-cr1stal-v2 galvanised tourmaline dragon, bronze wire edging, dw01-3400
Seed
3655753091
Size
1024x1024
Model
crystalClearXL_ccxl
Sampler
DPM++ 2M Karras
Steps
40
CFG scale
8
Vae
sdxl_vae.safetensors
Ngms
1
Hashes
{'model': '0b76532e03'}
Template
"cs-cr1stal-v2 __surface_texture_2__ __gems_s_2__ __MARBLE1/fantasy_mount__, __chromesun_colours_2__ wire edging, dw01-3400"
Vae hash
235745af8d
Dw01-3400
b4d8fe4a8f0f"
Resources
[{'hash': '0b76532e03', 'name': 'crystalClearXL_ccxl', 'type': 'model'}]
Model hash
0b76532e03
Hires steps
30
Hires upscale
1.25
"cs-cr1stal-v2
724c80ab7720
Hires upscaler
4x-UltraSharp
Denoising strength
0.4
Prompt
cs-cr1stal-v2 analog realistic photograph of a magnificent Gothic cathedral in a desert at night, very detailed, intricate
Negative prompt
toy, replica, scale model, (signature), logo, nude, naked, nudity
Seed
3849053110
Size
1024x1024
Model
crystalClearXL_ccxl
Sampler
DPM++ 2M Karras
Steps
50
CFG scale
10
Vae
sdxl_vae.safetensors
Ngms
1
Hashes
{'model': '0b76532e03'}
Template
"cs-cr1stal-v2 analog realistic photograph of a magnificent __crystal_test_1__, very detailed, intricate"
Vae hash
235745af8d
Resources
[{'hash': '0b76532e03', 'name': 'crystalClearXL_ccxl', 'type': 'model'}]
Model hash
0b76532e03
Hires steps
30
Hires upscale
1.25
"cs-cr1stal-v2
724c80ab7720"
Hires upscaler
Latent (nearest-exact)
Negative template
"toy, replica, scale model, (signature), logo, nude, naked, nudity"
Denoising strength
0.7
Prompt
cs-cr1stal-v2 analog realistic Cubism colour photo of a hen, very detailed, award-winning
Negative prompt
orange
Seed
2283621173
Size
1024x1024
Model
crystalClearXL_ccxl
Sampler
DPM++ 2M Karras
Steps
50
CFG scale
7
Vae
sdxl_vae.safetensors
Ngms
1
Hashes
{'model': '0b76532e03'}
Template
"cs-cr1stal-v2 analog realistic Cubism colour photo of a hen, very detailed, award-winning"
Vae hash
235745af8d
Resources
[{'hash': '0b76532e03', 'name': 'crystalClearXL_ccxl', 'type': 'model'}]
Model hash
0b76532e03
"cs-cr1stal-v2
724c80ab7720"
Negative template
orange
Prompt
cs-cr1stal-v2 analog realistic Neo-Impressionism colour photo of a unicorn with 1 horn, very detailed, award-winning
Seed
3524530703
Size
1024x1024
Model
crystalClearXL_ccxl
Sampler
DPM++ 2M Karras
Steps
50
CFG scale
7
Vae
sdxl_vae.safetensors
Ngms
1
Hashes
{'model': '0b76532e03'}
Template
"cs-cr1stal-v2 analog realistic Neo-Impressionism colour photo of a unicorn with 1 horn, very detailed, award-winning"
Vae hash
235745af8d
Resources
[{'hash': '0b76532e03', 'name': 'crystalClearXL_ccxl', 'type': 'model'}]
Model hash
0b76532e03
"cs-cr1stal-v2
724c80ab7720"
Prompt
cs-cr1stal-v2 analog realistic Symbolism colour photo of a snail with bioluminescent shell, very detailed, award-winning
Seed
2847778468
Size
1024x1024
Model
crystalClearXL_ccxl
Sampler
DPM++ 2M Karras
Steps
50
CFG scale
7
Vae
sdxl_vae.safetensors
Ngms
1
Hashes
{'model': '0b76532e03'}
Template
"cs-cr1stal-v2 analog realistic Symbolism colour photo of a snail with bioluminescent shell, very detailed, award-winning"
Vae hash
235745af8d
Resources
[{'hash': '0b76532e03', 'name': 'crystalClearXL_ccxl', 'type': 'model'}]
Model hash
0b76532e03
"cs-cr1stal-v2
724c80ab7720"
Prompt
cs-cr1stal-v2 analog realistic Renaissance colour photo of a fish, very detailed, award-winning
Seed
1146758583
Size
1024x1024
Model
crystalClearXL_ccxl
Sampler
DPM++ 2M Karras
Steps
50
CFG scale
7
Vae
sdxl_vae.safetensors
Ngms
1
Hashes
{'model': '0b76532e03'}
Template
"cs-cr1stal-v2 analog realistic Renaissance colour photo of a fish, very detailed, award-winning"
Vae hash
235745af8d
Resources
[{'hash': '0b76532e03', 'name': 'crystalClearXL_ccxl', 'type': 'model'}]
Model hash
0b76532e03
"cs-cr1stal-v2
724c80ab7720"
Prompt
cs-cr1stal-v2 illustrative Op Art photograph, a coloured picture of a (silver-tinted:0.33) anatomical heart, dripping red flames, very detailed, award-winning
Seed
3682903616
Size
1024x1024
Model
crystalClearXL_ccxl
Sampler
DPM++ 2M Karras
Steps
40
CFG scale
7
Vae
sdxl_vae.safetensors
Ngms
1
Hashes
{'model': '0b76532e03'}
Template
"cs-cr1stal-v2 illustrative Op Art photograph
Vae hash
235745af8d
Resources
[{'hash': '0b76532e03', 'name': 'crystalClearXL_ccxl', 'type': 'model'}]
Model hash
0b76532e03
"cs-cr1stal-v2
724c80ab7720"
A coloured picture of a (silver-tinted
0.33) anatomical heart, dripping red flames, very detailed, award-winning"
Prompt
cs-cr1stal-v2 analog realistic Art Nouveau colour photo of a cooked fish on a serving platter, very detailed, award-winning
Seed
3524530722
Size
1024x1024
Model
crystalClearXL_ccxl
Sampler
DPM++ 2M Karras
Steps
50
CFG scale
7
Vae
sdxl_vae.safetensors
Ngms
1
Hashes
{'model': '0b76532e03'}
Template
"cs-cr1stal-v2 analog realistic Art Nouveau colour photo of a cooked fish on a serving platter, very detailed, award-winning"
Vae hash
235745af8d
Resources
[{'hash': '0b76532e03', 'name': 'crystalClearXL_ccxl', 'type': 'model'}]
Model hash
0b76532e03
"cs-cr1stal-v2
724c80ab7720"
Prompt
cs-cr1stal-v2 analog realistic Impressionism colour photo of a flower, very detailed, award-winning
Seed
3843693008
Size
1024x1024
Model
crystalClearXL_ccxl
Sampler
DPM++ 2M Karras
Steps
50
CFG scale
7
Vae
sdxl_vae.safetensors
Ngms
1
Hashes
{'model': '0b76532e03'}
Template
"cs-cr1stal-v2 analog realistic Impressionism colour photo of a flower, very detailed, award-winning"
Vae hash
235745af8d
Resources
[{'hash': '0b76532e03', 'name': 'crystalClearXL_ccxl', 'type': 'model'}]
Model hash
0b76532e03
"cs-cr1stal-v2
724c80ab7720"