You're looking at a specific version of this model. Jump to the model overview.
yuni-eng /inpainting:062d8ed6
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 to inpaint.
|
|
mask |
string
|
Black and white image to use as mask for inpainting over the image provided. White-colored regions are inpainted and black-colored regions are preserved
|
|
prompt |
string
|
nike shoes in billboard
|
Input prompt
|
negative_prompt |
string
|
poorly drawn hands, poorly drawn feet, poorly drawn face, poorly drawn eyes, extra limbs, disfigured, deformed, bad anatomy, distorted text, incorrect text spelling
|
Specify things to not see in the output
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to output. > 2 might generate out-of-memory errors.
|
seed |
integer
|
0
|
Random seed. Set to 0 to randomize the seed. If you need tweaks to a generated image, reuse the same seed number from output logs.
|
num_inference_steps |
integer
|
100
Min: 1 Max: 500 |
Number of denoising steps. More denoising steps usually lead to a higher quality image at the expense of slower inference
|
guidance_scale |
number
|
7.5
Min: 1 Max: 20 |
A higher guidance scale value generate images closely to the text prompt at the expense of lower image quality. Guidance scale is enabled when guidance_scale > 1.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}