ControlNet parameters

interface ControlNetParams {
    guidanceEnd?: number;
    guidanceStart?: number;
    image?: boolean | File | Buffer | Blob;
    mode?: {};
    name: {};
    strength?: number;
}

Properties

guidanceEnd?: number

Step when ControlNet last applied, 0 means first step, 1 means last step. Must be greater than guidanceStart

guidanceStart?: number

Step when ControlNet first applied, 0 means first step, 1 means last step. Must be less than guidanceEnd

image?: boolean | File | Buffer | Blob

ControlNet input image Supported types: File - file object from input[type=file] Buffer - Node.js buffer object with image data Blob - blob object with image data true - indicates that the image is already uploaded to the server

mode?: {}

How control and prompt should be weighted 'balanced' (default) balanced, no preference between prompt and control model 'prompt_priority' the prompt has more impact than the model 'cn_priority' the controlnet model has more impact than the prompt

name: {}

Short name of the ControlNet model

strength?: number

ControlNet strength 0 to 1. 0 full control to prompt, 1 full control to ControlNet