Flex Waifu

FlexWaifu is a fine-tuned model from Waifu Diffusion 1.3 for producing high resolution or different aspect ratio images.

Model Description

Model Name Recipe
FlexWaifu WD1.3 + 2.0 * hires_test_a + smooth_test_a
FlexWaifu v1.3.1 FlexWaifu + 20.0 * IR_1girl1boy_1 + 16.0 * IR_1girl1boy_2 + 16.0 * IR_1girl1boy_3
FlexWaifuRainbow FlexWaifu + FWRLoRA
(Exp) FW TEfixed WD1.3 + hires_test_d + FW_TEfixed + FW_TEfixed2

FlexWaifu

This model was created by merging two original LoRAs of testLoRAs into WD1.3.

It is just a merged model. While this model is likely to produce good generation at medium resolution, consider using LoRAs of testLoRAs if it does not produce well.

v1.3.1

The model is fine-tuned with self-generated images with a single word prompt "1girl" or "1boy" and generates well without much prompting.

Twin LoRA has reduced the percentage of bad output without changing the style much. The images for the three Twin LoRAs were generated by FlexWaifu or a model merging Twin LoRA into it. 3-5k images are used per Twin LORA, no duplicates. The reward value of ImageReward was used to classify the images.

Twin LoRA

When fine-tuning, we create two LoRAs, a good LoRA and a bad LoRA, and take the difference between them in order to suppress adverse effects and achieve the desired effect.

method

  1. Create a set of images with the same prompt.
  2. Divide the image set into two equal parts, good and bad, according to certain evaluation criteria.
  3. Create a LoRA for each data set.
  4. Subtract the bad LoRA from the good LoRA. (Note: the dimension is twice the original LoRA)
  5. Apply differential LoRA in any weight.

Flex Waifu Rainbow

This model is further fine-tuned from FlexWaifu with ~17k nijijourneyv5 tagged images of various authors published on the Internet. It is merged from six dim 8 LoRAs made in various settings, and FWRLoRA is the merged LoRA (dim 48). Most LoRAs were fine-tuned with Aspect Ratio Backetting with a maximum resolution of 1152x768 images, but some are up to 768x768 or 512x768. Image captions are made by BLIP and ~12k images also used WD1.4-tagger.

Usage

The format of the caption suggests that a short natural language sentence followed by a comma-separated tags is the most natural way to describe the prompt. Using more tags that are well-estimated by the tagger in the trained images may lead to more preferable generation. "tags.json" lists the tags estimated for over 200 of the 12k images. Tag semantics may be inappropriate for automatic tagging, so please emphasize appropriately.

CLIP Skip 1 is recommended.

(Experimental) Flex Waifu TEfixed

This is an experimental fine-tuned model based on WD1.3 with TE fixed; it is not based on FW1.3.1. Use whichever you prefer. Fixing TE is intended to avoid degradation of language understanding during fine-tuning, but it may have been under-trained because it is slower learning. The dataset are NijiJourney-Prompt-Pairs and AI Illustration tag images including the past datasets, for a total of 370k images. We also provide a TEfixed version of FWRLoRA. The dataset consists of 19k nijijourneyv5 tag images, including the dataset of the previous FWRLoRA. There are two versions: FWR_TEfixed, which has a low learning rate, and FWR_TEfixed2, which has a high learning rate.

TE fixed version does not require underscores in the prompts, because this model was trained with captions without underscores.

Examples

solo, 1girl, full body, white background, indoors, from side, short hair, bangs, long sleeves, closed mouth, white hair, jewelry, blush, standing, earrings dress, flower, shirt, blue eyes, hair ornament, skirt, bow
Negative prompt: 2girls, worst quality, low quality, lowres, blurry, bad anatomy, text, frame
Steps: 30, Sampler: UniPC, CFG scale: 7, Seed: 2772485736, Size: 768x768, Model hash: 82f8443e2b, Model: wdAI_test_FW_TEfixed, Denoising strength: 0.6, Version: v1.2.1, Hires upscale: 1.5, Hires steps: 15, Hires upscaler: Latent, AddNet Enabled: True, AddNet Module 1: LoRA, AddNet Model 1: FWR_TEfixed(8d97f2dd88d6), AddNet Weight A 1: -2.0, AddNet Weight B 1: -2.0, Script: X/Y/Z plot, X Type: AddNet Weight 1, X Values: "-2, -1, 0, 1, 2", Y Type: AddNet Model 1, Y Values: "FWR_TEfixed(8d97f2dd88d6),FWR_TEfixed2(539136a8cf23)"

