fottoai / ad-inpaint-pro

Ad-Inpaint pro version with best quality. this version work just with transparent object.

  • Public
  • 326 runs
Iterate in playground

Run fottoai/ad-inpaint-pro 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
input_image
string
Original Image Url
prompt
string
a photo of an astronaut riding a horse on mars
Input prompt
negative_prompt
string
low quality, out of frame, illustration, 3d, sepia, painting, cartoons, sketch, watermark, text, Logo, advertisement, products
Default is: low quality, out of frame, illustration, 3d, sepia, painting, cartoons, sketch, watermark, text, Logo, advertisement, products
num_inference_steps
integer
50

Min: 1

Max: 500

Number of denoising steps
guidance_scale
number
7.5

Min: 1

Max: 20

Scale for classifier-free guidance
num_outputs
integer
1

Min: 1

Max: 4

Number of images to output.
object_fill_percent
integer (enum)
80

Options:

30, 40, 50, 60, 70, 80, 90, 100

Object fill percentage
adapter_condition_scale
number
0.8

Min: 0.1

Max: 1

Scale for classifier-free guidance
scheduler
string (enum)
K_EULER_ANCESTRAL

Options:

DDIM, K_EULER, DPMSolverMultistep, K_EULER_ANCESTRAL, PNDM, KLMS

Choose a scheduler.
seed
integer
Random seed. Leave blank to randomize the seed

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}