usamaehsan
/
realistic-vision-v5-inpainting
Better than SDXL Inpainting
- Public
- 2.5K runs
- GitHub
Run usamaehsan/realistic-vision-v5-inpainting 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
|
|
prompt |
string
|
a tabby cat, high resolution, sitting on a park bench
|
None
|
mask |
string
|
Mask image
|
|
negative_prompt |
string
|
(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck
|
None
|
strength |
number
|
0.8
Max: 1 |
strength/weight
|
image_size |
number
|
612
Min: 128 |
max image height/width
|
steps |
integer
|
20
Max: 100 |
num_inference_steps
|
seed |
integer
|
Leave blank to randomize
|
{
"type": "object",
"title": "Input",
"required": [
"image",
"mask"
],
"properties": {
"mask": {
"type": "string",
"title": "Mask",
"format": "uri",
"x-order": 2,
"description": "Mask image"
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 7,
"description": "Leave blank to randomize"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 20,
"maximum": 100,
"minimum": 0,
"x-order": 6,
"description": " num_inference_steps"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "a tabby cat, high resolution, sitting on a park bench",
"x-order": 1
},
"strength": {
"type": "number",
"title": "Strength",
"default": 0.8,
"maximum": 1,
"minimum": 0,
"x-order": 4,
"description": "strength/weight"
},
"image_size": {
"type": "number",
"title": "Image Size",
"default": 612,
"minimum": 128,
"x-order": 5,
"description": "max image height/width"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck",
"x-order": 3
}
}
}
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"
}