diffusers text-to-image lora template:diffusion-lora base_model:black-forest-labs/FLUX.1-dev base_model:adapter:black-forest-labs/FLUX.1-dev license:cc-by-sa-4.0 region:us
---
base_model: black-forest-labs/FLUX.1-dev
license: cc-by-sa-4.0
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
widget:
- text: adddentalbraces, a 20-year-old woman with braces on her teeth with red bands,
    silver brackets, and a silver wire.
  output:
    url: images/adddentalbraces__a_20_year_old_woman_with_braces_on_her_teeth_with_red_bands__silver_brackets__and_a_silver_wire__215537463.png
- text: adddentalbraces, a 20-year-old woman with braces on her teeth with red bands,
    silver brackets, and a silver wire.
  output:
    url: images/adddentalbraces__a_20_year_old_woman_with_braces_on_her_teeth_with_red_bands__silver_brackets__and_a_silver_wire__1271334316.png
- text: adddentalbraces, A photo of a cute smiling hampster with braces on its teeth
    with green bands, silver brackets, and a silver wire.
  output:
    url: images/adddentalbraces__a_photo_of_a_cute_smiling_hampster_with_braces_on_its_teeth_with_green_bands__silver_brackets__and_a_silver_wire__1163846435.png
- text: adddentalbraces, A photo of a cute smiling hampster with braces on its teeth
    with green bands, silver brackets, and a silver wire.
  output:
    url: images/adddentalbraces__a_photo_of_a_cute_smiling_hampster_with_braces_on_its_teeth_with_green_bands__silver_brackets__and_a_silver_wire__1111954904.png
- text: adddentalbraces, a 20-year-old man withbraces on teeth with bands that alternate
    between blue and green, have silver colored brackets, and have a silver colored
    wire.
  output:
    url: images/6.png
- text: adddentalbraces, a 19-year-old woman with braces on her teeth with turquoise
    bands, silver brackets, and a silver wire.
  output:
    url: images/example_87wj2fbcz.png
- text: adddentalbraces, A rough pencil sketch of a boy with braces on his teeth.
  output:
    url: images/example_3wvli5hmh.png
- text: adddentalbraces, A great white shark with braces on its teeth.
  output:
    url: images/example_j02wfkb22.png
- text: adddentalbraces, A pop art style painting featuring a lady with braces to
    on her teeth with green bands, silver brackets, and a silver wire.
  output:
    url: images/example_bjmg046do.png
- text: adddentalbraces, a marble Roman sculpture of a roman general with braces on
    his teeth.
  output:
    url: images/example_b7int472y.png
- text: adddentalbraces, a wooden carving  on a piece of driftwood of a bear with
    braces on its teeth.
  output:
    url: images/example_95ddl2ofe.png
- text: adddentalbraces, a snowman made of real snow, with a corn cob pipe, coal eyes,
    a black felt top hat, a scarf, and braces on its teeth with blue bands, silver
    brackets, and a silver wire.
  output:
    url: images/example_mqthw964s.png
- text: adddentalbraces, A pop art style work of art featuring a lady with braces
    to on her teeth with green bands, silver brackets, and a silver wire.
  output:
    url: images/example_9sscv00jq.png
- text: adddentalbraces, a cartoon dog with braces on its teeth with red bands, silver
    brackets, and a silver wire.
  output:
    url: images/example_jhn5hd592.png
- text: adddentalbraces, a 20-year-old female police officer with braces on her teeth
    with blue bands, sliver brackets, and a silver wire.
  output:
    url: images/example_e3jylbpfd.png
- text: adddentalbraces, a space alien with braces on their teeth with turquoise bands,
    silver brackets, and a silver wire.
  output:
    url: images/example_qmbkbpq8t.png
- text: adddentalbraces, A photo of a grimy hobo sitting inside a train boxcar with
    braces on his teeth with green bands, silver brackets, and a silver wire.
  output:
    url: images/example_0zng8617q.png
- text: adddentalbraces, A photo of a cute smiling cartoon hamburger with braces on
    its teeth with blue bands, silver brackets, and a silver wire.
  output:
    url: images/example_6bvlnsqsu.png
instance_prompt: adddentalbraces
---
# Add Dental Braces Version 4

<Gallery />

## Model description 

This model aims to add photo-realistic dental braces to subjects&#39; teeth in generated images. The braces should be accurately sized and aligned to fit naturally, while responding to prompts specifying the color of the brackets (e.g., gold or silver) and the color of the bands.

Also available on civitai at https:&#x2F;&#x2F;civitai.com&#x2F;models&#x2F;871278

