Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.
Accept workflows saved before the Step cache input and sample them in full
Bowen Xue36acd45be05d
diff --git a/freevideo_engine/comfy_nodes.py b/freevideo_engine/comfy_nodes.pyindex 2df1d2b..f78f155 100644--- a/freevideo_engine/comfy_nodes.py+++ b/freevideo_engine/comfy_nodes.py@@ -16,8 +16,9 @@ STEP_CACHE_OPTIONS = ('none', 'easycache-av', 'fbcache')def step_cache_option(value):- """Bridge keyword for the Step cache widget; a workflow without it, or with 'none', adds nothing."""- return {} if value in (None, 'none') else {'step_cache': value}+ """Bridge keyword for the Step cache widget; a workflow without it, with 'none' or with a value that is+ not an option adds nothing. Workflows saved before the widget existed hold '' in its position."""+ return {'step_cache': value} if value in STEP_CACHE_OPTIONS and value != 'none' else {}class FreeVideoGenerate(io.ComfyNode):@@ -89,9 +90,11 @@ class FreeVideoGenerate(io.ComfyNode):@classmethoddef validate_inputs(cls, text, width, height, seconds, seed, continue_from='', frames=0, two_pass=True,- preview=False, refine_from='', base_steps=8, refine_steps=3):+ preview=False, refine_from='', base_steps=8, refine_steps=3, step_cache='none'):# ComfyUI marks every input named here when a check fails, so only the checked widgets are# listed. Linked pictures, media and conditioning have no value before the run anyway.+ # step_cache is named so ComfyUI skips its option list: an older saved workflow puts '' there,+ # and execute samples in full for any value that is not an option.refine_from = optional_text(refine_from)try:options = request_options(continue_from, frames)diff --git a/web/optional_inputs.js b/web/optional_inputs.jsindex 240a3b0..b089de3 100644--- a/web/optional_inputs.js+++ b/web/optional_inputs.js@@ -2,7 +2,9 @@// shape. A workflow restored from an older version, or a widget list that moved,// can leave an empty or missing value in them, and Comfy then rejects the whole// request. Keep each of them to a value the server accepts.-const DEFAULTS = {refine_from: '', continue_from: '', frames: 0, first_frame_reference: false};+const DEFAULTS = {refine_from: '', continue_from: '', frames: 0, first_frame_reference: false, step_cache: 'none'};+// A workflow saved before Step cache existed holds '' where it now sits.+const STEP_CACHE_OPTIONS = ['none', 'easycache-av', 'fbcache'];// The words a script, an older workflow or String(null) leaves behind for "not given".const EMPTY_WORDS = new Set(['none', 'null', 'undefined', 'nan']);@@ -18,6 +20,7 @@ export function optionalInputValue(name, value) {if (name === 'frames') return Number.isSafeInteger(value) && value >= 0 ? value : 0;if (name === 'refine_from' || name === 'continue_from') return optionalText(value);if (name === 'first_frame_reference') return value === true;+ if (name === 'step_cache') return STEP_CACHE_OPTIONS.includes(value) ? value : 'none';return value;}