solo, 1girl, looking at viewer, long hair, full body, bangs, long sleeves, closed mouth, black hair, jewelry, blush, standing, smile, earrings, outdoors, dress, flower, shirt, blue eyes, hair ornament, sky
Negative prompt: 2girls, worst quality, low quality, lowres, blurry, bad anatomy, text, frame
Steps: 30, Sampler: UniPC, CFG scale: 7, Seed: 3438137896, Size: 768x768, Model hash: 82f8443e2b, Model: wdAI_test_FW_TEfixed, Denoising strength: 0.6, Version: v1.2.1, Hires upscale: 1.5, Hires steps: 15, Hires upscaler: Latent, AddNet Enabled: True, AddNet Module 1: LoRA, AddNet Model 1: FWR_TEfixed(8d97f2dd88d6), AddNet Weight A 1: -2.0, AddNet Weight B 1: -2.0, Script: X/Y/Z plot, X Type: AddNet Weight 1, X Values: "-2, -1, 0, 1, 2", Y Type: AddNet Model 1, Y Values: "FWR_TEfixed(8d97f2dd88d6),FWR_TEfixed2(539136a8cf23)"

License

This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. The CreativeML OpenRAIL License specifies:

  1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
  2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
  3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully) Please read the full license here

Acknowledgements

These Models build on the two excellent works: SD1.4, developed by CompVis Researchers, and WD1.3, developed by Anthony Mercurio, Salt, and Cafe.

Examples

CLIP Skip 1 is recommended.

Flex Waifu v1.3.1

Prompt 1

  • with Negative Prompt

  • without Negative Prompt

solo, 1girl, white_background, full_body, twintails, braid, white_background, bangs, frills, closed_mouth, brown_hair, jewelry, blush, standing, dress, food, strawberry, (blueberry:1.1), (cake:1.1), sweets, brown_eyes, hair_ornament, skirt, bow
Steps: 30, Sampler: UniPC, CFG scale: 7, Seed: 1443377636, Size: 768x768, Model hash: 7b8c719863, Model: FlexWaifu_FlexWaifu1.3.1, Denoising strength: 0.6, Version: v1.2.1, Hires upscale: 1.5, Hires steps: 18, Hires upscaler: Latent

Prompt 2

  • with Negative Prompt

  • without Negative Prompt

solo, 1girl, looking_at_viewer, long_hair, full_body, bangs, long_sleeves, closed_mouth, black_hair, jewelry, blush, standing, smile, earrings, outdoors, dress, flower, shirt, blue_eyes, hair_ornament, sky
Negative prompt: 2girls, worst quality, low quality, lowres, blurry, bad anatomy, text, frame
Steps: 18, Sampler: UniPC, CFG scale: 7, Seed: 4292874896, Size: 768x768, Model hash: 7b8c719863, Model: FlexWaifu_FlexWaifu1.3.1, Denoising strength: 0.6, Version: v1.2.1, Hires upscale: 1.5, Hires steps: 18, Hires upscaler: Latent

Prompt 3

  • with Negative Prompt

  • without Negative Prompt

solo, 1girl, full_body, white_background, indoors, from_side, short_hair, bangs, long_sleeves, closed_mouth, white_hair, jewelry, blush, standing, earrings dress, flower, shirt, blue_eyes, hair_ornament, skirt, bow
Negative prompt: 2girls, worst quality, low quality, lowres, blurry, bad anatomy, text, frame
Steps: 18, Sampler: UniPC, CFG scale: 7, Seed: 225005778, Size: 768x768, Model hash: 7b8c719863, Model: FlexWaifu_FlexWaifu1.3.1, Denoising strength: 0.6, Version: v1.2.1, Hires upscale: 1.5, Hires steps: 18, Hires upscaler: Latent

Prompt 4

  • with Negative Prompt

  • without Negative Prompt

