ComfyUI Node
Bernini-R KSampler
Enhanced KSampler with temporal context window tiling for long videos. Connect BerniniR_ContextWindow to enable windowed sampling; leave disconnected for standard single-pass sampling.
Bernini-R KSampler
- model_handle
- positive
- negative
- latent_image
- context_options
- guidance_config
- block_swap_args
- teacache_args
- guidance_schedule
- latent
◄seed0►
◄steps20►
◄cfg6.0►
◄sampler_name▾►
◄scheduler▾►
◄denoise1.00►
◄flow_shift3.0►
◄add_noisetrue►
CategoryBernini-R/Sampling
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| model_handle | BERNINI_MODEL_HANDLE | Bernini-R model handle from BerniniR_ModelLoader | |
| seed | INT | 00–18446744073709550000 | Random seed for reproducible generation |
| steps | INT | 201–10000 | Number of denoising steps. 20-40 for flow matching |
| cfg | FLOAT | 6.00–100 | Classifier-free guidance scale. 4-7 typical for video |
| sampler_name | COMBO | Sampling algorithm. 'uni_pc' or 'euler' work well with flow matching | |
| scheduler | COMBO | Sigma schedule. 'simple' or 'normal' recommended | |
| positive | CONDITIONING | Positive prompt conditioning | |
| negative | CONDITIONING | Negative prompt conditioning | |
| latent_image | LATENT | Input latent (noise or encoded image for img2vid) | |
| denoise | FLOAT | 1.000–1 | Denoising strength. 1.0 = full generation, <1.0 = img2vid |
| flow_shift | FLOAT | 3.00.1–100 | Sigma schedule shift. Bernini-R trained with 3.0. Higher = more low-noise steps, sharper details |
| context_optionsopt | BERNINI_CTX | Context window config from BerniniR_ContextWindow. Connect to enable temporal window tiling for long videos. | |
| guidance_configopt | BERNINI_GUIDANCE_CONFIG | Guidance strategy + params from BerniniR_GuidanceConfig. Leave disconnected for plain CFG. | |
| block_swap_argsopt | BERNINI_BLOCKSWAP | Block swap config from BerniniR_BlockSwapArgs. Leave disconnected to disable. | |
| teacache_argsopt | BERNINI_TEACACHE | TeaCache config from BerniniR_TeaCacheArgs. Leave disconnected to disable TeaCache. | |
| add_noiseopt | BOOLEAN | true | Add initial noise. Disable for img2vid when denoise < 1.0 |
| guidance_scheduleopt | BERNINI_GUIDANCE | Dynamic per-step guidance scale from BerniniR_GuidanceStrengthSchedule. Overrides static cfg. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| latent | LATENT | — |