You're looking at a specific version of this model. Jump to the model overview.
yuni-eng /inpainting:bb139b08
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 |
---|---|---|---|
prompt |
string
|
nike shoes in billboard
|
Input prompt
|
negative_prompt |
string
|
poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, bad anatomy, signature, cut off, low contrast, underexposed, overexposed, bad art, beginner, amateur, distorted face, blurry, draft, grainy
|
Specify things to not see in the output
|
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
|
|
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
{'format': 'uri', 'title': 'Output', 'type': 'string'}