
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
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 28,
"description": "Random seed. Leave blank to randomize the seed"
},
"width": {
"enum": [
128,
256,
384,
448,
512,
576,
640,
704,
768,
832,
896,
960,
1024
],
"type": "integer",
"title": "width",
"description": "Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits",
"default": 512,
"x-order": 22
},
"height": {
"enum": [
128,
256,
384,
448,
512,
576,
640,
704,
768,
832,
896,
960,
1024
],
"type": "integer",
"title": "height",
"description": "Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits",
"default": 640,
"x-order": 23
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "a professional photo portrait of ohwx woman",
"x-order": 2,
"description": "Input prompt"
},
"hiresfix": {
"type": "boolean",
"title": "Hiresfix",
"default": true,
"x-order": 20,
"description": "Choose if you want to hiresfix the image"
},
"scheduler": {
"enum": [
"DDIM",
"K_EULER",
"DPMSolverMultistep",
"K_EULER_ANCESTRAL",
"PNDM",
"KLMS"
],
"type": "string",
"title": "scheduler",
"description": "Choose a scheduler.",
"default": "DPMSolverMultistep",
"x-order": 27
},
"num_outputs": {
"type": "integer",
"title": "Num Outputs",
"default": 1,
"maximum": 30,
"minimum": 1,
"x-order": 24,
"description": "Number of images to output."
},
"inpaint_face": {
"type": "boolean",
"title": "Inpaint Face",
"default": true,
"x-order": 21,
"description": "Choose if you want to inpaint face"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7.5,
"maximum": 20,
"minimum": 1,
"x-order": 26,
"description": "Scale for classifier-free guidance"
},
"multi_faceswap": {
"type": "boolean",
"title": "Multi Faceswap",
"default": false,
"x-order": 13,
"description": "Choose if you want to multi-swap and enhance face."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "nude, old, wrinkles, mole, blemish, scar, cg, 3d",
"x-order": 3,
"description": "Specify things to not see in the output"
},
"only_inpainting": {
"type": "boolean",
"title": "Only Inpainting",
"default": false,
"x-order": 7,
"description": "Choose if you only want to inpainting the image."
},
"single_faceswap": {
"type": "boolean",
"title": "Single Faceswap",
"default": false,
"x-order": 11,
"description": "Choose if you want to single-swap and enhance face."
},
"slider_lora_link": {
"type": "string",
"title": "Slider Lora Link",
"x-order": 1,
"description": "(Optional) if you want to use slider mode , enter your slider lora replicate link."
},
"weight_prompting": {
"type": "boolean",
"title": "Weight Prompting",
"default": true,
"x-order": 4,
"description": "Choose if you want to use weight_prompting."
},
"is_inpainting_n2h": {
"type": "boolean",
"title": "Is Inpainting N2H",
"default": false,
"x-order": 10,
"description": "Choose if the mask close to face"
},
"gfpgan_enhancement": {
"type": "boolean",
"title": "Gfpgan Enhancement",
"default": false,
"x-order": 15,
"description": "Use GFPGAN restoration for enhance face."
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 35,
"maximum": 500,
"minimum": 1,
"x-order": 25,
"description": "Number of denoising steps"
},
"model_replicate_link": {
"type": "string",
"title": "Model Replicate Link",
"x-order": 0,
"description": "(Optional) Enter your model replicate link."
},
"only_super_resolution": {
"type": "boolean",
"title": "Only Super Resolution",
"default": false,
"x-order": 5,
"description": "Choose if you only want to upscale the image (this will do SUPIR and CCSR upscale)."
},
"codeformer_enhancement": {
"type": "boolean",
"title": "Codeformer Enhancement",
"default": false,
"x-order": 14,
"description": "Use Codeformer restoration for enhance face."
},
"only_inpainting_images": {
"type": "string",
"title": "Only Inpainting Images",
"default": "",
"x-order": 8,
"description": "Enter your str of input images for only inpainting the image."
},
"upscale_for_inpainting": {
"type": "boolean",
"title": "Upscale For Inpainting",
"default": true,
"x-order": 9,
"description": "Choose if you only want to upscale image"
},
"super_resolution_clarity": {
"type": "boolean",
"title": "Super Resolution Clarity",
"default": false,
"x-order": 18,
"description": "Choose if you want to upscale the image using CLARITY"
},
"single_faceswap_ipadapter": {
"type": "boolean",
"title": "Single Faceswap Ipadapter",
"default": true,
"x-order": 12,
"description": "Choose if you want to faceswap using ipadapter"
},
"super_resolution_supir_ccsr": {
"type": "boolean",
"title": "Super Resolution Supir Ccsr",
"default": false,
"x-order": 19,
"description": "Choose if you want to upscale the image using SUPIR and CCSR"
},
"only_super_resolution_images": {
"type": "string",
"title": "Only Super Resolution Images",
"default": "",
"x-order": 6,
"description": "Enter your str of input images for only upscale the image."
},
"super_resolution_realesrgan_2x": {
"type": "boolean",
"title": "Super Resolution Realesrgan 2X",
"default": false,
"x-order": 16,
"description": "Choose if you want to upscale the image using RealESRGAN"
},
"super_resolution_realesrgan_4x": {
"type": "boolean",
"title": "Super Resolution Realesrgan 4X",
"default": true,
"x-order": 17,
"description": "Choose if you want to upscale the image using RealESRGAN 4x"
}
}
}
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"
}