CivArchive
    bad X (bad sdxl negative embedding) - v1.0
    NSFW
    Preview 5885038
    Preview 1868181
    Preview 1868180
    Preview 1868183

    Greetings!

    This is a textual inversion based on SDXL 1.0 images with the refiner, tested and trained to enhance the effectiveness of the output of human figures. It is meant to correct mutation like symptoms of the face and hands, and it has an excellent improvement in the clothing and blurriness and realism of such features as the skin.

    V1.1 Edit: The above images are done on a Pony model of mine, so this embedding will work quite good with all forms of SDXL, as you can see.

    Simply place this in your "embeddings" folder and type "badX" into your negative prompt. In comfyUI, in the negative prompt, include "Embedding:BadX,".

    I have a new account on buymeacoffee:: https://bmc.link/ricesilo11W

    And if you enjoy Stable Diffusion art, check out my galleries: https://deviantart.com/ricesilo

    Commissions Available, contact me on Discord username: RiceSilo

    https://ko-fi.com/ricesilo/commissions

    Description

    FAQ

    Comments (16)

    EricRollei21Aug 11, 2023· 12 reactions
    CivitAI

    Crazy how bad SDXL is with hands! Even with a TI there still is not perfect hands

    lisalee338877308Aug 19, 2023· 2 reactions
    CivitAI

    Great

    AnsonHKSep 21, 2023· 8 reactions
    CivitAI

    Could you please provide SafeTensor file? thanks.

    ricesilo
    Author
    Sep 23, 2023

    Hello! This is in the form of an embedding, it is only 4 KB, I don't believe the webui will accept it if I convert to safetensors. If you know of any embeddings that are doing that could you show me? I can convert to safetensors but I would have to host this off site.

    dschonichDec 5, 2023· 4 reactions
    CivitAI

    On webui the TI is only listed for SD15 models, not for XL !!!

    So the model is not XL compatible.

    ricesilo
    Author
    Jan 25, 2024

    there are some uses of this in the workflows shown in the gallery below so it should be possible, and if you wanted to see the results which should show through with inpainting and other specifics, since this was encoded at the native resolution of SDXL you can use it for altering images that are already made, at the size of 1024x1024 or use the inpaint area of the same approximate size and it should have good effects.

    ricesilo
    Author
    Jan 25, 2024

    yes I'm using it in comfyUI with XL models and it isn't throwing the errors it was for a while, saying its encoders were somehow to be used only with different size values. I don't know why they changed things I even used to be able to keep the model name as separate words 'bad' and 'x' separated with a space which I know is bad practice from a coding perspective but possibly if there is a text encoding added in some types of UI it could have the effect of including the word bad and the word x instead of a word like badx which isn't in the linguistic dictionary that would then have a more favorable result than having the word badx in it, though comfy solves this by having an embedding codeword wrapper. In automatic, it should be set with the code word in the negative prompt as "bad X" since that was the original code word but the title of the file which I changed to badX since then should also suffice in the <> brackets as per normal automatic1111 syntax. Thank you.

    mkDanielDec 27, 2023· 3 reactions
    CivitAI

    It does not show in SDXL.

    FoxbiteDec 29, 2023

    Noticed the same. This embed does not show up with SDXL.

    ricesilo
    Author
    Jan 25, 2024

    There might have been a reprogramming issue in automatic1111, I created this before sdxl was even integrated. If you want to try this specifically, and it won't load I would suggest trying the comfyui dualtextencoder model loader and place this as an embed on the first one and combine the second one's prompt with the first and see if this will run for you. If not it should be possible in some software since this is just encoding textual information.

    simartem07Feb 18, 2024· 2 reactions
    CivitAI

    using in comfyui got result "WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280"

    CanisDirusPrimeMar 5, 2024· 7 reactions
    CivitAI

    had to change the name to bad_X to get Comfy to recognize it. doesn't like the space for some reason. Just FYI in case anyone is having issues with it.

    WildhawkPTMay 8, 2024· 2 reactions
    CivitAI

    I'm using Forge WebUI. This one appears in the SD 1.5 embeddings section, but not in the SDXL. But the states the base model correctly as SDXL.

    Is it just a matter of kind of wrongly set categories?

    ricesilo
    Author
    May 17, 2024

    This was made before Kohya had come out with a training method for SDXL embeddings, I had set the system to work on the correct size and it should function with the first text encoder, I think this was the first SDXL embedding on Civitai. It can be used on ComfyUI.

    ricesilo
    Author
    May 20, 2024· 1 reaction

    come to think of it, I made the demo images in A1111 before it even had SDXL integrated, kind of surprising it might have been the diffusers libraries were different then for text encoder processing and it just included the first TE.

    TheP3NGU1NJun 19, 2024

    I renamed it to be BadX (vs Bad X) and while on SDXL models, if you use BadX in the prompt, it engages still.

    TextualInversion
    SDXL 1.0

    Details

    Downloads
    10,306
    Platform
    CivitAI
    Platform Status
    Available
    Created
    8/4/2023
    Updated
    8/4/2026
    Deleted
    -
    Trigger Words:
    bad X

    Files

    bad X.pt

    Mirrors

    CivitAI (1 mirrors)

    Available On (1 platform)

    Same model published on other platforms. May have additional downloads or version variants.