SchedulerToString (Citron Image Saver)
Nine schedules in, one honest string out
- scheduler_name
The smallest node in the pack, arguably: pick a scheduler, get its name as text. No combo output, no second wire. It exists because the save node's scheduler_name input is a STRING and ComfyUI won't let you plug a dropdown into a text field.
How it works
One required input, scheduler, over ComfyUI's nine standard KSampler schedules: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, normal, linear_quadratic, kl_optimal. One output, scheduler_name, type STRING, value identical to your selection. Zero computation.
Use it when the sampler side is already handled - the scheduler widget on a megapack sampler, a custom sampling node, a saved workflow you don't want to rewire - and all you need is a label for the metadata. If you want to drive the sampler and record it from one dropdown, use Scheduler Selector instead; that one gives you the combo-typed output as well. This is the half-node version for the case where only the text half is useful.
Which brings up the one thing worth saying plainly about schedulers, because the node's dropdown won't: this is the setting most people leave at whatever the workflow template had, and it's often the reason a model looks worse than the samples. karras earns its reputation on SD 1.5 and SDXL by concentrating denoising into the middle steps, correcting a curved trajectory. On the straight flow-matching trajectory of Flux-class and video models, that same redistribution distorts. If a workflow you downloaded came from 2023 and says karras, try simple or sgm_uniform before you conclude the model is bad.
And in a sweep, this is the node that makes the results sortable. Ten runs across schedulers, filenames templated on %scheduler_name, and you can group the output without opening a single file's metadata panel.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/citronlegacy/ComfyUI-CitronNodes
# restart ComfyUI
The README marks ComfyUI Manager support as "coming soon" and the repo metadata is still placeholder, so a manual clone is the dependable install. Only pip dependency is piexif, imported by the saver module - if it's absent, the whole pack fails to load:
pip install piexif
No models involved. It's under Citron_ImageSaver/utils.
Common issues
- The value doesn't reach the file. The saver's
scheduler_nameinput is the destination; the combo side of the sampler needs its own wire. Check both ends. - Metadata records
normalregardless. That's the saver's default when nothing's connected - this node's output isn't wired in. - I need
AYS SDXLorGITS. Not in this list. UseSchedulerInspireToStringorSchedulerEfficiencyToString, which are the same node with longer lists. - A new core scheduler is missing. Update ComfyUI; this list is derived from core's own scheduler list.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| scheduler | COMBO | scheduler |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| scheduler_name | STRING | scheduler name (STRING) |