Skip to main content

RegionalSampler

ImpactPack/Regional
RegionalSampler

Example

JSON Example
{
  "class_type": "RegionalSampler",
  "inputs": {
    "seed": 0,
    "seed_2nd": 0,
    "seed_2nd_mode": "ignore",
    "steps": 20,
    "base_only_steps": 2,
    "denoise": 1,
    "samples": [
      "node_id",
      0
    ],
    "base_sampler": [
      "node_id",
      0
    ],
    "regional_prompts": [
      "node_id",
      0
    ],
    "overlap_factor": 10,
    "restore_latent": true,
    "additional_mode": "ratio between",
    "additional_sampler": "AUTO",
    "additional_sigma_ratio": 0.3
  }
}

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

Inputs

NameTypeStatusConstraintsDefault
seed?INTrequiredmin: 0, max: 1.84e+190
seed_2nd?INTrequiredmin: 0, max: 1.84e+190
seed_2nd_mode?ENUM
7 options
  • ignore
  • fixed
  • seed+seed_2nd
  • seed-seed_2nd
  • increment
  • decrement
  • randomize
required--
steps?INTrequiredmin: 1, max: 1000020
base_only_steps?INTrequiredmin: 0, max: 100002
denoise?FLOATrequiredmin: 0, max: 1, step: 0.011
samples?LATENTrequired--
base_sampler?KSAMPLER_ADVANCEDrequired--
regional_prompts?REGIONAL_PROMPTSrequired--
overlap_factor?INTrequiredmin: 0, max: 1000010
restore_latent?BOOLEANrequired-true
additional_mode?ENUM
3 options
  • DISABLE
  • ratio additional
  • ratio between
required-"ratio between"
additional_sampler?ENUM
8 options
  • AUTO
  • euler
  • heun
  • heunpp2
  • dpm_2
  • dpm_fast
  • dpmpp_2m
  • ddpm
required--
additional_sigma_ratio?FLOATrequiredmin: 0, max: 1, step: 0.010.3

Outputs

IndexNameTypeIs ListConnection Reference
0LATENTLATENTNo["{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 RegionalSampler node in your workflow, and output_index is the index from the table above.

Example

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

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