Onoff | On/Off LoRA for SDXL

LORA
Original


Updated:

The purpose of this LoRA is to produce side-by-side images of a subject, one wearing clothes and the other nude. It can also be used for creative compositions which contain both clothed and nude figures (clothed on left, naked on right).

Prompting and Troubleshooting Guide

v4

With the 4.0 release, the "onoff" keyword is back! Hope you like it. Simply include the onoff keyword in your prompt and describe your subject and their clothing.

v3

In the 3.0 release, the text encoder is untrained. That means you'll need to explicitly prompt for the side-by-side image to coax SDXL into initally cooperating.

Helpful prompt inclusions: SDXL requires a little more prompting help than SD1.5, so I recommend preceding your prompt with "side-by-side picture, left side dressed, right side undressed" and then describing your subject and their clothing/environment. You might want to add "clothed and nude" but see the notes below.

Is it generating a single image of the subject? Add prompt inclusions to encourage two images. E.g. side-by-side photo, 2 panel

Is it generating different subjects? Note the aspects that are different and add the desired detail to your prompt. In particular, describing the hairstyle can be important to maintaining a consistent subject between panels.

Is it generating too much or not enough nudity? If both sides are clothed, add a prompt phrase like "dressed and undressed" or "clothed and nude." For particularly stubborn outfits, you made need to describe nude body features as well (e.g. breast size, nipples). If the left side ends up being nude as well, try dropping any "clothed and nude" part of the prompt and reduce the frequency of nude body descriptors.

How do I use this to nudify an existing image?

This question comes up a lot, and the answer is: you don't! This is for generating new images of the same subject both clothed and nude.

If you want to change the clothing that a subject is wearing in an existing image, you're better off using in-painting for that, at which point this LoRA isn't really needed.

What about SD 1.5?

If you're working with SD1.5 or a derivative checkpoint, there is already a LoRA for that.

The model already exists. If you are the creator, please contact us to claim it.
View duplicate model

Version Detail

SDXL 1.0
<p>This is the most consistent version yet, but it is just the unet with no text encoder, so there is no significant benefit from using the onoff keyword.</p><p> It needs some help getting the initial layout in order to kick in, so prompting "side-by-side photo, 2 panel, clothed and nude" helps significantly. </p><p>It doesn't get the composition right every time, but succeeds more often than it fails.</p>

Project Permissions

    Use Permissions

  • Use in TENSOR Online

  • As a online training base model on TENSOR

  • Use without crediting me

  • Share merges of this model

  • Use different permissions on merges

    Commercial Use

  • Sell generated contents

  • Use on generation services

  • Sell this model or merges

Comments

Related Posts

No posts yet