a woman holding jar is standing near kitchen, 1girl, solo, long_hair, breasts, looking_at_viewer, blush, smile, bangs, black_hair, hair_ornament, dress, holding, bare_shoulders, closed_mouth, standing, collarbone, ponytail, braid, sidelocks, day, indoors, hair_over_shoulder, white_dress, window, shelf, sunlight, cup, bottle, holding_cup, mug, plant, potted_plant
Negative prompt: 2girls, worst quality, low quality, lowres, blurry, bad anatomy, text, frame
Steps: 18, Sampler: UniPC, CFG scale: 7, Seed: 3916047400, Size: 768x768, Model hash: 7b8c719863, Model: FlexWaifu_FlexWaifu1.3.1, Denoising strength: 0.6, Version: v1.2.1, Hires upscale: 1.5, Hires steps: 18, Hires upscaler: Latent

Flex Waifu Rainbow

Prompt 1

solo, 1girl, white_background, full_body, twintails, braid, white_background, bangs, frills, closed_mouth, brown_hair, jewelry, blush, standing, dress, food, strawberry, (blueberry:1.1), (cake:1.1), sweets, brown_eyes, hair_ornament, skirt, bow
Negative prompt: 2girls, worst quality, low quality, lowres, blurry, bad anatomy, text, frame
Steps: 30, Sampler: UniPC, CFG scale: 7, Seed: 3282638012, Size: 768x768, Model hash: 3f709dac23, Model: models_FlexWaifu_FlexWaifuRainbow, Denoising strength: 0.6, Hires upscale: 1.5, Hires steps: 18, Hires upscaler: Latent

Prompt 2

solo, 1girl, looking_at_viewer, long_hair, full_body, bangs, long_sleeves, closed_mouth, black_hair, jewelry, blush, standing, smile, earrings, outdoors, dress, flower, shirt, blue_eyes, hair_ornament, sky
Negative prompt: 2girls, worst quality, low quality, lowres, blurry, bad anatomy, text, frame
Steps: 30, Sampler: UniPC, CFG scale: 7, Seed: 4292874896, Size: 768x768, Model hash: 3f709dac23, Model: models_FlexWaifu_FlexWaifuRainbow, Denoising strength: 0.6, Hires upscale: 1.5, Hires steps: 18, Hires upscaler: Latent

Prompt 3

solo, 1girl, full_body, white_background, indoors, from_side, short_hair, bangs, long_sleeves, closed_mouth, white_hair, jewelry, blush, standing, earrings dress, flower, shirt, blue_eyes, hair_ornament, skirt, bow
Negative prompt: 2girls, worst quality, low quality, lowres, blurry, bad anatomy, text, frame
Steps: 30, Sampler: UniPC, CFG scale: 7, Seed: 225005778, Size: 768x768, Model hash: 3f709dac23, Model: models_FlexWaifu_FlexWaifuRainbow, Denoising strength: 0.6, Hires upscale: 1.5, Hires steps: 18, Hires upscaler: Latent

Prompt 4

  • CLIP Skip 1 (recommended)

a woman holding jar is standing near kitchen, 1girl, solo, long_hair, breasts, looking_at_viewer, blush, smile, bangs, black_hair, hair_ornament, dress, holding, bare_shoulders, closed_mouth, standing, collarbone, ponytail, braid, sidelocks, day, indoors, hair_over_shoulder, white_dress, window, shelf, sunlight, cup, bottle, holding_cup, mug, plant, potted_plant
Negative prompt: 2girls, worst quality, low quality, lowres, blurry, bad anatomy, text, frame
Steps: 30, Sampler: DPM++ 2M, CFG scale: 7, Seed: 3916047400, Size: 768x768, Model hash: 3f709dac23, Model: models_FlexWaifu_FlexWaifuRainbow, Denoising strength: 0.6, Hires upscale: 1.5, Hires steps: 18, Hires upscaler: Latent
  • CLIP SKip 2

a woman holding jar is standing near kitchen, 1girl, solo, long_hair, breasts, looking_at_viewer, blush, smile, bangs, black_hair, hair_ornament, dress, holding, bare_shoulders, closed_mouth, standing, collarbone, ponytail, braid, sidelocks, day, indoors, hair_over_shoulder, white_dress, window, shelf, sunlight, cup, bottle, holding_cup, mug, plant, potted_plant
Negative prompt: 2girls, worst quality, low quality, lowres, blurry, bad anatomy, text, frame
Steps: 30, Sampler: DPM++ 2M, CFG scale: 7, Seed: 3156421384, Size: 768x768, Model hash: 3f709dac23, Model: models_FlexWaifu_FlexWaifuRainbow, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires steps: 18, Hires upscaler: Latent
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Examples
Inference API (serverless) has been turned off for this model.