zylim0702
/
sd_inpaint_vlpart_any_part
- Public
- 38 runs
Run zylim0702/sd_inpaint_vlpart_any_part 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 |
---|---|---|---|
image |
string
|
Input image
|
|
mask_prompt |
string
|
Prompt for the part to edit. For example : eyes -> person eyes
|
|
prompt |
string
|
Text Prompt to manipulate the part
|
|
a_prompt |
string
|
best quality, extremely detailed
|
Positive Prompt to manipulate the part
|
n_prompt |
string
|
lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality
|
Positive Prompt to manipulate the part
|
num_samples |
integer
|
2
|
number of samples
|
ddim_steps |
integer
|
5
|
number of steps
|
image_resolution |
integer
|
768
|
number of steps
|
{
"type": "object",
"title": "Input",
"required": [
"image",
"mask_prompt",
"prompt"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 2,
"description": "Text Prompt to manipulate the part"
},
"a_prompt": {
"type": "string",
"title": "A Prompt",
"default": "best quality, extremely detailed",
"x-order": 3,
"description": "Positive Prompt to manipulate the part"
},
"n_prompt": {
"type": "string",
"title": "N Prompt",
"default": "lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality",
"x-order": 4,
"description": "Positive Prompt to manipulate the part"
},
"ddim_steps": {
"type": "integer",
"title": "Ddim Steps",
"default": 5,
"x-order": 6,
"description": "number of steps"
},
"mask_prompt": {
"type": "string",
"title": "Mask Prompt",
"x-order": 1,
"description": "Prompt for the part to edit. For example : eyes -> person eyes"
},
"num_samples": {
"type": "integer",
"title": "Num Samples",
"default": 2,
"x-order": 5,
"description": "number of samples"
},
"image_resolution": {
"type": "integer",
"title": "Image Resolution",
"default": 768,
"x-order": 7,
"description": "number of steps"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}