Mask
Parameter Name | Type | Description | Required |
---|---|---|---|
ImageIndex | Int | The index of the raw image in ImageAndMaskList or ImageList , starting from 0. | ✓ |
MaskIndex | Int | The index of the mask image in ImageAndMaskList or MaskList starts from 0. The mask is a black-and-white image where the white part represents the redrawn area. You can draw masks independently or obtain them through the "Remove Background" or "Content Extraction" APIs. | ✓ |
ReferStrength | Float | Reference intensity of the masked area (0~2), default value: 1 | |
InvertMask | Bool | Invert the mask, default value: false | |
MaskBlur | Int | Mask edge blur radius (0~64), default value: 12 | |
PromptsMoreImportant | Bool | Strengthen the impact of prompts, default value: false |