ComfyUI Node

DyPE for Qwen Image

A ComfyUI node in model_patches/unet with 13 inputs and 1 output.

By ttulttul·Created 9 months ago·Updated 6 months ago· 62
DyPE for Qwen Image
  • model
  • model
width1024
height1024
auto_detecttrue
base_width1024
base_height1024
methodyarn
enable_dypetrue
dype_exponent2.0
base_shift1.15
max_shift1.35
editing_strength1.00
editing_modeadaptive
Categorymodel_patches/unet

Inputs (13)

NameTypeDefaultDescription
modelMODELQwen Image model to patch with DyPE.
widthINT102416–16384Target output width in pixels.
heightINT102416–16384Target output height in pixels.
auto_detectBOOLEANtrueAutomatically derive patch size and base resolution from the model when possible.
base_widthINT102416–16384Training width used by the base Qwen model when auto detection fails.
base_heightINT102416–16384Training height used by the base Qwen model when auto detection fails.
methodCOMBOyarnSpatial RoPE extrapolation strategy.
enable_dypeBOOLEANtrueEnable Dynamic Position Extrapolation scaling.
dype_exponentFLOAT2.00–4Controls how strongly DyPE ramps across sampling timesteps.
base_shiftFLOAT1.150–10Baseline shift applied to the flow-matching noise schedule.
max_shiftFLOAT1.350–10Maximum shift applied when operating at the target resolution.
editing_strengthFLOAT1.000–1Scale DyPE while editing images (1.0 = full strength, 0.0 = disable DyPE scaling in edits).
editing_modeCOMBOadaptiveStrategy for tapering DyPE during edits.

Outputs (1)

NameTypeDescription
modelMODEL