⚙️ Inference parameters

Depending on the inference type, different parameters can or must be provided:

typetxt2imgimg2imginpaintcontrolnet
prompt
negativePrompt
numSamples
guidance
numInferenceSteps
seed
width
height
strength
image✅ (required)✅ (required)✅ (required)
mask✅ (required)
scheduler (more details)
modality✅ (required)

The prompt parameter can be empty.

In addition to the preceding parameters, you can request the generation of intermediate images. The processing will be slightly slower. To do so, please set the intermediateImages parameter to True.