zenaivn/dreambooth-inference

Public
3.1K runs

Run zenaivn/dreambooth-inference with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
model_replicate_link
string
(Optional) Enter your model replicate link.
slider_lora_link
string
(Optional) if you want to use slider mode , enter your slider lora replicate link.
prompt
string
a professional photo portrait of ohwx woman
Input prompt
negative_prompt
string
nude, old, wrinkles, mole, blemish, scar, cg, 3d
Specify things to not see in the output
weight_prompting
boolean
True
Choose if you want to use weight_prompting.
only_super_resolution
boolean
False
Choose if you only want to upscale the image (this will do SUPIR and CCSR upscale).
only_super_resolution_images
string
Enter your str of input images for only upscale the image.
only_inpainting
boolean
False
Choose if you only want to inpainting the image.
only_inpainting_images
string
Enter your str of input images for only inpainting the image.
upscale_for_inpainting
boolean
True
Choose if you only want to upscale image
is_inpainting_n2h
boolean
False
Choose if the mask close to face
single_faceswap
boolean
False
Choose if you want to single-swap and enhance face.
single_faceswap_ipadapter
boolean
True
Choose if you want to faceswap using ipadapter
multi_faceswap
boolean
False
Choose if you want to multi-swap and enhance face.
codeformer_enhancement
boolean
False
Use Codeformer restoration for enhance face.
gfpgan_enhancement
boolean
False
Use GFPGAN restoration for enhance face.
super_resolution_realesrgan_2x
boolean
False
Choose if you want to upscale the image using RealESRGAN
super_resolution_realesrgan_4x
boolean
True
Choose if you want to upscale the image using RealESRGAN 4x
super_resolution_clarity
boolean
False
Choose if you want to upscale the image using CLARITY
super_resolution_supir_ccsr
boolean
False
Choose if you want to upscale the image using SUPIR and CCSR
hiresfix
boolean
True
Choose if you want to hiresfix the image
inpaint_face
boolean
True
Choose if you want to inpaint face
width
None
512
Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
height
None
640
Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
num_outputs
integer
1

Min: 1

Max: 30

Number of images to output.
num_inference_steps
integer
35

Min: 1

Max: 500

Number of denoising steps
guidance_scale
number
7.5

Min: 1

Max: 20

Scale for classifier-free guidance
scheduler
None
DPMSolverMultistep
Choose a scheduler.
seed
integer
Random seed. Leave blank to randomize the seed

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}