filterClasses[]string
Specify object class text names to filter. Any detected object in the masked region bearing anyone of the class names will be checked.
filterEntities[]string
Specify object entity ids to filter, similar to filterClasses. The Final filter list is an union of filter classes and filter entities.
filterClassesOutpainting[]string
For outpainting case. Specify object class text names to filter. Any detected object in the masked region bearing anyone of the class names will be checked.
filterEntitiesOutpainting[]string
For outpainting case. Specify object entity ids to filter, similar to filterClasses. The Final filter list is an union of filter classes and filter entities.
filterClassesSpecialInit[]string
For special_init case. Specify object class text names to filter. Any detected object in the masked region bearing anyone of the class names will be checked.
filterEntitiesSpecialInit[]string
For special_init case. Specify object entity ids to filter, similar to filterClasses. The Final filter list is an union of filter classes and filter entities.
enableSemanticFilterboolean
Whether to enable semantic filtering mode, which enables the following parameters to apply semantic filter on image editing results.
intersectRatioThresholdnumber
A threshold value to decide what detected boxes should be included in semantic filter checking.
additionalSampleCountinteger
Additional count of samples, expect a value between 0 and 4.
semanticFilterModestring
A string to specify semantic filter experimental mode. This allows semantic filter to change the default behavior to filter generated images.
detectionScoreThresholdnumber
A detection confidence score threshold to decide which detection boxes are considered as the valid detections for semantic filter checking.
intersectRatioThresholdOutpaintingnumber
For outpainting case. A threshold value to decide what detected boxes should be included in semantic filter checking.
detectionScoreThresholdOutpaintingnumber
For outpainting case. A detection confidence score threshold to decide which detection boxes are considered as the valid detections for semantic filter checking.
intersectRatioThresholdSpecialInitnumber
For special_init case. A threshold value to decide what detected boxes should be included in semantic filter checking.
detectionScoreThresholdSpecialInitnumber
For special_init case. A detection confidence score threshold to decide which detection boxes are considered as the valid detections for semantic filter checking.
| JSON representation |
|---|
{ "filterClasses": [ string ], "filterEntities": [ string ], "filterClassesOutpainting": [ string ], "filterEntitiesOutpainting": [ string ], "filterClassesSpecialInit": [ string ], "filterEntitiesSpecialInit": [ string ], "enableSemanticFilter": boolean, "intersectRatioThreshold": number, "additionalSampleCount": integer, "semanticFilterMode": string, "detectionScoreThreshold": number, "intersectRatioThresholdOutpainting": number, "detectionScoreThresholdOutpainting": number, "intersectRatioThresholdSpecialInit": number, "detectionScoreThresholdSpecialInit": number } |