Current Functionality:

It is not perfect but version 4 works, and works well most of the time. It works well for male and females. While it was trained to add photo realistic braces to photorealistic images in testing I have found that it can add braces to just about anything, robots, animals, etc. It have also found that it works well in other styles, not just as photos, such as drawings and cartoon styles.

Training Data:

Version 4 of this model was trained on a set of 128 high-resolution (1024 x 1024) photos of real dental braces, using 6912 training steps across 54 epochs. The dataset primarily consists of images showcasing different types of braces and various band colors.

Example Prompts
Because the plan is for the LORA to let you specify the color of the brackets and wire (e.g., gold or silver) and the material (plastic or metal), I have started adding specific information about the color of the brackets, wire, and bands into the labels for each prompt.

So far, only band color works. In part because it only has examples of braces with silver brackets and silver bands in the current dataset.

During testing of version 4, I noticed that I got better and more consistent results if I mirrored this information in the prompt.

Following something like:

adddentalbraces, a [Person&#x2F;Animal&#x2F;Object] [Optional age] [If for a person, put man or woman] on [his&#x2F;her&#x2F;their&#x2F;its] teeth with [color] bands, silver brackets, and a silver wire.
Examples:

adddentalbraces, a 20-year-old man with braces on his teeth with red bands, silver brackets, and a silver wire.
adddentalbraces, a 20-year-old woman with braces on her teeth with red bands, silver brackets, and a silver wire.
To be clear, you do NOT have to prompt this way, but in testing, I did get more consistently quality output by doing so since prompts in this style are more similar to many of the labels used in the dataset and because the labels have things like bracket color and wire color specified.

Tips for Best Results
Use specific descriptors for age, gender, and brace materials to improve realism.

Follow the prompt style of:

adddentalbraces, a [Person&#x2F;Animal&#x2F;Object] [Optional age] [If for a person, put man or woman] on [his&#x2F;her&#x2F;their&#x2F;its] teeth with [color] bands, silver brackets, and a silver wire.
Or at least specify a color for the bands and use the phrase &quot;with silver brackets, and a silver wire.&quot;

Simple prompts, such as

adddentalbraces, A 25-year-old woman with braces on her teeth.
consistently yield highly satisfactory results, consistently producing headshot-style photographs. The braces appear most aesthetically pleasing in this close-up style, and the LORA will generally create images in this manner unless the prompt explicitly requests otherwise.

The LORA can also handle more intricate prompts and reliably incorporate the braces, although if these prompts result in full-body shots or distance shots, the quality of the results of the braces added may decrease. The current dataset lacks sufficient examples of braces at a distance, leading to occasional inconsistencies or inaccurate representations. (I am planning to include additional examples of braces at a greater distance in the next version of the dataset to enhance this aspect, but this may require time to obtain or produce images of sufficient quality. I am meticulous about the images in the dataset and firmly believe that the quality of the data is the paramount factor in achieving quality results from the training.)

A&#x2F;B Testing Results:
Version 3 vs. Version 4
Skin Texture Improvement:

Version 3 exhibited a tendency to render an airbrushed appearance on facial skin. In contrast, Version 4 incorporated regularization images into its dataset to specifically address this issue.

A&#x2F;B testing conducted after training demonstrated substantial improvement in this area.

Enhanced Dataset Details:

Version 4 also incorporates enhancements to its dataset to provide more detailed representations of real braces.

A&#x2F;B testing revealed that Version 4 occasionally introduced subtle features on braces, such as hooks for rubber bands, that were not present in Version 3.

Alternating Band Color Representation:

Version 4 also includes a wider range of examples of braces with alternating band colors in its dataset.

A&#x2F;B testing demonstrated that Version 4 effectively handled prompts specifying alternating band colors (e.g., “with bands that alternate between blue and green”), outperforming Version 3 in this regard.

Overall Performance Summary:

In summary, Version 4 achieved slightly superior overall results and exhibited fewer anomalies, such as sections of the bracket that should not have been present. Conversely, Version 3 occasionally produced superior bands but at the expense of diminished overall image quality.  

The FLUX.1 [dev] Model is licensed by Black Forest Labs. Inc. under the FLUX.1 [dev] Non-Commercial License. Copyright Black Forest Labs. Inc.
IN NO EVENT SHALL BLACK FOREST LABS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH USE OF THIS MODEL.

## Trigger words

You should use `adddentalbraces` to trigger the image generation.


## Download model

Weights for this model are available in Safetensors format.

[Download](/alastandy/Add-Dental-Braces-4/tree/main) them in the Files & versions tab.
