Implement sampling nodes: - ksampler.py: standard sampler with basic parameters - ksampler_advanced.py: advanced sampler with step control and noise settings - ksampler_context.py: context-based sampler extracting parameters from workflow context - ksampler_two_stage.py: automated two-stage sampling (draft + refinement) Add markdown documentation for all sampler nodes
1.1 KiB
1.1 KiB
TT_KSamplerContext
Context-based sampler that extracts parameters from workflow context.
Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
context |
TT_CONTEXT | Yes | Context containing model, latent, conditioning, and workflow config |
Outputs
| Parameter | Type | Description |
|---|---|---|
CONTEXT |
TT_CONTEXT | Pass-through context |
LATENT |
LATENT | Denoised latent image |
Usage
Simplified sampler for context-based workflows. Automatically extracts all sampling parameters from the context object:
- Model, positive/negative conditioning, and latent from context
- Seed, steps, cfg, sampler_name, and scheduler from workflow_config
Requires context to contain: model, latent, and workflow_config. Raises error if any required component is missing.