You're looking at a specific version of this model. Jump to the model overview.

logerzhu/ad-inpaint:7bda0286

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_path
string
input image
product_size
string (enum)
Original

Options:

Original, 0.6 * width, 0.5 * width, 0.4 * width, 0.3 * width, 0.2 * width

Max product size
prompt
string
Product name or prompt
regen_prompt
boolean
False
Regenerate prompt with ChatGPT
negative_prompt
string
text, illustration, 3d, sepia, painting, cartoons, sketch, worst quality
Anything you don't want in the photo
hd_image
boolean
False
Produce 768 * 768 image
upscale_image
boolean
True
Upscale to 1536 * 1536 HD image
image_num
integer
1

Max: 4

Number of image to generate
guidance_scale
number
7.5
Guidance Scale
num_inference_steps
integer
20
Inference Steps
manual_seed
integer
-1
Manual Seed
picwish_api_key
string
Remove background with picwish.cn api

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'}