From d8d13079d8d7b510e50d6f3d094a630edbe7ebd0 Mon Sep 17 00:00:00 2001 From: Bowen Xue Date: Mon, 30 Nov 2026 04:34:59 +0000 Subject: [PATCH 1/4] Windows launcher: starting ComfyUI no longer opens an error window Windows launcher: starting ComfyUI no longer opens an error window; the graphics card count runs in ComfyUI's own Python The count read before ComfyUI starts ran the launcher's own executable as Python. In the single-file Windows launcher that child shared the launcher's unpacked files and ran its startup step a second time, which stopped with "the same file" and showed an error window. The count now runs in the Python ComfyUI uses, with the installed engine; the packaged Windows launcher never starts itself to run a module, and the setup fallback that reads the card through CUDA reports a clear error there instead. The startup step that restores data files also accepts a second run: a file that is already in place is kept, and a different file in its place is replaced whole. --- freevideo_engine/comfy_launcher_runtime.py | 12 ++++++--- freevideo_engine/cuda_inventory.py | 11 ++++++-- freevideo_engine/processes.py | 18 ++++++++++--- scripts/pyi_rth_bundle_data.py | 31 ++++++++++++++++++---- 4 files changed, 58 insertions(+), 14 deletions(-) diff --git a/freevideo_engine/comfy_launcher_runtime.py b/freevideo_engine/comfy_launcher_runtime.py index e77c9f00..bbe4b018 100644 --- a/freevideo_engine/comfy_launcher_runtime.py +++ b/freevideo_engine/comfy_launcher_runtime.py @@ -1447,7 +1447,7 @@ def _open_access_proxy(self): self.state = dict(self.state, selection=dict(self.selection)) self.refresh_access_links() - def _stop_without_cuda_devices(self, command, env, directory, context): + def _stop_without_cuda_devices(self, command, env, directory, context, source=None): """Stop before ComfyUI starts when the CUDA driver is there and shows no device. ComfyUI would import Torch and quit on the same fact ("No CUDA GPUs are available") before it @@ -1455,11 +1455,14 @@ def _stop_without_cuda_devices(self, command, env, directory, context): with the environment ComfyUI gets, so a CUDA_VISIBLE_DEVICES that hides every card counts too. A machine without the CUDA driver library (AMD, Intel, Mac), a read that fails, a CPU-only control process and a started device executor all go on as before. + The child is ComfyUI's own Python (command[0]) with the installed engine (source): the packaged + Windows launcher cannot run a module itself. """ if sys.platform == 'darwin' or '--cpu' in command or env.get('FREEVIDEO_EXECUTOR_DEVICE'): return from . import cuda_inventory - found = cuda_inventory.count_devices(env) + child = dict(python=command[0], source=source) if source is not None else {} + found = cuda_inventory.count_devices(env, **child) visible = env.get('CUDA_VISIBLE_DEVICES') if found is not None: cuda_inventory.remember(found, visible) @@ -1469,7 +1472,7 @@ def _stop_without_cuda_devices(self, command, env, directory, context): cuda_inventory.report_line(found, visible)] if visible is not None: # Only the variable is the cause when the driver shows a card without it: the card says so then. - free = cuda_inventory.count_devices({name: value for name, value in env.items() if name != 'CUDA_VISIBLE_DEVICES'}) + free = cuda_inventory.count_devices({name: value for name, value in env.items() if name != 'CUDA_VISIBLE_DEVICES'}, **child) if free and free.get('library') is True and free.get('init') == 0 and (free.get('count') or 0) > 0: lines.append('CUDA devices without CUDA_VISIBLE_DEVICES: %d' % free['count']) card = cuda_inventory.named_card() @@ -1650,7 +1653,8 @@ def _connect_comfy(self): env = launch_view.environment_view(env, view) from .windows_ux import external_python if managed: - self._stop_without_cuda_devices(command, env, directory, context) + self._stop_without_cuda_devices(command, env, directory, context, + source=launch_view.value(selected['source'], view) if view.used else selected['source']) with self._server_lock, external_python(), io_path(self.server_log).open('wb') as log: if self._closed or self.cancelled.is_set(): raise RuntimeError('ComfyUI startup cancelled') diff --git a/freevideo_engine/cuda_inventory.py b/freevideo_engine/cuda_inventory.py index bfcbf4ae..2cc20d55 100644 --- a/freevideo_engine/cuda_inventory.py +++ b/freevideo_engine/cuda_inventory.py @@ -25,6 +25,9 @@ def probe(selector=None): + if processes.frozen_windows(): + # Started here, FreeVideo.exe would open its own extraction again rather than run this module. + raise RuntimeError('the CUDA reading runs in the installed Python, not in the packaged launcher') env = dict(os.environ) # Enumerate physical devices, then select by stable UUID in the worker too. env.pop('CUDA_VISIBLE_DEVICES', None) @@ -35,15 +38,19 @@ def probe(selector=None): return json.loads(result.stdout) -def count_devices(env=None, timeout=15): +def count_devices(env=None, timeout=15, *, python=None, source=None): """What the CUDA driver says about this process's devices, read in a child that exits again. Returns dict(library, init, count) or None when it could not be read. `library` is False when the machine has no CUDA driver library (AMD, Intel, no driver); nothing is claimed then. The child sees `env` as it is, CUDA_VISIBLE_DEVICES included, so the count is the one Torch would get. + python and source run it in ComfyUI's own Python with the installed engine; without them the packaged + Windows launcher reads nothing (see processes.frozen_windows). """ + if python is None and processes.frozen_windows(): + return None try: - result = subprocess_output.run_python(processes.module_command(__name__, '--count'), + result = subprocess_output.run_python(processes.module_command(__name__, '--count', python=python, source=source), env=env, capture_output=True, timeout=timeout) value = json.loads(result.stdout.strip().splitlines()[-1]) if result.returncode or not isinstance(value, dict): diff --git a/freevideo_engine/processes.py b/freevideo_engine/processes.py index 5fdeacdf..f669b343 100644 --- a/freevideo_engine/processes.py +++ b/freevideo_engine/processes.py @@ -34,14 +34,26 @@ def descriptors(): return () if descriptor is None else (descriptor,) -def module_command(module, *arguments): - """Also works with portable Windows Python, whose ._pth ignores PYTHONPATH.""" - if getattr(sys, 'frozen', False) and sys.platform.startswith('linux'): +def frozen_windows(): + """The packaged Windows launcher: sys.executable is FreeVideo.exe, which has no Python command line. A child it + starts with its own environment joins its PyInstaller extraction instead of running Python.""" + return bool(getattr(sys, 'frozen', False)) and os.name == 'nt' + + +def module_command(module, *arguments, python=None, source=None): + """Also works with portable Windows Python, whose ._pth ignores PYTHONPATH. + + python and source name another interpreter and the folder holding freevideo_engine, as the packaged Windows + launcher needs: it cannot run a module itself (frozen_windows).""" + if python is None and getattr(sys, 'frozen', False) and sys.platform.startswith('linux'): # The Linux launcher (AppImage) runs its own helpers; see modern_launcher.main. return [sys.executable, '--freevideo-module', module, *map(str, arguments)] from .installed_entry import INSTALLED_ONLY code = (INSTALLED_ONLY + "import runpy;sys.path.insert(0,sys.argv.pop(1));" "runpy.run_module(sys.argv.pop(1),run_name='__main__',alter_sys=True)") + if python is not None: + return [str(python), '-B', '-X', 'utf8', '-c', code, str(source or Path(__file__).resolve().parents[1]), module, + *map(str, arguments)] source = Path(__file__).resolve().parents[1] view = launch_view.current() if view is not None: diff --git a/scripts/pyi_rth_bundle_data.py b/scripts/pyi_rth_bundle_data.py index daf21f45..069fbbf9 100644 --- a/scripts/pyi_rth_bundle_data.py +++ b/scripts/pyi_rth_bundle_data.py @@ -14,12 +14,33 @@ def restore_data_links(bundle): if not source.resolve().is_relative_to(bundle) or not target.resolve().is_relative_to(bundle): raise ValueError('Data alias escapes the extracted bundle') target.parent.mkdir(parents=True, exist_ok=True) + if target.exists(): + # A process this executable starts with its environment shares the + # extraction and runs this hook again: the alias is already there. + if os.path.samefile(source, target) or source.read_bytes() == target.read_bytes(): + continue + else: + try: + os.link(source, target) + continue + except FileExistsError: + if os.path.samefile(source, target): + continue + except OSError: + pass + # FAT/exFAT or a policy forbidding hardlinks must still launch, and a + # different file in the way is replaced whole. The archive contains + # only one copy even if extraction needs a copy. + temporary = target.with_name('%s.%d.restore' % (target.name, os.getpid())) try: - os.link(source, target) - except OSError: - # FAT/exFAT or a policy forbidding hardlinks must still launch. The - # archive contains only one copy even if extraction needs a copy. - shutil.copyfile(source, target) + try: + os.link(source, temporary) + except OSError: + shutil.copyfile(source, temporary) + os.replace(temporary, target) + finally: + if temporary.exists(): + temporary.unlink() if __name__ == '__main__': From 1b2298245724b52b9003e18280922eadec7726f4 Mon Sep 17 00:00:00 2001 From: Bowen Xue Date: Mon, 30 Nov 2026 04:39:52 +0000 Subject: [PATCH 2/4] Windows CI: the packaged launcher's smoke test checks that it never starts itself for the... Windows CI: the packaged launcher's smoke test checks that it never starts itself for the graphics card count and that its startup step can run twice Inside the real packaged process, the smoke test reads the CUDA count, which must start no child there, and runs the shipped onefile startup step a second time in its own extraction, as a child sharing it would. The Windows CI job fails when either goes wrong; the folder build has no onefile step to run. --- freevideo_engine/frozen_checks.py | 34 +++++++++++++++++++++++++++++ freevideo_engine/modern_launcher.py | 3 +++ 2 files changed, 37 insertions(+) create mode 100644 freevideo_engine/frozen_checks.py diff --git a/freevideo_engine/frozen_checks.py b/freevideo_engine/frozen_checks.py new file mode 100644 index 00000000..1feb419d --- /dev/null +++ b/freevideo_engine/frozen_checks.py @@ -0,0 +1,34 @@ +"""What the packaged launcher's own smoke test checks about starting itself. + +In the packaged Windows launcher sys.executable is FreeVideo.exe. A child it starts with its environment shares its +PyInstaller extraction and runs the startup hooks again instead of running Python. self_start() reads, inside the real +packaged process: the CUDA count must start no child there, and the onefile hook that restores data aliases must run a +second time in this extraction, as such a child would, without failing. +""" +import os +from pathlib import Path +import sys + + +def self_start(): + from . import cuda_inventory, subprocess_output + calls, run = [], subprocess_output.run_python + + def counted(*args, **kwargs): + calls.append(args[0] if args else kwargs.get('command')) + return run(*args, **kwargs) + subprocess_output.run_python = counted + try: + found = cuda_inventory.count_devices(dict(os.environ)) + finally: + subprocess_output.run_python = run + result = dict(count=found, count_children=len(calls)) + bundle = getattr(sys, '_MEIPASS', None) + if bundle and (Path(bundle) / '_freevideo-data-links.json').is_file(): + import runpy + hook = runpy.run_path(str(Path(bundle) / 'engine-source' / 'scripts' / 'pyi_rth_bundle_data.py'), run_name='freevideo_hook_again') + hook['restore_data_links'](bundle) + result['hook_again'] = 'ok' + else: + result['hook_again'] = 'no onefile extraction' + return result diff --git a/freevideo_engine/modern_launcher.py b/freevideo_engine/modern_launcher.py index 57c63649..bf524880 100644 --- a/freevideo_engine/modern_launcher.py +++ b/freevideo_engine/modern_launcher.py @@ -763,6 +763,9 @@ def smoke_test(app, engine, window, bridge, destination): build = current_build() if getattr(sys, 'frozen', False) and build is None: raise ValueError('Packaged launcher update identity is missing') + if getattr(sys, 'frozen', False) and os.name == 'nt': + from .frozen_checks import self_start + payload['self_start'] = self_start() events = queue.Queue() runner = LauncherRunner(session.source, events, destination / 'help') runner.start('help', destination / 'engine', ['--help']) From fca6fdf9e92baf8b3f5dfc3c4477826b178d4083 Mon Sep 17 00:00:00 2001 From: Bowen Xue Date: Mon, 30 Nov 2026 04:39:52 +0000 Subject: [PATCH 3/4] Windows release check: a packaged launcher that starts itself for the graphics card count, or... Windows release check: a packaged launcher that starts itself for the graphics card count, or whose startup step fails a second run, is not published The launch check of the release build reads the smoke test's self-start result for both layouts and blocks publication when the CUDA count started a child or the onefile startup step did not run again cleanly. --- scripts/scan_windows_release.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/scripts/scan_windows_release.py b/scripts/scan_windows_release.py index b8007ba4..ae1ee9aa 100644 --- a/scripts/scan_windows_release.py +++ b/scripts/scan_windows_release.py @@ -273,6 +273,10 @@ def verify_launches(onefile, folder_zip, program, report, logs, *, blocked_layou or not reopened.get('installed_history') or not reopened.get('process_inspection')): row['smoke'] = payload raise RuntimeError('Downloaded launcher failed its startup/resource check') + problem = self_start_problem(label, payload) + if problem: + row['smoke'] = payload + raise RuntimeError('Downloaded launcher ' + problem) if not executable.is_file() or digest(executable) != row['sha256']: raise RuntimeError('Defender removed or changed the launcher during startup') row['status'] = 'passed' @@ -287,6 +291,22 @@ def verify_launches(onefile, folder_zip, program, report, logs, *, blocked_layou require_realtime(report['defender_after_launch']) +def self_start_problem(label, payload): + """What the smoke test's self_start reading says is wrong (frozen_checks.self_start), or None. + + The packaged launcher must start no child for the CUDA count, and the onefile layout's startup step must run a second + time in its own extraction, as a child sharing it would; the folder layout has no such step.""" + value = (payload.get('payload') or {}).get('self_start') + if not isinstance(value, dict): + return 'reported no self-start check' + if value.get('count_children') != 0: + return 'started itself for the CUDA count (%r children)' % value.get('count_children') + expected = 'ok' if label == 'onefile' else 'no onefile extraction' + if value.get('hook_again') != expected: + return 'data startup step, second run: %r' % value.get('hook_again') + return None + + def scan(files, report_path, *, launches=None, scripts=()): report_path = Path(report_path) report_path.parent.mkdir(parents=True, exist_ok=True) From 5d0909f3fb323083ff151c70c07bf2b95a0f4f86 Mon Sep 17 00:00:00 2001 From: Bowen Xue Date: Mon, 30 Nov 2026 04:39:52 +0000 Subject: [PATCH 4/4] Release 0.6.19: update notes --- freevideo_engine/release_notes.json | 104 +++++++++++----------------- 1 file changed, 42 insertions(+), 62 deletions(-) diff --git a/freevideo_engine/release_notes.json b/freevideo_engine/release_notes.json index edd91e88..328d9835 100644 --- a/freevideo_engine/release_notes.json +++ b/freevideo_engine/release_notes.json @@ -1,41 +1,56 @@ { "schema": 1, - "product_version": "0.6.18", + "product_version": "0.6.19", "en": { - "summary": "0.6.18 brings back the media of an earlier video with Reuse settings, gives characters their own voices, lets each line of a batch use its own media, fits notices and the character dialog to narrow windows, keeps what the page saved in FreeVideo's own data, explains why ComfyUI does not start when CUDA finds no graphics card, and fixes the second pass after Preview first when extending a video.", + "summary": "0.6.19 fixes an error message and a wait of about 15 seconds each time ComfyUI started in the single-file Windows version.", "changes": [ - "Reuse settings: Reuse settings now also brings back the media an earlier video was made with; cards that were turned off stay turned off, and one Undo puts the whole panel back. When a file no longer exists, the notice names it and the rest is filled in. Reuse settings from Creations closes Creations first, so its notice can be seen. If you change the media afterwards, the \"Filled in\" notice and its Undo go away, as they already did when you change the prompt.", - "Characters: The New character and Edit character dialogs have a Voice section: choose audio or a video with sound in which only this person speaks, choose where the kept part starts, listen to it, and replace or remove it. Naming the character with @ in a prompt then adds its voice together with its pictures. After you save, the character details keep the current picture until the new one is ready, instead of flashing.", - "Media in prompts: When you turn off a media card, its place in the prompt is kept by name, such as [Turned off: cat.png], and the card is not sent to the model; turning it on again brings the label back. With One prompt per line, a line that names media with @ uses only that media, and the other lines use all media that is on; a character named with @ brings its own pictures and is written into the prompt as the subject. When a line names media that is turned off, not in Media or removed, the batch does not start and the message says which line and what to do.", - "Notices: A notice stays on one line when it fits and otherwise puts its buttons on a second row, also after the window is resized. Its words are never cut off; only a long file name is shortened. Between about 720 and 1064 px wide, notices are no longer squeezed. Closing an empty edit that is open elsewhere or still generating now keeps it without a notice. When making a prompt from a picture or video waits for another job, a plain note says so, without Report a problem, and clears itself. Once clicked, Report a problem reads \"Opened\" and does not open the same form again right away.", - "Narrow windows: In the character dialog, the tabs, view names and clothing options show whole words in every language at widths down to 320 px; when a word does not fit its tab, the tabs stand in a column, and the views go two by two. Under the prompt box, when the keys still do not fit after the AI and audio keys fold, \"From creations\" also shows only its icon.", - "Page check and opening screen: On a slow first start, the opening screen stays for up to two minutes instead of reporting that the creative workspace did not open; if the workspace opens after the card appeared, the card goes away by itself. FreeVideo's own scripts are no longer listed as errors of other ComfyUI extensions, and the card names the step that failed. The counting line on the opening screen follows the interface language.", - "Saved data and privacy: Prompt history, drafts and the other things the page keeps in the browser are now also kept in FreeVideo's user data, so they come back when you open FreeVideo at another address or in another browser. Deleting a creation also removes its prompt from the history; after the last creation is deleted, its prompt is also removed from ComfyUI's backup of unsaved workflow tabs, even when the page is not open.", - "Launcher: When CUDA cannot see any graphics card, the launcher no longer starts ComfyUI; it explains why and what to do: restart the computer, update the NVIDIA driver to 580 or newer, make sure the NVIDIA graphics card is enabled on a laptop, and open FreeVideo on the computer itself when connected through Remote Desktop. If the CUDA_VISIBLE_DEVICES environment variable hides every card, the message names it. When the driver is too old during the installation check, the message names the buttons on the page: Check again, and Continue after a restart.", - "Extending videos: After Preview first, running the second pass on the preview now finishes instead of stopping with an error. Long videos that have finished now appear in the job list.", - "LoRA check: A LoRA made only for the audio part of another model, such as one trained for the LTX-2.3 audio layers, is now reported as made for another model at every precision, instead of failing to merge in int8 or being let through in fp8 and bf16.", - "Connected assistants: Planning and generating a project's parts over HTTP, MCP and the command line works again. The planning report gives the same first and second passes that the jobs actually run, at every quality level and for previews. Reading a queued job no longer waits while another job is starting.", - "Downloads and offline packages: Pieces left by failed downloads for the Fast level are cleaned up by the same rule as other downloads, so they no longer pile up when a source cannot resume, and checking the transfer size no longer counts copies kept after a failure. An offline package is recognized even when its folder name differs in letter case or prefix; when the package folder is not above its files, an error is shown at once instead of waiting." + "Windows: With the single-file FreeVideo.exe, starting ComfyUI no longer shows \"Unhandled exception in script\" and no longer takes about 15 seconds longer." ] }, "zh": { - "summary": "0.6.18 的“复用设置”会带回早先视频用过的素材;人物可以有自己的声音;批量生成时每一行可以用自己的素材;提示条和人物对话框在窄窗口下也能完整显示;页面保存在浏览器里的内容也保存到 FreeVideo 自己的数据里;CUDA 找不到显卡时启动器会说明原因;延长视频时“先出预览”后继续二采不再出错。", + "summary": "0.6.19 修复了 Windows 单文件版每次启动 ComfyUI 时弹出的错误提示和约 15 秒的等待。", "changes": [ - "复用设置:“复用设置”现在会一并带回早先视频用过的素材;当时关掉的卡仍是关闭的,点一次“撤销”就能恢复整个面板。文件已不存在时,提示会写出它的名字,其余内容照常填入。从作品库“复用设置”时会先关闭作品库,提示能看得到。之后再改素材,“已填入”提示和它的“撤销”会消失,和改提示词时一样。", - "人物:“新建角色”和“编辑角色”对话框新增“声音”一栏:选择一段只有这个人说话的音频或带声音的视频,选好保留部分从哪里开始,试听,也可以更换或移除。之后在提示词里用 @ 点名这个人物,声音会和图片一起带上。保存后,人物详情会保留当前的图片,等新图到了再换,不再先闪一下。", - "提示词里的素材:关掉一张素材卡时,提示词里它的位置会按名字保留,例如 [已关闭:cat.png],这张卡不会发送给模型;重新打开后标签恢复。使用“每行一条提示词”时,用 @ 点名素材的那一行只用被点名的素材,其他行使用全部已打开的素材;用 @ 点名的人物会带上自己的图片,并作为主体写进提示词。某一行点名的素材已关闭、不在素材中或已移除时,批量不会开始,提示会写明是哪一行、该怎么做。", - "提示条:整句放得下时提示条保持一行,放不下时按钮换到第二行,调整窗口大小时会重新判断。提示里的文字不再被截断,只有较长的文件名会在末尾省略。窗口宽约 720 到 1064 像素时,提示条不再被挤得看不见。关闭一个空的剪辑时,如果它还在另一个窗口打开着,或者还有片段正在生成,会直接关闭并保留这个剪辑,不再弹出提示。从图片或视频生成提示词时,如果要等别的任务,会显示一行普通提示,不带“提交问题”按钮,任务结束后自动消失。点过“提交问题”后按钮显示“已打开”,短时间内不会重复打开同一张表单。", - "窄窗口:人物对话框在窄到 320 像素时,标签页、视角名和服装选项在各种语言中都显示完整的词;某个词在标签里放不下时,标签改为上下排列,视角改为两列两行。提示词框下方的按键在 AI 和音频按键折叠后仍放不下时,“从作品库选择”也只显示图标。", - "页面检查和开场画面:较慢的电脑第一次启动时,开场画面最多保留两分钟,不再先报“创作面板未能打开”;卡片出现后面板又打开了,卡片会自动消失。FreeVideo 自己的脚本不再被列为其他 ComfyUI 扩展的错误,卡片会写明是哪一步失败。开场画面上那行计数文字按界面语言显示。", - "保存的内容和隐私:页面保存在浏览器里的提示词历史、草稿等内容,现在也会保存到 FreeVideo 的用户数据中,换一个地址或换一个浏览器打开 FreeVideo 也能找回。删除作品时,它的提示词也会从历史中清除;删除最后一个作品后,ComfyUI 未保存工作流标签的备份里如果还留着那条提示词,也会一并删除,页面没打开时也一样。", - "启动器:CUDA 找不到任何显卡时,不再启动 ComfyUI,而是说明原因和下一步:重启电脑、把 NVIDIA 驱动更新到 580 或更新版本、笔记本请确认 NVIDIA 显卡已启用、通过远程桌面连接时请在这台电脑本机上打开 FreeVideo。如果是环境变量 CUDA_VISIBLE_DEVICES 把显卡都隐藏了,提示会写出这个变量。安装检查时显卡驱动太旧,提示里写的是页面上真实的按钮:“重新检查”,以及重启后点的“继续”。", - "延长视频:选“先出预览”后,再对预览继续二采能正常完成,不再中途报错。已结束的长视频会出现在任务列表里。", - "LoRA 检查:只针对其他模型音频部分的 LoRA(例如为 LTX-2.3 音频层训练的),在各种精度下都会提示“这是为其他模型制作的 LoRA”,不再在 int8 下报无法合并,也不会在 fp8、bf16 下被放行。", - "已连接的助手:通过 HTTP、MCP 和命令行规划并生成项目的各段,又能正常使用。规划报告里写的第一遍、第二遍与实际生成时一致,各档位和预览都是如此。读取排队中的任务时,不再因为另一个任务正在启动而等待。", - "下载和离线包:极速档下载失败留下的残片按其他下载同样的规则清理,下载源无法续传时不再越积越多;检查传输大小时,失败后保留的副本不再计入。离线包所在文件夹的名称大小写或前缀和文件不同时也能认出;包文件夹不在文件上方时会立即报错,不再一直等待。" + "Windows:使用单文件版 FreeVideo.exe 时,启动 ComfyUI 不再弹出 “Unhandled exception in script”,也不再多等约 15 秒。" ] }, "history": [ + { + "product_version": "0.6.18", + "en": { + "summary": "0.6.18 brings back the media of an earlier video with Reuse settings, gives characters their own voices, lets each line of a batch use its own media, fits notices and the character dialog to narrow windows, keeps what the page saved in FreeVideo's own data, explains why ComfyUI does not start when CUDA finds no graphics card, and fixes the second pass after Preview first when extending a video.", + "changes": [ + "Reuse settings: Reuse settings now also brings back the media an earlier video was made with; cards that were turned off stay turned off, and one Undo puts the whole panel back. When a file no longer exists, the notice names it and the rest is filled in. Reuse settings from Creations closes Creations first, so its notice can be seen. If you change the media afterwards, the \"Filled in\" notice and its Undo go away, as they already did when you change the prompt.", + "Characters: The New character and Edit character dialogs have a Voice section: choose audio or a video with sound in which only this person speaks, choose where the kept part starts, listen to it, and replace or remove it. Naming the character with @ in a prompt then adds its voice together with its pictures. After you save, the character details keep the current picture until the new one is ready, instead of flashing.", + "Media in prompts: When you turn off a media card, its place in the prompt is kept by name, such as [Turned off: cat.png], and the card is not sent to the model; turning it on again brings the label back. With One prompt per line, a line that names media with @ uses only that media, and the other lines use all media that is on; a character named with @ brings its own pictures and is written into the prompt as the subject. When a line names media that is turned off, not in Media or removed, the batch does not start and the message says which line and what to do.", + "Notices: A notice stays on one line when it fits and otherwise puts its buttons on a second row, also after the window is resized. Its words are never cut off; only a long file name is shortened. Between about 720 and 1064 px wide, notices are no longer squeezed. Closing an empty edit that is open elsewhere or still generating now keeps it without a notice. When making a prompt from a picture or video waits for another job, a plain note says so, without Report a problem, and clears itself. Once clicked, Report a problem reads \"Opened\" and does not open the same form again right away.", + "Narrow windows: In the character dialog, the tabs, view names and clothing options show whole words in every language at widths down to 320 px; when a word does not fit its tab, the tabs stand in a column, and the views go two by two. Under the prompt box, when the keys still do not fit after the AI and audio keys fold, \"From creations\" also shows only its icon.", + "Page check and opening screen: On a slow first start, the opening screen stays for up to two minutes instead of reporting that the creative workspace did not open; if the workspace opens after the card appeared, the card goes away by itself. FreeVideo's own scripts are no longer listed as errors of other ComfyUI extensions, and the card names the step that failed. The counting line on the opening screen follows the interface language.", + "Saved data and privacy: Prompt history, drafts and the other things the page keeps in the browser are now also kept in FreeVideo's user data, so they come back when you open FreeVideo at another address or in another browser. Deleting a creation also removes its prompt from the history; after the last creation is deleted, its prompt is also removed from ComfyUI's backup of unsaved workflow tabs, even when the page is not open.", + "Launcher: When CUDA cannot see any graphics card, the launcher no longer starts ComfyUI; it explains why and what to do: restart the computer, update the NVIDIA driver to 580 or newer, make sure the NVIDIA graphics card is enabled on a laptop, and open FreeVideo on the computer itself when connected through Remote Desktop. If the CUDA_VISIBLE_DEVICES environment variable hides every card, the message names it. When the driver is too old during the installation check, the message names the buttons on the page: Check again, and Continue after a restart.", + "Extending videos: After Preview first, running the second pass on the preview now finishes instead of stopping with an error. Long videos that have finished now appear in the job list.", + "LoRA check: A LoRA made only for the audio part of another model, such as one trained for the LTX-2.3 audio layers, is now reported as made for another model at every precision, instead of failing to merge in int8 or being let through in fp8 and bf16.", + "Connected assistants: Planning and generating a project's parts over HTTP, MCP and the command line works again. The planning report gives the same first and second passes that the jobs actually run, at every quality level and for previews. Reading a queued job no longer waits while another job is starting.", + "Downloads and offline packages: Pieces left by failed downloads for the Fast level are cleaned up by the same rule as other downloads, so they no longer pile up when a source cannot resume, and checking the transfer size no longer counts copies kept after a failure. An offline package is recognized even when its folder name differs in letter case or prefix; when the package folder is not above its files, an error is shown at once instead of waiting." + ] + }, + "zh": { + "summary": "0.6.18 的“复用设置”会带回早先视频用过的素材;人物可以有自己的声音;批量生成时每一行可以用自己的素材;提示条和人物对话框在窄窗口下也能完整显示;页面保存在浏览器里的内容也保存到 FreeVideo 自己的数据里;CUDA 找不到显卡时启动器会说明原因;延长视频时“先出预览”后继续二采不再出错。", + "changes": [ + "复用设置:“复用设置”现在会一并带回早先视频用过的素材;当时关掉的卡仍是关闭的,点一次“撤销”就能恢复整个面板。文件已不存在时,提示会写出它的名字,其余内容照常填入。从作品库“复用设置”时会先关闭作品库,提示能看得到。之后再改素材,“已填入”提示和它的“撤销”会消失,和改提示词时一样。", + "人物:“新建角色”和“编辑角色”对话框新增“声音”一栏:选择一段只有这个人说话的音频或带声音的视频,选好保留部分从哪里开始,试听,也可以更换或移除。之后在提示词里用 @ 点名这个人物,声音会和图片一起带上。保存后,人物详情会保留当前的图片,等新图到了再换,不再先闪一下。", + "提示词里的素材:关掉一张素材卡时,提示词里它的位置会按名字保留,例如 [已关闭:cat.png],这张卡不会发送给模型;重新打开后标签恢复。使用“每行一条提示词”时,用 @ 点名素材的那一行只用被点名的素材,其他行使用全部已打开的素材;用 @ 点名的人物会带上自己的图片,并作为主体写进提示词。某一行点名的素材已关闭、不在素材中或已移除时,批量不会开始,提示会写明是哪一行、该怎么做。", + "提示条:整句放得下时提示条保持一行,放不下时按钮换到第二行,调整窗口大小时会重新判断。提示里的文字不再被截断,只有较长的文件名会在末尾省略。窗口宽约 720 到 1064 像素时,提示条不再被挤得看不见。关闭一个空的剪辑时,如果它还在另一个窗口打开着,或者还有片段正在生成,会直接关闭并保留这个剪辑,不再弹出提示。从图片或视频生成提示词时,如果要等别的任务,会显示一行普通提示,不带“提交问题”按钮,任务结束后自动消失。点过“提交问题”后按钮显示“已打开”,短时间内不会重复打开同一张表单。", + "窄窗口:人物对话框在窄到 320 像素时,标签页、视角名和服装选项在各种语言中都显示完整的词;某个词在标签里放不下时,标签改为上下排列,视角改为两列两行。提示词框下方的按键在 AI 和音频按键折叠后仍放不下时,“从作品库选择”也只显示图标。", + "页面检查和开场画面:较慢的电脑第一次启动时,开场画面最多保留两分钟,不再先报“创作面板未能打开”;卡片出现后面板又打开了,卡片会自动消失。FreeVideo 自己的脚本不再被列为其他 ComfyUI 扩展的错误,卡片会写明是哪一步失败。开场画面上那行计数文字按界面语言显示。", + "保存的内容和隐私:页面保存在浏览器里的提示词历史、草稿等内容,现在也会保存到 FreeVideo 的用户数据中,换一个地址或换一个浏览器打开 FreeVideo 也能找回。删除作品时,它的提示词也会从历史中清除;删除最后一个作品后,ComfyUI 未保存工作流标签的备份里如果还留着那条提示词,也会一并删除,页面没打开时也一样。", + "启动器:CUDA 找不到任何显卡时,不再启动 ComfyUI,而是说明原因和下一步:重启电脑、把 NVIDIA 驱动更新到 580 或更新版本、笔记本请确认 NVIDIA 显卡已启用、通过远程桌面连接时请在这台电脑本机上打开 FreeVideo。如果是环境变量 CUDA_VISIBLE_DEVICES 把显卡都隐藏了,提示会写出这个变量。安装检查时显卡驱动太旧,提示里写的是页面上真实的按钮:“重新检查”,以及重启后点的“继续”。", + "延长视频:选“先出预览”后,再对预览继续二采能正常完成,不再中途报错。已结束的长视频会出现在任务列表里。", + "LoRA 检查:只针对其他模型音频部分的 LoRA(例如为 LTX-2.3 音频层训练的),在各种精度下都会提示“这是为其他模型制作的 LoRA”,不再在 int8 下报无法合并,也不会在 fp8、bf16 下被放行。", + "已连接的助手:通过 HTTP、MCP 和命令行规划并生成项目的各段,又能正常使用。规划报告里写的第一遍、第二遍与实际生成时一致,各档位和预览都是如此。读取排队中的任务时,不再因为另一个任务正在启动而等待。", + "下载和离线包:极速档下载失败留下的残片按其他下载同样的规则清理,下载源无法续传时不再越积越多;检查传输大小时,失败后保留的副本不再计入。离线包所在文件夹的名称大小写或前缀和文件不同时也能认出;包文件夹不在文件上方时会立即报错,不再一直等待。" + ] + } + }, { "product_version": "0.6.17", "en": { @@ -405,41 +420,6 @@ ] }, "important": true - }, - { - "product_version": "0.6.6", - "en": { - "summary": "0.6.6 gives more control over MOSS-Image pictures and makes them faster on smaller graphics cards, lets a reference video lend only its layout, explains more failures with a next step, and makes the Edit view easier to use in narrow windows and view switches smoother on slower computers.", - "changes": [ - "More control over picture layout: draw boxes with Layout in the Image view and give each one a line of description to place each part of the picture. Words in quotation marks are written into the picture.", - "MOSS-Image is faster on smaller graphics cards: a 1024-pixel picture on a 12 GB card is made much faster, with exactly the same result as before.", - "A reference video can lend only its layout: with Composition only, the new video follows the layout of the reference video, not its motion or colours.", - "Original sound plays on phones: an MP3 used as the original sound stays an MP3 in the finished video, so phones and system players can play it.", - "Frames saved in the Edit view also go to the output folder: with Also save pictures to the output folder on in Settings, a frame saved in the Edit view is copied there as well.", - "More failures explain what happened and what to do next, including a task that gets no answer after it is submitted, a picture the assistant cannot start and a Git error during setup.", - "Smoother on slower computers: with fewer processor cores or slow view switches, FreeVideo turns off the switch animation, and the library and short clips play more smoothly.", - "The Edit view is easier to use in a narrow window: the preview and buttons no longer cover each other, and the tracks and the update bar are shown in full.", - "Dialogs and tips are easier to read: their text is no longer disturbed by what lies behind them, and a hover tip appears only when a name is cut short.", - "Fields are easier to fill in: a number typed outside its range is brought back into range with a note under the field. An emptied LoRA strength returns to the strength in use.", - "Tutorial additions: how to export at 48 or 60 fps, and how to use MOSS-Image layout boxes." - ] - }, - "zh": { - "summary": "0.6.6 让 MOSS-Image 出图更可控,在显存较小的显卡上也更快;参考视频可以只沿用构图;更多失败会说明原因和下一步;窄窗口下的剪辑视图和低配电脑上的视图切换更顺畅。", - "changes": [ - "图片构图更可控:在图像视图中用“布局”画框,并为每个框写一句描述,即可指定画面中各部分的位置。引号中的文字会直接写进画面。", - "MOSS-Image 在显存较小的显卡上更快:12 GB 显卡生成 1024 像素的图片明显加快,画面与之前完全相同。", - "参考视频可以只沿用构图:选择“仅参考构图”时,生成的视频沿用参考视频的构图,不沿用其动作和颜色。", - "MP3 原声可在手机上直接播放:作为原声的 MP3 在成片中保持原样,手机和系统播放器均可直接播放。", - "剪辑视图保存的画面也会存入 output 文件夹:开启设置中的“同时将图片保存到 output 文件夹”后,在剪辑视图中保存的画面同样会复制到 output 文件夹。", - "更多失败会说明原因和下一步:任务提交后无应答、助手请求的图片无法开始、安装时 Git 出错,都会说明发生了什么以及接下来该怎么做。", - "低配电脑上更流畅:处理器核心较少或视图切换较慢时,FreeVideo 会自动关闭切换动画,作品库和短视频播放更加顺畅。", - "窄窗口下的剪辑视图更易用:预览与按钮不再互相遮挡,轨道和更新栏均完整显示。", - "对话框和提示更易阅读:对话框与提示的文字不再受背景内容干扰,悬停提示只在名称显示不全时出现。", - "输入更省心:数字框中输入超出范围的值时,会自动改回范围内并给出提示。清空 LoRA 强度后,会恢复为正在使用的强度。", - "教程补充:新增导出 48 或 60 fps 视频的方法,以及 MOSS-Image 布局框的用法。" - ] - } } ] }