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

s-henmind /portrait_chg_bg:a6f11afd

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
product
string
Upload portrait photo
target
string
Upload background image
prompt
string
(best quality, masterpiece:1.05), (bokeh, Blurred_background:1.1),( (depth of field:1.2)), professional
正向提示词补充 + 风格选择
negative_prompt
string
unsuitable, nude, watermark, glitch, noise, bad, drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly, worst quality,low quality, glare
negative prompt to generate new image
seed
integer
0

Max: 10000000

seed for generating new image
resolution
integer
1024

Min: 1

Max: 4096

生成图片分辨率
shape_fixation
number
0.92

Max: 1

主体风格固定强度
style_fixation
number
0.7

Max: 1

主体风格固定强度
art_fixation
number
1

Max: 1

现实与艺术_MASK调节
fix_fixation
number
0.9

Max: 1

主体复原,数值越大主体越接近原图

Output schema

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

Schema
{'properties': {'image': {'format': 'uri', 'title': 'Image', 'type': 'string'}},
 'required': ['image'],
 'title': 'Output',
 'type': 'object'}