Skip to main content

TwoSamplersForMask Upscaler Provider

ImpactPack/Upscale
TwoSamplersForMaskUpscalerProvider

Example

JSON Example
{
  "class_type": "TwoSamplersForMaskUpscalerProvider",
  "inputs": {
    "scale_method": "nearest-exact",
    "full_sample_schedule": "none",
    "use_tiled_vae": false,
    "base_sampler": [
      "node_id",
      0
    ],
    "mask_sampler": [
      "node_id",
      0
    ],
    "mask": [
      "node_id",
      0
    ],
    "vae": [
      "node_id",
      0
    ],
    "tile_size": 512
  }
}

This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.

Inputs

NameTypeStatusConstraintsDefault
scale_methodENUM
4 options
  • nearest-exact
  • bilinear
  • lanczos
  • area
required--
full_sample_scheduleENUM
9 options
  • none
  • interleave1
  • interleave2
  • interleave3
  • last1
  • last2
  • interleave1+last1
  • interleave2+last1
  • interleave3+last1
required--
use_tiled_vaeBOOLEANrequired-false
base_samplerKSAMPLERrequired--
mask_samplerKSAMPLERrequired--
maskMASKrequired--
vaeVAErequired--
tile_sizeINTrequiredmin: 320, max: 4096, step: 64512
full_sampler_optKSAMPLERoptional--
upscale_model_optUPSCALE_MODELoptional--
pk_hook_base_optPK_HOOKoptional--
pk_hook_mask_optPK_HOOKoptional--
pk_hook_full_optPK_HOOKoptional--

Outputs

IndexNameTypeIs ListConnection Reference
0UPSCALERUPSCALERNo["{node_id}", 0]
How to connect to these outputs

To connect another node's input to an output from this node, use the connection reference format:

["node_id", output_index]

Where node_id is the ID of this TwoSamplersForMaskUpscalerProvider node in your workflow, and output_index is the index from the table above.

Example

If this node has ID "5" in your workflow:

  • UPSCALER (UPSCALER): ["5", 0]
Was this page helpful?