Appendix
Complex Data Types
Controlnet

ControlNet

Parameter NameTypeDescriptionRequired
ImageIndexIntThe index of an image in ImageAndMaskList, starting from 0.
MaskIndexIntThe index of a mask image in ImageAndMaskList, starting from 0. A mask can be drawn independently or obtained through the Remove-Background or Content Extraction APIs.
InvertMaskBoolWether to invert the mask. Default: false
PreProcessorPreProcessorThe model and configuration information of a pre-rocessor.
ControlModelControlModelThe model and configuration information of the ControlNet.