From 5b62be04471bf118b2cd3cc71431a302f5730b01 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sat, 28 Mar 2026 11:03:48 +0100 Subject: [PATCH] chore: update default steps=100 and cfg_scale=7.0 Co-Authored-By: Claude Sonnet 4.6 --- nodes/sampler.py | 4 ++-- nodes/text_only.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nodes/sampler.py b/nodes/sampler.py index 6de5b4e..1aaf90f 100644 --- a/nodes/sampler.py +++ b/nodes/sampler.py @@ -16,8 +16,8 @@ class PrismAudioSampler: "model": ("PRISMAUDIO_MODEL",), "features": ("PRISMAUDIO_FEATURES",), "duration": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 30.0, "step": 0.1, "tooltip": "Audio duration in seconds. Set to 0 to use the video duration from features automatically."}), - "steps": ("INT", {"default": 24, "min": 1, "max": 100, "tooltip": "Number of sampling steps"}), - "cfg_scale": ("FLOAT", {"default": 5.0, "min": 1.0, "max": 20.0, "step": 0.1, "tooltip": "Classifier-free guidance scale"}), + "steps": ("INT", {"default": 100, "min": 1, "max": 100, "tooltip": "Number of sampling steps"}), + "cfg_scale": ("FLOAT", {"default": 7.0, "min": 1.0, "max": 20.0, "step": 0.1, "tooltip": "Classifier-free guidance scale"}), "seed": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFFFF}), }, } diff --git a/nodes/text_only.py b/nodes/text_only.py index 336c3b8..3197ff6 100644 --- a/nodes/text_only.py +++ b/nodes/text_only.py @@ -17,8 +17,8 @@ class PrismAudioTextOnly: "model": ("PRISMAUDIO_MODEL",), "text_prompt": ("STRING", {"default": "", "multiline": True, "tooltip": "Detailed chain-of-thought description of the audio scene. Use long, descriptive text — e.g. 'A large dog barks sharply twice, with ambient outdoor background noise. The sound is clear and close.' Short prompts produce lower quality."}), "duration": ("FLOAT", {"default": 10.0, "min": 1.0, "max": 30.0, "step": 0.1}), - "steps": ("INT", {"default": 24, "min": 1, "max": 100}), - "cfg_scale": ("FLOAT", {"default": 5.0, "min": 1.0, "max": 20.0, "step": 0.1}), + "steps": ("INT", {"default": 100, "min": 1, "max": 100}), + "cfg_scale": ("FLOAT", {"default": 7.0, "min": 1.0, "max": 20.0, "step": 0.1}), "seed": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFFFF}), }, }