emaph / in-and-outpaint-union

Combines inpainting and outpainting for image editing.

  • Public
  • 245 runs
  • L40S

Input

string
Shift + Return to add a new line

Default: ""

string
Shift + Return to add a new line

Things you do not want to see in your image

Default: ""

file
Preview
image

The image to inpaint

file
Preview
mask

The image with the masked area to inpaint

integer

Outpaint left

Default: 150

integer

Outpaint right

Default: 150

integer

Outpaint top

Default: 150

integer

Outpaint bottom

Default: 150

integer
(minimum: 1, maximum: 50)

Number of inference steps

Default: 20

number
(minimum: 0, maximum: 20)

Guidance scale

Default: 4

string

Format of the output images

Default: "webp"

integer
(minimum: 0, maximum: 100)

Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.

Default: 80

integer

Set a seed for reproducibility. Random by default.

Output

output
Generated in

Run time and cost

This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

Combines inpainting and outpainting with controlnet++ union for sdxl.


ControlNet++: All-in-one ControlNet for image generations and editing!

ProMax Model has released!! 12 control + 5 advanced editing, just try it!!!

Advantages about the model

  • Use bucket training like novelai, can generate high resolutions images of any aspect ratio
  • Use large amount of high quality data(over 10000000 images), the dataset covers a diversity of situation
  • Use re-captioned prompt like DALLE.3, use CogVLM to generate detailed description, good prompt following ability
  • Use many useful tricks during training. Including but not limited to date augmentation, mutiple loss, multi resolution
  • Use almost the same parameter compared with original ControlNet. No obvious increase in network parameter or computation.
  • Support 10+ control conditions, no obvious performance drop on any single condition compared with training independently
  • Support multi condition generation, condition fusion is learned during training. No need to set hyperparameter or design prompts.
  • Compatible with other opensource SDXL models, such as BluePencilXL, CounterfeitXL. Compatible with other Lora models.

Inference scripts and more details can found: https://github.com/xinsir6/ControlNetPlus/tree/main

Image Inpainting

Image Outpainting