You're looking at a specific version of this model. Jump to the model overview.
fenglinglwb /large-hole-image-inpainting:33222172
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
|
Optional mask that overlays image. Should be black in areas that you wish to inpaint. If left blank, a random mask will be generated over the image.
|
|
model |
string
(enum)
|
places
Options: places, celeba |
Select which model to use: Places or CelebA-HQ-512
|
truncation_psi |
number
|
1
|
Truncation psi. Improve image quality at the cost of output diversity/variation; truncation psi ψ = 1 means no truncation, ψ = 0 means no diversity.
|
noise_mode |
string
(enum)
|
const
Options: const, random, none |
Noise mode
|
seed |
integer
|
-1
Min: -1 Max: 4294967295 |
Seed for random number generator. If -1, a random seed will be chosen. (minimum: -1; maximum: 4294967295)
|
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'}