Note: For a discussion of all things related to realistic AI image/music/video generation, join us and share your art with other model creators and enthusiasts at our new Discord server, Unstable AI.sland: https://discord.gg/B6BSCbdAJX.
DMD2 (Speed) Version release:
This version is a DMD2 4-step Lora merge of XXX-Ray V1.1. No need to download/activate the Lora separately.
DMD (Distribution Matched Distillation) allows you to generate fairly good quality images in as little as 4 steps with the LCM sampler. It cannot produce images equivalent in overall quality to a non-DMD2 checkpoint, so please keep this in mind. On the other hand, with 6-10 steps, this thing is fast as hell and outputs more than reasonable generations—which is great for anyone without a high-end graphics card.
No PAG needed for this one. Just ~8 steps, LCM w/Exponential at CFG ~1-2.0. A convenient workflow is provided that will get you off the ground running with text-to-image, an additional DMD2 fast upscale with a Tile ControlNet (to keep things intact while adding detail), and a bonus FaceDetailer node that also takes advantage of the speed of DMD2/lcm. A major weakness of DMD2 is that the low-cfg requirement eliminates attention to the negative at cfg=1.0. My workflow adjusts the noise tonemap and rescales cfg so that you can boost cfg a bit and still have that negative prompt perform somewhat functionally. Get the workflow here: https://civarchive.com/articles/13329/xxx-ray-dmd2-basic-workflow
DMD2 Pros:
Fast as fuck, boi (i.e. ~1s with a 4090 at t2i)
Good anatomy--e.g. You can generate at 1024x1440 at t2i without anatomy horror (mostly), which might eliminate the need for additional upscaling. If you decide to generate at this resolution, the upscale and facedetailer portion of the provided workflow will be overkill.
Sharp
DMD2 Bad:
LCM isn’t great. Background details are a bit blurrier/painterly
Low steps means less attention to prompt and less fine detail overall
Slightly less creativity in terms of pose and composition
Some options:
Download the XXX-Ray DMD2 checkpoint, download the workflow (https://civarchive.com/articles/13329/xxx-ray-dmd2-basic-workflow), get the custom nodes + CN models required for that flow (links in the workflow), generate. This flow is optimized for XXX-Ray DMD2.
Download the XXX-Ray DMD2 checkpoint, use it in your own flow with the following settings:
LCM
Exponential (or SGM-Uniform)
8-10 steps (6 also works acceptably)
CFG ~1.0-1.2
Notes: Disable PAG, SAG or any other modifiers that affect CFG when using DMD2. You’ll get a burnt mess if you leave them on.
What is XXX-Ray:
This is a photorealism model merge using (block) DARE ties w/model masking. It was tailored to produce slightly darker and grungier images, which is my own stylistic preference. I'm primarily releasing this for friends who've been asking for it, but also anyone else who is looking for a "moodier" realistic model that has good skin texture, lighting, and prompt adherence, but doesn't want that "Pony" look. No Pony derivatives were merged into this mix (v1.0). If you like the types of images that I generate, you'll probably like this model too. Good for both sfw and nsfw.
Many of your favorite realistic models are included in this merge to some degree, so expect similar results. It has been tested against other popular merges with X/Y plots and is able to generate unique output. Great for selfies, polaroid-style images, and analog shots in general. Good for upscaling too, though perhaps not as good as the incredible Lustify at the latter. It gets skin color/tone right most of the time. Its weaknesses are eyes (which is an easy fix with a detailer) and the occasional floating wang. Also not great for anything too fantastical. Overall its pretty good, and once in a while knocks it out of the park. Have fun with it. And remember, you get what you pay for.
The example images include a basic Comfyui workflow that I whipped up to help you get off the ground. XXX-Ray has been tested in ReForge as well and works as intended with the suggested settings below.
Some advice for its use (V1/V1.1):
Use PAG (Perturbed Attention Guidance) at ~1.5-2.0.
Asp tokens were kept intact as best as possible in the merging and work well: (https://gist.github.com/fpgaminer/0243de0d232a90dcae5e2f47d844f9bb).
The Detail Daemon sampler (~0.04), like PAG, will boost output quality.
Using score tags (e.g. score_7_up) will affect your generations slightly, but they are not strictly necessary.
Use the included comfyui workflow if you're having issues: https://civarchive.com/articles/9981
Upscaling is your friend. This is also included in the provided workflow.
Settings that have worked well for me with this merge (V1/V1.1):
DPM++2M sde Karras at 23+ steps, DPM++ SDE Karras at 18+ steps, or DPM++2M sde AYS at 14+ steps.
CFG ~4.0-4.5.
PAG (strongly recommended) at 1.5-2.0.
If you'd like to use DMD2, use the 4-step LoRA, LCM w/Exponential at 8-steps, CFG = 1.0-1.5.
Note: Credit to @nutbutter, @erotes_anteros, @coyotte and @ndimensional for their masterfully trained checkpoints. The community should be ever grateful for their efforts.
Big Asp: https://civarchive.com/models/502468/bigasp
Lustify: https://civarchive.com/models/573152?modelVersionId=1094291
NatVis: https://civarchive.com/models/617652/natvis-natural-vision
Anteros XXXL: https://civarchive.com/models/430454?modelVersionId=479579
Description
This version is a DMD2 4-step Lora merge of XXX-Ray V1.1. No need to download/activate the Lora separately.
DMD (Distribution Matched Distillation) allows you to generate fairly good quality images in as little as 4 steps with the LCM sampler. It cannot produce images equivalent in overall quality to a non-DMD2 checkpoint, so please keep this in mind. On the other hand, with 6-10 steps, this thing is fast as hell and outputs more than reasonable generations—which is great for anyone without a high-end graphics card.
No PAG needed for this one. Just ~8 steps, LCM w/Exponential at CFG ~1-2.0. A convenient workflow is provided that will get you off the ground running with text-to-image, an additional DMD2 fast upscale with a Tile ControlNet (to keep things intact while adding detail), and a bonus FaceDetailer node that also takes advantage of the speed of DMD2/lcm. A major weakness of DMD2 is that the low-cfg requirement eliminates attention to the negative at cfg=1.0. My workflow (see examples with workflow embedded) adjusts the noise tonemap and rescales cfg so that you can boost cfg a bit and still have that negative prompt perform somewhat functionally.
FAQ
Comments (26)
An absolute BEAST of a checkpoint. Does everything exactly as supposed to. Beats everything I have tried earlier!
I tried dmd2 and totally works with my full pony prompt and loras, though doesnt want to wear pants:)))
Depending on how "horny" your prompt is (i.e. how many nsfw tokens), it could be forcing attention in that direction. In general, if you prompt things like leggings, jeans, pants, etc., you'll get pants.
@RaymondLuxuryYacht Exatly. I need refine a bit my prompt. I deleted my pose prompts, still cant wear pants, nude only. Girl can wear swimsuit, but not leggings.
But really good, accept booru sex tags.
Should i train a character lora with the base XL or train with xxxray dmd2?
this model xxxRay_dmd2 is very gamechanger!!!. best model ever
Can someone explain, how do you find similar models that work with LCM and up to ~10 steps? I just randomly found this model. And this is exactly what my hardware needs. Amazing model... but are there more like this?
Grab the DMD2 4-step LoRA from here: https://huggingface.co/tianweiy/DMD2/tree/main and you can use it with any model. Same generation params/settings as on this one.
What @RaymondLuxuryYacht said - I use the DMD lora 100% of the time with regular SDXL models. Also there are some other models that only come in DMD versions such as Siren Forge, Gonzales and Splashed Mix. These three are all outstanding, in addition to XXX Ray of course.
🤦♀️
I really love this model, but how can i prompt big boobs but sfw? hasdhsa the moment i put 'boobs' the nsfw triggers
Found any workaround?
@Workflow_in_Bio If I want clothes to stay on and keep the busty look I'll use something like "cleavage". As is the case with most XL realism merges, the moment you mention any token related to nudity (such as breasts, tits, boobs, etc) it'll move the diffusion in the direction of porn.
I don't care about gen speed, in this case can I just download the 1.1 or the DMD2 low step have better and updated dataset?
The DMD2 version is just v1.1 + the DMD2 lora. Both are v1.1--up to you to pick your speed/quality tradeoff.
RLY is legit. When it comes to realism as far as I'm concerned he's the best I've seen. Check out his pictures, you could literally pass of a lot of them as if they werent AI gen
Fantastic model but generating lots of url and logos
Yeah, likely due to the inclusion of BigAsp in the merge. If you use NAG and go above CFG 1.0 you can prompt "watermark, logo" in the negative and that will help
why am i getting it in lines and random colour like comic art style
lower cfg to around 1?
Dont know why the post process i get is on B/W why??
Not enough info. What's your post process? Settings?
Is there a way to ONLY save the images that I choose to upscale and stuff? I got like 80 million images over here!
Control+B (bypass) the save image node after the first text-to-image VAE Decode.
@RaymondLuxuryYacht appreciate it. Don't know why I didn't think of that. Oh yeah, I'm dumb.
Check out the cg-image-filter custom node in ComfyUI. I place it right after the face and hand detailer and before my Save Image With MetaData node. That way, you get a pop-up of the gen, and you can select if you want to keep it or not before the timer runs out. Be sure to bypass the save image node, as another person mentioned.



















