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

logerzhu/ad-inpaint:3ef196c9

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
prompt
string
Prompt
regen_prompt
boolean
False
Regenerate prompt with ChatGPT
negative_prompt
string
text, illustration, 3d, sepia, painting, cartoons, sketch, worst quality
Negative Prompt
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
picwish_api_key
string
Remove background with picwish.cn api
guidance_scale
number
7.5
Guidance Scale
num_inference_steps
integer
20
Inference Steps
more_random
boolean
False
More random possibilities

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