enableControlNetboolean
true if ControlNet is enabled.
Configurations for each condition.
originalImageWeightnumber
The weight for the original image. Valid range: [0, 1]. When set to 1.0, the output basically copies the input image. When set to 0.0, the output not respect the input image at all.
| JSON representation |
|---|
{
"enableControlNet": boolean,
"conditions": [
{
object ( |
ControlNetConditionConfig
conditionNamestring
Currently supported conditions: * cannyEdges * depth
When the condition map is provided by the user, we will not compute the condition map on our side.
A base64-encoded string.
conditionWeightnumber
The guidance weight for the condition signal. Valid range: [0, 1]. The higher the weight, the model respects the ControlNet condition more. The default value is 1.0 if unspecified.
conditionMaxTnumber
The strength of the ControlNet's effect on each diffusion step. Valid range: [0, 1].
| JSON representation |
|---|
{ "conditionName": string, "conditionMapBytesBase64Encoded": string, "conditionWeight": number, "conditionMaxT": number } |