Nodes/ComfyUI-curved_weight_schedule/Advanced Curved ControlNet Scheduler
ComfyUI Node

Advanced Curved ControlNet Scheduler

A ComfyUI node in conditioning/controlnet with 26 inputs and 3 outputs.

By diffussy69·Created 10 months ago·Updated 9 months ago· 2
Advanced Curved ControlNet Scheduler
  • prev_timestep_kf
  • batch_images
  • batch_masks
  • TIMESTEP_KF
  • curve_graph
  • curve_stats
presetCustom
modepercent
num_keyframes10
start_percent0.000
end_percent1.000
start_strength1.00
end_strength0.00
curve_type
curve_param2.0
total_steps20
custom_formulat
invert_curvefalse
mirror_curvefalse
repeat_curve1
adaptive_keyframesfalse
blend_curve_typenone
blend_amount0.00
clamp_strengthstrue
print_keyframesfalse
show_graphtrue
comparison_curvenone
save_curvefalse
curve_filenamecurve_export
Categoryconditioning/controlnet

Inputs (26)

NameTypeDefaultDescription
presetCOMBOCustomPre-configured curves (OVERRIDES strength/curve settings below when selected)
modeCOMBOpercentUse percentage (0-1) or absolute steps
num_keyframesINT102–100Number of keyframes to generate across the timestep range
start_percentFLOAT0.0000–1Starting point in generation (0.0 = beginning)
end_percentFLOAT1.0000–1Ending point in generation (1.0 = end)
start_strengthFLOAT1.000–10ControlNet strength at start (ignored if preset selected)
end_strengthFLOAT0.000–10ControlNet strength at end (ignored if preset selected)
curve_typeCOMBOCurve shape (ignored if preset selected)
curve_paramFLOAT2.00.1–10Curve steepness (ignored if preset selected)
total_stepsoptINT201–10000Total number of sampling steps (only used in 'steps' mode)
custom_formulaoptSTRINGtCustom math formula using 't' (0 to 1). Examples: 'sin(t*3.14)', 't**2', '1-exp(-5*t)'
prev_timestep_kfoptTIMESTEP_KEYFRAME
batch_imagesoptIMAGEOptional: Batch of preprocessed images. Keyframe i will use image i.
batch_masksoptMASKOptional: Batch of masks. Keyframe i will use mask i.
invert_curveoptBOOLEANfalseInvert the curve shape
mirror_curveoptBOOLEANfalseCreate symmetrical curve around midpoint
repeat_curveoptINT11–10Repeat the curve pattern N times
adaptive_keyframesoptBOOLEANfalseAutomatically place more keyframes where curve changes rapidly
blend_curve_typeoptCOMBOnoneSecond curve to blend with primary curve
blend_amountoptFLOAT0.000–1How much to blend with second curve (0=primary only, 1=blend only)
clamp_strengthsoptBOOLEANtrueClamp strength values to valid range (0-10)
print_keyframesoptBOOLEANfalsePrint generated keyframes for debugging
show_graphoptBOOLEANtrueGenerate visual graph of the curve
comparison_curveoptCOMBOnoneShow comparison with another curve type
save_curveoptBOOLEANfalseSave curve data to CSV file
curve_filenameoptSTRINGcurve_exportFilename for curve export (without extension)

Outputs (3)

NameTypeDescription
TIMESTEP_KFTIMESTEP_KEYFRAME
curve_graphIMAGE
curve_statsSTRING