diff --git a/animatediff/nodes_ad_settings.py b/animatediff/nodes_ad_settings.py index e99364b..3eb0de1 100644 --- a/animatediff/nodes_ad_settings.py +++ b/animatediff/nodes_ad_settings.py @@ -35,7 +35,7 @@ class ManualAdjustPENode: }, "optional": { "prev_pe_adjust": ("PE_ADJUST",), - "autosize": ("ADEAUTOSIZE", {"padding": 30}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -67,7 +67,7 @@ class SweetspotStretchPENode: }, "optional": { "prev_pe_adjust": ("PE_ADJUST",), - "autosize": ("ADEAUTOSIZE", {"padding": 20}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -95,7 +95,7 @@ class FullStretchPENode: }, "optional": { "prev_pe_adjust": ("PE_ADJUST",), - "autosize": ("ADEAUTOSIZE", {"padding": 30}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -258,7 +258,7 @@ class WeightAdjustIndivAttnAddNode: }, "optional": { "prev_weight_adjust": ("WEIGHT_ADJUST",), - "autosize": ("ADEAUTOSIZE", {"padding": 20}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -305,7 +305,7 @@ class WeightAdjustIndivAttnMultNode: }, "optional": { "prev_weight_adjust": ("WEIGHT_ADJUST",), - "autosize": ("ADEAUTOSIZE", {"padding": 20}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } diff --git a/animatediff/nodes_cameractrl.py b/animatediff/nodes_cameractrl.py index 6ba94e7..9e9a1ab 100644 --- a/animatediff/nodes_cameractrl.py +++ b/animatediff/nodes_cameractrl.py @@ -273,7 +273,7 @@ class CameraCtrlADKeyframeNode: "cameractrl_multival": ("MULTIVAL",), "inherit_missing": ("BOOLEAN", {"default": True}, ), "guarantee_steps": ("INT", {"default": 1, "min": 0, "max": BIGMAX}), - "autosize": ("ADEAUTOSIZE", {"padding": 30}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -373,7 +373,7 @@ class CameraCtrlPoseBasic: }, "optional": { "prev_poses": ("CAMERACTRL_POSES",), - "autosize": ("ADEAUTOSIZE", {"padding": 30}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } diff --git a/animatediff/nodes_conditioning.py b/animatediff/nodes_conditioning.py index 57f1233..9e3b263 100644 --- a/animatediff/nodes_conditioning.py +++ b/animatediff/nodes_conditioning.py @@ -97,7 +97,7 @@ class PairedConditioningSetMaskAndCombineHooked: "opt_mask": ("MASK", ), "opt_lora_hook": ("LORA_HOOK",), "opt_timesteps": ("TIMESTEPS_COND",), - "autosize": ("ADEAUTOSIZE", {"padding": 70}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -129,7 +129,7 @@ class ConditioningSetMaskAndCombineHooked: "opt_mask": ("MASK", ), "opt_lora_hook": ("LORA_HOOK",), "opt_timesteps": ("TIMESTEPS_COND",), - "autosize": ("ADEAUTOSIZE", {"padding": 55}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -158,7 +158,7 @@ class PairedConditioningSetUnmaskedAndCombineHooked: }, "optional": { "opt_lora_hook": ("LORA_HOOK",), - "autosize": ("ADEAUTOSIZE", {"padding": 10}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -256,7 +256,7 @@ class ConditioningTimestepsNode: "end_percent": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}) }, "optional": { - "autosize": ("ADEAUTOSIZE", {"padding": 25}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -277,7 +277,7 @@ class SetLoraHookKeyframes: "hook_kf": ("LORA_HOOK_KEYFRAMES",), }, "optional": { - "autosize": ("ADEAUTOSIZE", {"padding": 40}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -302,7 +302,7 @@ class CreateLoraHookKeyframe: }, "optional": { "prev_hook_kf": ("LORA_HOOK_KEYFRAMES",), - "autosize": ("ADEAUTOSIZE", {"padding": 5}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -337,7 +337,7 @@ class CreateLoraHookKeyframeInterpolation: }, "optional": { "prev_hook_kf": ("LORA_HOOK_KEYFRAMES",), - "autosize": ("ADEAUTOSIZE", {"padding": 70}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -560,7 +560,7 @@ class SetModelLoraHook: "lora_hook": ("LORA_HOOK",), }, "optional": { - "autosize": ("ADEAUTOSIZE", {"padding": 5}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -610,7 +610,7 @@ class CombineLoraHooks: "optional": { "lora_hook_A": ("LORA_HOOK",), "lora_hook_B": ("LORA_HOOK",), - "autosize": ("ADEAUTOSIZE", {"padding": 30}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -634,7 +634,7 @@ class CombineLoraHookFourOptional: "lora_hook_B": ("LORA_HOOK",), "lora_hook_C": ("LORA_HOOK",), "lora_hook_D": ("LORA_HOOK",), - "autosize": ("ADEAUTOSIZE", {"padding": 30}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -664,7 +664,7 @@ class CombineLoraHookEightOptional: "lora_hook_F": ("LORA_HOOK",), "lora_hook_G": ("LORA_HOOK",), "lora_hook_H": ("LORA_HOOK",), - "autosize": ("ADEAUTOSIZE", {"padding": 30}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } diff --git a/animatediff/nodes_context_extras.py b/animatediff/nodes_context_extras.py index 8a28e8d..10b3b73 100644 --- a/animatediff/nodes_context_extras.py +++ b/animatediff/nodes_context_extras.py @@ -120,7 +120,7 @@ class NaiveReuse_KeyframeInterpolationNode: "optional": { "prev_kf": ("NAIVEREUSE_KEYFRAME",), "mult_multival": ("MULTIVAL",), - "autosize": ("ADEAUTOSIZE", {"padding": 50}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -305,7 +305,7 @@ class ContextRef_KeyframeInterpolationNode: "mult_multival": ("MULTIVAL",), "mode_replace": ("CONTEXTREF_MODE",), "tune_replace": ("CONTEXTREF_TUNE",), - "autosize": ("ADEAUTOSIZE", {"padding": 50}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -354,7 +354,7 @@ class ContextRef_KeyframeFromListNode: "mult_multival": ("MULTIVAL",), "mode_replace": ("CONTEXTREF_MODE",), "tune_replace": ("CONTEXTREF_TUNE",), - "autosize": ("ADEAUTOSIZE", {"padding": 50}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -398,7 +398,7 @@ class ContextRef_ModeFirst: "required": { }, "optional": { - "autosize": ("ADEAUTOSIZE", {"padding": 25}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), }, } @@ -419,7 +419,7 @@ class ContextRef_ModeSliding: }, "optional": { "sliding_width": ("INT", {"default": 2, "min": 2, "max": BIGMAX, "step": 1}), - "autosize": ("ADEAUTOSIZE", {"padding": 42}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -441,7 +441,7 @@ class ContextRef_ModeIndexes: "optional": { "switch_on_idxs": ("STRING", {"default": ""}), "always_include_0": ("BOOLEAN", {"default": True},), - "autosize": ("ADEAUTOSIZE", {"padding": 50}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), }, } @@ -470,7 +470,7 @@ class ContextRef_TuneAttnAdain: "adain_style_fidelity": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}), "adain_ref_weight": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}), "adain_strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}), - "autosize": ("ADEAUTOSIZE", {"padding": 65}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -496,7 +496,7 @@ class ContextRef_TuneAttn: "attn_style_fidelity": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}), "attn_ref_weight": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}), "attn_strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}), - "autosize": ("ADEAUTOSIZE", {"padding": 15}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } diff --git a/animatediff/nodes_multival.py b/animatediff/nodes_multival.py index 272b6cd..d2f4a52 100644 --- a/animatediff/nodes_multival.py +++ b/animatediff/nodes_multival.py @@ -22,7 +22,7 @@ class MultivalDynamicNode: }, "optional": { "mask_optional": ("MASK",), - "autosize": ("ADEAUTOSIZE", {"padding": 10}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -45,7 +45,7 @@ class MultivalScaledMaskNode: }, "optional": { "scaling": (ScaleType.LIST,), - "autosize": ("ADEAUTOSIZE", {"padding": 10}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -91,7 +91,7 @@ class MultivalDynamicFloatInputNode: }, "optional": { "mask_optional": ("MASK",), - "autosize": ("ADEAUTOSIZE", {"padding": 10}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -132,7 +132,7 @@ class MultivalFloatNode: "float_val": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001},), }, "optional": { - "autosize": ("ADEAUTOSIZE", {"padding": 10}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -152,7 +152,7 @@ class MultivalConvertToMaskNode: "multival": ("MULTIVAL",), }, "optional": { - "autosize": ("ADEAUTOSIZE", {"padding": 10}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } diff --git a/animatediff/nodes_pia.py b/animatediff/nodes_pia.py index 5944485..d5d9beb 100644 --- a/animatediff/nodes_pia.py +++ b/animatediff/nodes_pia.py @@ -201,7 +201,7 @@ class PIA_ADKeyframeNode: "pia_input": ("PIA_INPUT",), "inherit_missing": ("BOOLEAN", {"default": True}, ), "guarantee_steps": ("INT", {"default": 1, "min": 0, "max": BIGMAX}), - "autosize": ("ADEAUTOSIZE", {"padding": 5}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -253,7 +253,7 @@ class InputPIA_PaperPresetsNode: "optional": { "mult_multival": ("MULTIVAL",), "print_values": ("BOOLEAN", {"default": False},), - "autosize": ("ADEAUTOSIZE", {"padding": 60}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), #"effect_multival": ("MULTIVAL",), } } diff --git a/animatediff/nodes_sample.py b/animatediff/nodes_sample.py index 70f4f1c..b3e86b8 100644 --- a/animatediff/nodes_sample.py +++ b/animatediff/nodes_sample.py @@ -33,7 +33,7 @@ class SampleSettingsNode: "custom_cfg": ("CUSTOM_CFG",), "sigma_schedule": ("SIGMA_SCHEDULE",), "image_inject": ("IMAGE_INJECT",), - "autosize": ("ADEAUTOSIZE", {"padding": 10}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -65,7 +65,7 @@ class NoiseLayerReplaceNode: "prev_noise_layers": ("NOISE_LAYERS",), "mask_optional": ("MASK",), "seed_override": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "forceInput": True}), - "autosize": ("ADEAUTOSIZE", {"padding": 20}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -101,7 +101,7 @@ class NoiseLayerAddNode: "prev_noise_layers": ("NOISE_LAYERS",), "mask_optional": ("MASK",), "seed_override": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "forceInput": True}), - "autosize": ("ADEAUTOSIZE", {"padding": 20}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -140,7 +140,7 @@ class NoiseLayerAddWeightedNode: "prev_noise_layers": ("NOISE_LAYERS",), "mask_optional": ("MASK",), "seed_override": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "forceInput": True}), - "autosize": ("ADEAUTOSIZE", {"padding": 10}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -202,7 +202,7 @@ class FreeInitOptionsNode: "optional": { "iter_batch_offset": ("INT", {"default": 0, "min": 0, "max": BIGMAX}), "iter_seed_offset": ("INT", {"default": 1, "min": BIGMIN, "max": BIGMAX}), - "autosize": ("ADEAUTOSIZE", {"padding": 55}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -229,7 +229,7 @@ class CustomCFGNode: }, "optional": { "cfg_extras": ("CFG_EXTRAS",), - "autosize": ("ADEAUTOSIZE", {"padding": 20}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -253,7 +253,7 @@ class CustomCFGSimpleNode: }, "optional": { "cfg_extras": ("CFG_EXTRAS",), - "autosize": ("ADEAUTOSIZE", {"padding": 10}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -277,7 +277,7 @@ class CustomCFGKeyframeNode: "optional": { "prev_custom_cfg": ("CUSTOM_CFG",), "cfg_extras": ("CFG_EXTRAS",), - "autosize": ("ADEAUTOSIZE", {"padding": 80}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -337,7 +337,7 @@ class CustomCFGKeyframeInterpolationNode: "optional": { "prev_custom_cfg": ("CUSTOM_CFG",), "cfg_extras": ("CFG_EXTRAS",), - "autosize": ("ADEAUTOSIZE", {"padding": 70}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -424,7 +424,7 @@ class CFGExtrasPAGNode: }, "optional": { "prev_extras": ("CFG_EXTRAS",), - "autosize": ("ADEAUTOSIZE", {"padding": 45}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -509,7 +509,7 @@ class CFGExtrasRescaleCFGSimpleNode: }, "optional": { "prev_extras": ("CFG_EXTRAS",), - "autosize": ("ADEAUTOSIZE", {"padding": 45}), + "autosize": ("ADEAUTOSIZE", {"padding": 10}), } } @@ -569,7 +569,7 @@ class NoisedImageInjectOptionsNode: "optional": { "composite_x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 1}), "composite_y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 1}), - "autosize": ("ADEAUTOSIZE", {"padding": 30}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } diff --git a/animatediff/nodes_sigma_schedule.py b/animatediff/nodes_sigma_schedule.py index a27b36c..c6667f2 100644 --- a/animatediff/nodes_sigma_schedule.py +++ b/animatediff/nodes_sigma_schedule.py @@ -76,7 +76,7 @@ class WeightedAverageSigmaScheduleNode: "weight_A": ("FLOAT", {"default": 0.5, "min": 0.0, "max": 1.0, "step": 0.001}), }, "optional": { - "autosize": ("ADEAUTOSIZE", {"padding": 80}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -104,7 +104,7 @@ class InterpolatedWeightedAverageSigmaScheduleNode: "interpolation": (InterpolationMethod._LIST,), }, "optional": { - "autosize": ("ADEAUTOSIZE", {"padding": 70}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -135,7 +135,7 @@ class SplitAndCombineSigmaScheduleNode: "idx_split_percent": ("FLOAT", {"default": 0.5, "min": 0.0, "max": 1.0, "step": 0.001}) }, "optional": { - "autosize": ("ADEAUTOSIZE", {"padding": 40}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } } @@ -164,7 +164,7 @@ class SigmaScheduleToSigmasNode: "denoise": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}), }, "optional": { - "autosize": ("ADEAUTOSIZE", {"padding": 50}), + "autosize": ("ADEAUTOSIZE", {"padding": 0}), } }