This is a CosXL checkpoint. Read before you download.
From the Stability CosXL HuggingFace
"Cos Stable Diffusion XL 1.0 Base is tuned to use a Cosine-Continuous EDM VPred schedule. The most notable feature of this schedule change is its capacity to produce the full color range from pitch black to pure white, alongside more subtle improvements to the model's rate-of-change to images across each step."
In my early tests, the CosXL base model was already fantastic, but I wanted to merge in some of my recent SDXL checkpoint merges to give it a bit more, je ne sais quoi.
Pros and Cons
Pros:
Unparalleled contrast
Super sharp
Seems to have more interesting compositions and diversity than SDXL
Cons:
Super touchy with CFG. If you go beyond 4.0, expect artifacts, even with rescale
Limited subject knowledge
How to use CosXL checkpoints
As of the time I'm posting this, ComfyUI and StableSwarmUI support CosXL out of the box. I have not heard of support for other web UIs.
For finer control of the contrast and detail, add a ModelSamplingContinuousEDM node to the model pipeline and adjust your sigma_max and sigma_min settings.
Don't quote me on this, but I understand those to represent the max and min amount of noise that can be removed from the image in each step.
Raising sigma_max adds more contrast to the image, but overdoing it tends to burn the image a bit. It seems 120 is standard, I like slightly higher values.
You can lower sigma_min to absurdly low values, but I find that anything below 0.0001 or anything above 0.1 result in obvious artifacts.
Recommended Settings
Download the example ComfyUI workflow here.
This model significantly benefits from a second pass (hires fix).
First Pass
40 steps
CFG 3.0-4.0
DPM++ 3M SDE Karras
sigma_max 200
sigma_min: 0.002
Second Pass
1.5x latent upscale
0.3-0.4 denoise
20-40 steps
CFG 3.0-4.0
DPM++ 3M SDE Karras
sigma_max 50
sigma_min: 0.001
I find lowering sigmas in the second pass helps a lot with fine details and produces really, really crisp images.
For an added bonus, you can add the following:
FreeU
B1: 1.05
B2: 1.08
S1: 0.95
S2: 0.88
Self-Attention Guidance
scale: 0.5-0.8
blur_sigma: 2.0-4.0
CFG Rescale: ~0.3
Description
FAQ
Comments (15)
Anybody get it working with Automic1111?
Everything it generates is mosaic. It looks like you accidently mixed a 1.5 VAE inside a XL model or something.
No, I mixed a CosXL VAE into a CosXL checkpoint. Did you read the model details, with the very large heading that says, "Read before downloading?"
Indeed, the problem is probably that I use Forge. '-_-
@Dom83 Right. The scheduler that Cos models use isn't available in any other UI other than Comfy.
Comfy is The Way. Come join us. We have cookies. And nodes.
Even though I use comfyui, the generated images always appear as mosaics. Please someone tell me the solution. I did everything as described in the article, I tried hundreds of times, but I couldn't get any results.
@productionara Can't really help without seeing your workflow. I provided a workflow in the description that works fine. If it's not working, it may be your Comfy setup.
I love it. Works great even with my own SDXL LORA
And what about license of this model? Permissions of RobMix CosXL there and permissions of CosXL on Hugging Face are different. Base CosXL model not only NON-COMMERCIAL, it even "is not intended to be state of the art or for consumer use".
But CivitAi put it in category SDXL, while even Pony, SDXL merge, got a separate category.
If it is different model, based on special method, how we can use it?
There is no category on Civitai for CosXL models, AFAIK.
It's a merge with CosXL, so adhere to that license. I'm not using it commercially.
@roblaughter If only commercially! Also consumer use and for making art. Actually it may be used only in research purposes. And you may be do not use this model in other purposes, but how many people on CivitAi download model for research? I had a question because of license instructions on this cite.
And very curiously - Lightning, Turbo, Pony - Pony! has own category, and CosX - no. May be ask support? However, I am too lazy...
Thank you for providing the merged version. HuggingFace has issues with registration, so your work provides people with the opportunity to understand the actual effects of CosXL.
===========================
感谢提供合并版本,HuggingFace存在无法注册的问题,所以,你的工作让人们有机会了解CosXL的实际效果。
I set up everything but I get noise only.
Could you help me plase?
Only works with ComfyUI.
@Nonsensei I am already getting the error I mentioned on Comfyui.

















