Skip to content

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.

The image editor opens again: its fonts ship in the launcher packages (0.3.22) (#151)

Bowen Xue6be45640ab6f
diff --git a/MANIFEST.in b/MANIFEST.in
index 23467ce..94e6af7 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -5,6 +5,7 @@ include NOTICE THIRD_PARTY_NOTICES.md CONTRIBUTING.md SECURITY.md CITATION.cff
recursive-include example_workflows *.json
recursive-include web *.js *.css
recursive-include web/assets *.svg *.png
+recursive-include web/fonts *.woff2
recursive-include freevideo_engine/assets *.png *.ico
recursive-include freevideo_engine/launcher *.qml
recursive-include freevideo_engine/launcher/licenses *.txt
diff --git a/freevideo_engine/desktop_runtime.py b/freevideo_engine/desktop_runtime.py
index 37b8958..9f4ec31 100644
--- a/freevideo_engine/desktop_runtime.py
+++ b/freevideo_engine/desktop_runtime.py
@@ -40,7 +40,8 @@ def source_files(root):
files = [root / name for name in names]
files += [p for folder in ('freevideo_engine', 'constraints', 'web', 'example_workflows')
for p in (root / folder).rglob('*')
- if p.is_file() and p.suffix in ('.py', '.json', '.txt', '.ps1', '.sh', '.js', '.css', '.svg', '.png', '.ico', '.qml')]
+ if p.is_file() and p.suffix in ('.py', '.json', '.txt', '.ps1', '.sh', '.js', '.css', '.svg', '.png', '.ico', '.qml',
+ '.woff2')]
return sorted(files)
diff --git a/freevideo_engine/release_notes.json b/freevideo_engine/release_notes.json
index 0c32e63..2052192 100644
--- a/freevideo_engine/release_notes.json
+++ b/freevideo_engine/release_notes.json
@@ -1,41 +1,56 @@
{
"schema": 1,
- "product_version": "0.3.21",
+ "product_version": "0.3.22",
"en": {
- "summary": "FreeVideo comes to Linux desktops as an AppImage, images in Media can be edited in place, and videos on Windows generate faster and more reliably when GPU memory or RAM is tight.",
+ "summary": "The image editor opens again after installing or updating with the launcher.",
"changes": [
- "FreeVideo comes to Linux desktops as an AppImage with the same launcher as Windows and macOS: it installs ComfyUI, the runtime and the models, adds FreeVideo to the application menu and updates itself. In a terminal, ./setup.sh now continues until FreeVideo is open, and freevideo opens it again later. On a GPU server, freevideo server keeps FreeVideo running for other computers to use.",
- "Images in Media can now be edited without leaving FreeVideo: click Edit on a picture to crop it to the video's shape, add text and shapes, adjust light and color, and work with layers, masks and selections. Spot healing fills each stroke with texture from the surrounding picture, and Captions only removes burned-in captions. Text uses FreeVideo's built-in open-source fonts. The original file is kept, and opening the edit again brings back every layer.",
- "The FreeVideo toolbar with the Create and Nodes switch can now be dragged anywhere on the page, like a window. It stays where you leave it after ComfyUI, FreeVideo or the browser restarts, and in other browsers too. Double-click an empty part of the toolbar to put it back at the top.",
- "Prompt enhancement now keeps the lines written for characters to say as spoken dialogue, word for word, instead of turning them into on-screen text, and puts each section of the enhanced prompt on its own line.",
- "On Windows, FreeVideo now leaves room for the GPU memory other applications are using, so videos no longer slow down or start over when the GPU fills up. On a test GPU limited to 8 GB, with 2.6 GB used by another application, a 5-second 960×544 video took 208 s instead of 290 s. On computers with little free RAM, the second pass also no longer loads the video model again.",
- "On Windows, int8 videos sample faster on GPUs with 6 to 16 GB of memory. When memory allows, attention is computed in larger groups without using more video memory: on a Windows test GPU limited to 12 GB, a 1344×768 step took 58.2 s instead of 63.3 s, about 8% faster. 16 GB RTX 40 and 30 series cards with 13.5 to 14 GB free now copy the next model layer while the current one computes, as RTX 50 series cards already did. The same seed can give a slightly different video, as it already does between GPUs with different memory.",
- "On Windows computers short of RAM, model layers read from the drive are now read ahead while the previous layer computes, without using more memory; in our tests this cut each sampling step by about 20%. While the last steps run, FreeVideo also reads ahead as much of the video decoder as free RAM allows, instead of skipping it when the whole decoder does not fit. The same seed gives the same video as before.",
- "Videos spend less time getting ready. A new prompt or video size no longer makes FreeVideo compile its GPU kernels again, which took about 7 seconds per video on a Windows test machine, and a long ComfyUI session keeps them compiled instead of falling back to a much slower path. The second sampling step no longer compiles part of the model again, which on Windows could stop an attempt when the GPU was nearly full. The same seed gives the same video as before.",
- "On Mac, the installer shows and checks free space the same way Finder does, including space macOS frees on its own, such as local Time Machine snapshots. Below the install location it names the disk and its free space, Choose another disk lists the other connected disks, and when space runs short it suggests one with enough room. A new installation needs about 73 GB instead of about 110 GB, and exFAT, FAT32, read-only and disconnected disks are explained before installation starts.",
- "Installation is harder to interrupt and easier to follow: the overall progress moves with the model download, a small file whose download breaks off is fetched again, and the launcher reinstalls its loader when the FreeVideo folder in ComfyUI's custom nodes had its original files put back.",
- "Offline-package installations take less disk space. Once the installation holds and has verified everything in the imported ZIP files, FreeVideo offers to delete them, so the packages no longer take the space twice; nothing is deleted without confirmation. The first start after installing or updating removes unpacked package folders and download leftovers that are no longer needed and shows how much space was freed, and models copied from another disk come with a note on how to avoid the copy.",
- "Fixes: FreeVideo's page now loads with ad-block filter lists that blocked one of its scripts by name, and the page check names any FreeVideo file a browser extension blocks. Enlarging a video to full screen in the node view no longer shows the \"did not load completely\" message. Newer ComfyUI versions no longer print an asset registration warning after every video. Local optimization works when the second pass keeps part of its data in RAM, as on 8 GB Windows GPUs."
+ "The image editor opens again. In 0.3.21 installed or updated with the launcher, clicking Edit only showed \"The image could not be opened for editing.\" because the fonts the editor uses were missing from the package."
]
},
"zh": {
- "summary": "FreeVideo 推出 Linux 桌面版 AppImage,素材图片可以直接编辑,Windows 上显存或内存紧张时生成更快、更稳定。",
+ "summary": "通过启动器安装或更新后,图片编辑器可以正常打开了。",
"changes": [
- "Linux 桌面可以使用 FreeVideo 的 AppImage,启动器与 Windows、macOS 相同:自动安装 ComfyUI、运行环境和模型,加入应用菜单,并能自动更新。在终端里,./setup.sh 现在会一直进行到打开 FreeVideo,之后输入 freevideo 会再次打开它。在 GPU 服务器上,freevideo server 会让 FreeVideo 保持运行,供其他电脑使用。",
- "素材里的图片现在可以直接在 FreeVideo 中编辑:点击图片上的“编辑”,可以裁剪成视频比例、添加文字和形状、调整光线和颜色,并使用图层、蒙版和选区。污点修复会用周围画面的纹理填补,“只去字幕”可以去掉烧进画面的字幕。文字使用 FreeVideo 内置的开源字体。原图会保留,再次打开编辑时所有图层都在。",
- "带“创作面板 / 节点视图”切换的 FreeVideo 工具栏现在可以像窗口一样拖到页面任意位置。重启 ComfyUI、FreeVideo 或浏览器后,它仍在原处,换一个浏览器也一样。双击工具栏空白处,可以让它回到顶部。",
- "提示词增强现在会把写给角色说的台词原样保留为对白,不再变成画面里的文字;增强后的提示词每个部分各占一行。",
- "在 Windows 上,FreeVideo 现在会给其他程序占用的显存留出空间,显卡被占满时生成不再变慢或中止重来。在一块限制为 8 GB、其中 2.6 GB 被其他程序占用的测试显卡上,生成 5 秒 960×544 视频从 290 秒缩短到 208 秒。在空闲内存较少的电脑上,第二遍也不再重新加载视频模型。",
- "在 Windows 上,6–16 GB 显存的显卡生成 int8 视频更快。显存允许时,注意力以更大的分组计算,显存占用不增加:在一块限制为 12 GB 的 Windows 测试显卡上,1344×768 视频每步从 63.3 秒缩短到 58.2 秒,约快 8%。空闲显存为 13.5 到 14 GB 的 16 GB RTX 40 和 30 系列显卡,现在也会在当前层计算的同时复制下一层,与 RTX 50 系列此前的做法相同。同一个种子生成的视频可能略有不同,就像在显存不同的显卡上本来就会有差异一样。",
- "在内存不足的 Windows 电脑上,需要从硬盘读取的模型层现在会在上一层计算时提前读取,而且不额外占用内存;在我们的测试中,每个采样步缩短约 20%。在最后几个采样步进行时,FreeVideo 还会在空闲内存允许的范围内预先读取尽可能多的视频解码器,不再因为放不下整个解码器就完全不读。同一个种子生成的视频与以前相同。",
- "视频开始生成前的等待更短。换提示词或视频尺寸后,FreeVideo 不再重新编译显卡算子(在 Windows 测试机上每个视频约省 7 秒),在较长的 ComfyUI 会话中也不会退回慢得多的未编译方式。第二个采样步不再重新编译部分模型;在 Windows 上,这次编译曾在显卡快满时使尝试中止。同一个种子生成的视频与以前相同。",
- "在 Mac 上,安装器显示和检查的可用空间现在与访达一致,包括 macOS 需要时会自动释放的空间,例如 Time Machine 本地快照。安装位置下方会显示所在硬盘和可用空间,点“换一块硬盘”可以选择其他已连接的硬盘,空间不够时会推荐一块够用的硬盘。全新安装所需的空间从约 110 GB 降到约 73 GB;exFAT、FAT32、只读或没有连接的硬盘,会在安装开始前说明原因。",
- "安装更不容易中断,过程也更清楚:整体进度会随模型下载推进;小文件下载中断时会重新下载;ComfyUI 自定义节点里的 FreeVideo 文件夹被放回原始文件后,启动器会重新装上加载器。",
- "用离线包安装后,占用的硬盘空间更少。安装已包含并校验完导入的压缩包里的全部内容后,FreeVideo 会提示删除这些压缩包,离线包不再占两份空间;删除前需要确认。安装或更新后第一次启动时,FreeVideo 会清理不再需要的离线包解压目录和下载残留,并显示释放了多少空间;从另一块硬盘复制来的模型,会附一句说明,讲清楚怎样避免这份复制。",
- "修复:部分广告拦截列表会按文件名拦下 FreeVideo 的一个脚本,导致创作面板不显示,现在页面可以正常加载,页面检查也会指出被浏览器插件拦截的文件。在节点视图里把视频放大到全屏时,不再出现“没有完整加载”的提示。较新的 ComfyUI 不再在每个视频完成后打印资源登记警告。第二遍需要把部分数据放在内存里时(例如 8 GB Windows 显卡),本地优化可以正常运行。"
+ "图片编辑器可以正常打开了。通过启动器安装或更新的 0.3.21 缺少编辑器用的字体,点“编辑”只会提示“这张图片无法打开编辑。”。"
]
},
"history": [
+ {
+ "product_version": "0.3.21",
+ "en": {
+ "summary": "FreeVideo comes to Linux desktops as an AppImage, images in Media can be edited in place, and videos on Windows generate faster and more reliably when GPU memory or RAM is tight.",
+ "changes": [
+ "FreeVideo comes to Linux desktops as an AppImage with the same launcher as Windows and macOS: it installs ComfyUI, the runtime and the models, adds FreeVideo to the application menu and updates itself. In a terminal, ./setup.sh now continues until FreeVideo is open, and freevideo opens it again later. On a GPU server, freevideo server keeps FreeVideo running for other computers to use.",
+ "Images in Media can now be edited without leaving FreeVideo: click Edit on a picture to crop it to the video's shape, add text and shapes, adjust light and color, and work with layers, masks and selections. Spot healing fills each stroke with texture from the surrounding picture, and Captions only removes burned-in captions. Text uses FreeVideo's built-in open-source fonts. The original file is kept, and opening the edit again brings back every layer.",
+ "The FreeVideo toolbar with the Create and Nodes switch can now be dragged anywhere on the page, like a window. It stays where you leave it after ComfyUI, FreeVideo or the browser restarts, and in other browsers too. Double-click an empty part of the toolbar to put it back at the top.",
+ "Prompt enhancement now keeps the lines written for characters to say as spoken dialogue, word for word, instead of turning them into on-screen text, and puts each section of the enhanced prompt on its own line.",
+ "On Windows, FreeVideo now leaves room for the GPU memory other applications are using, so videos no longer slow down or start over when the GPU fills up. On a test GPU limited to 8 GB, with 2.6 GB used by another application, a 5-second 960×544 video took 208 s instead of 290 s. On computers with little free RAM, the second pass also no longer loads the video model again.",
+ "On Windows, int8 videos sample faster on GPUs with 6 to 16 GB of memory. When memory allows, attention is computed in larger groups without using more video memory: on a Windows test GPU limited to 12 GB, a 1344×768 step took 58.2 s instead of 63.3 s, about 8% faster. 16 GB RTX 40 and 30 series cards with 13.5 to 14 GB free now copy the next model layer while the current one computes, as RTX 50 series cards already did. The same seed can give a slightly different video, as it already does between GPUs with different memory.",
+ "On Windows computers short of RAM, model layers read from the drive are now read ahead while the previous layer computes, without using more memory; in our tests this cut each sampling step by about 20%. While the last steps run, FreeVideo also reads ahead as much of the video decoder as free RAM allows, instead of skipping it when the whole decoder does not fit. The same seed gives the same video as before.",
+ "Videos spend less time getting ready. A new prompt or video size no longer makes FreeVideo compile its GPU kernels again, which took about 7 seconds per video on a Windows test machine, and a long ComfyUI session keeps them compiled instead of falling back to a much slower path. The second sampling step no longer compiles part of the model again, which on Windows could stop an attempt when the GPU was nearly full. The same seed gives the same video as before.",
+ "On Mac, the installer shows and checks free space the same way Finder does, including space macOS frees on its own, such as local Time Machine snapshots. Below the install location it names the disk and its free space, Choose another disk lists the other connected disks, and when space runs short it suggests one with enough room. A new installation needs about 73 GB instead of about 110 GB, and exFAT, FAT32, read-only and disconnected disks are explained before installation starts.",
+ "Installation is harder to interrupt and easier to follow: the overall progress moves with the model download, a small file whose download breaks off is fetched again, and the launcher reinstalls its loader when the FreeVideo folder in ComfyUI's custom nodes had its original files put back.",
+ "Offline-package installations take less disk space. Once the installation holds and has verified everything in the imported ZIP files, FreeVideo offers to delete them, so the packages no longer take the space twice; nothing is deleted without confirmation. The first start after installing or updating removes unpacked package folders and download leftovers that are no longer needed and shows how much space was freed, and models copied from another disk come with a note on how to avoid the copy.",
+ "Fixes: FreeVideo's page now loads with ad-block filter lists that blocked one of its scripts by name, and the page check names any FreeVideo file a browser extension blocks. Enlarging a video to full screen in the node view no longer shows the \"did not load completely\" message. Newer ComfyUI versions no longer print an asset registration warning after every video. Local optimization works when the second pass keeps part of its data in RAM, as on 8 GB Windows GPUs."
+ ]
+ },
+ "zh": {
+ "summary": "FreeVideo 推出 Linux 桌面版 AppImage,素材图片可以直接编辑,Windows 上显存或内存紧张时生成更快、更稳定。",
+ "changes": [
+ "Linux 桌面可以使用 FreeVideo 的 AppImage,启动器与 Windows、macOS 相同:自动安装 ComfyUI、运行环境和模型,加入应用菜单,并能自动更新。在终端里,./setup.sh 现在会一直进行到打开 FreeVideo,之后输入 freevideo 会再次打开它。在 GPU 服务器上,freevideo server 会让 FreeVideo 保持运行,供其他电脑使用。",
+ "素材里的图片现在可以直接在 FreeVideo 中编辑:点击图片上的“编辑”,可以裁剪成视频比例、添加文字和形状、调整光线和颜色,并使用图层、蒙版和选区。污点修复会用周围画面的纹理填补,“只去字幕”可以去掉烧进画面的字幕。文字使用 FreeVideo 内置的开源字体。原图会保留,再次打开编辑时所有图层都在。",
+ "带“创作面板 / 节点视图”切换的 FreeVideo 工具栏现在可以像窗口一样拖到页面任意位置。重启 ComfyUI、FreeVideo 或浏览器后,它仍在原处,换一个浏览器也一样。双击工具栏空白处,可以让它回到顶部。",
+ "提示词增强现在会把写给角色说的台词原样保留为对白,不再变成画面里的文字;增强后的提示词每个部分各占一行。",
+ "在 Windows 上,FreeVideo 现在会给其他程序占用的显存留出空间,显卡被占满时生成不再变慢或中止重来。在一块限制为 8 GB、其中 2.6 GB 被其他程序占用的测试显卡上,生成 5 秒 960×544 视频从 290 秒缩短到 208 秒。在空闲内存较少的电脑上,第二遍也不再重新加载视频模型。",
+ "在 Windows 上,6–16 GB 显存的显卡生成 int8 视频更快。显存允许时,注意力以更大的分组计算,显存占用不增加:在一块限制为 12 GB 的 Windows 测试显卡上,1344×768 视频每步从 63.3 秒缩短到 58.2 秒,约快 8%。空闲显存为 13.5 到 14 GB 的 16 GB RTX 40 和 30 系列显卡,现在也会在当前层计算的同时复制下一层,与 RTX 50 系列此前的做法相同。同一个种子生成的视频可能略有不同,就像在显存不同的显卡上本来就会有差异一样。",
+ "在内存不足的 Windows 电脑上,需要从硬盘读取的模型层现在会在上一层计算时提前读取,而且不额外占用内存;在我们的测试中,每个采样步缩短约 20%。在最后几个采样步进行时,FreeVideo 还会在空闲内存允许的范围内预先读取尽可能多的视频解码器,不再因为放不下整个解码器就完全不读。同一个种子生成的视频与以前相同。",
+ "视频开始生成前的等待更短。换提示词或视频尺寸后,FreeVideo 不再重新编译显卡算子(在 Windows 测试机上每个视频约省 7 秒),在较长的 ComfyUI 会话中也不会退回慢得多的未编译方式。第二个采样步不再重新编译部分模型;在 Windows 上,这次编译曾在显卡快满时使尝试中止。同一个种子生成的视频与以前相同。",
+ "在 Mac 上,安装器显示和检查的可用空间现在与访达一致,包括 macOS 需要时会自动释放的空间,例如 Time Machine 本地快照。安装位置下方会显示所在硬盘和可用空间,点“换一块硬盘”可以选择其他已连接的硬盘,空间不够时会推荐一块够用的硬盘。全新安装所需的空间从约 110 GB 降到约 73 GB;exFAT、FAT32、只读或没有连接的硬盘,会在安装开始前说明原因。",
+ "安装更不容易中断,过程也更清楚:整体进度会随模型下载推进;小文件下载中断时会重新下载;ComfyUI 自定义节点里的 FreeVideo 文件夹被放回原始文件后,启动器会重新装上加载器。",
+ "用离线包安装后,占用的硬盘空间更少。安装已包含并校验完导入的压缩包里的全部内容后,FreeVideo 会提示删除这些压缩包,离线包不再占两份空间;删除前需要确认。安装或更新后第一次启动时,FreeVideo 会清理不再需要的离线包解压目录和下载残留,并显示释放了多少空间;从另一块硬盘复制来的模型,会附一句说明,讲清楚怎样避免这份复制。",
+ "修复:部分广告拦截列表会按文件名拦下 FreeVideo 的一个脚本,导致创作面板不显示,现在页面可以正常加载,页面检查也会指出被浏览器插件拦截的文件。在节点视图里把视频放大到全屏时,不再出现“没有完整加载”的提示。较新的 ComfyUI 不再在每个视频完成后打印资源登记警告。第二遍需要把部分数据放在内存里时(例如 8 GB Windows 显卡),本地优化可以正常运行。"
+ ]
+ }
+ },
{
"product_version": "0.3.20",
"en": {
@@ -246,31 +261,6 @@
"下载的诊断报告按保存时间命名(FreeVideo-report-日期-时间.json),多次下载不会再出现「video.debug (1).json」「(2)」这样的文件名。"
]
}
- },
- {
- "product_version": "0.3.9",
- "en": {
- "summary": "Updates no longer leave earlier versions behind, updating your ComfyUI no longer reinstalls PyTorch, and a FreeVideo page that does not load completely now says why.",
- "changes": [
- "After an update, the launcher removes the earlier launcher copies and FreeVideo files it no longer uses, and shows how much space was freed. Models, outputs, files you changed and the copies your shortcuts or pinned icons open are kept.",
- "On Windows, the downloaded PyTorch packages (about 1.8 GB) are removed once every environment has them installed. They are only needed to create an environment again.",
- "When ComfyUI runs in FreeVideo's separate environment and you update ComfyUI, the launcher updates that environment before starting it, instead of downloading another one with PyTorch.",
- "An engine folder inside an existing ComfyUI is now ignored by git, so ComfyUI updaters that stash or clean untracked files no longer copy or move its models and environments.",
- "If FreeVideo’s page does not load completely in the browser, for example its styles or the creative workspace are missing, the page now says which file failed, why, and what to do. The launcher shows the same problem, and diagnostic reports include it.",
- "Opening FreeVideo from the launcher now always brings its workflow to the front, even when ComfyUI reopens the tabs from your last session."
- ]
- },
- "zh": {
- "summary": "更新后不再残留旧版本文件;升级 ComfyUI 后不再重新安装 PyTorch;FreeVideo 页面没有完整加载时会说明原因。",
- "changes": [
- "更新完成后,启动器会自动删除不再使用的旧版启动器和 FreeVideo 文件,并显示释放的空间。模型、生成结果、你改动过的文件,以及快捷方式或固定图标会打开的副本都会保留。",
- "Windows 上,所有环境都装好 PyTorch 后,会删除已下载的 PyTorch 安装包(约 1.8 GB),这些安装包只在重新创建环境时才需要。",
- "ComfyUI 在 FreeVideo 准备的独立环境中运行时,升级 ComfyUI 后,启动器会在启动前更新这个环境,不再另外下载一整套带 PyTorch 的环境。",
- "放在已有 ComfyUI 里的引擎文件夹现在会被 git 忽略,ComfyUI 更新工具暂存或清理未跟踪文件时,不会再复制或移走其中的模型和环境。",
- "浏览器里的 FreeVideo 页面没有完整加载时(例如样式丢失或创作面板打不开),页面会写明是哪个文件、什么原因、该怎么处理;启动器也会显示同样的问题,诊断报告中也会包含。",
- "从启动器打开 FreeVideo 时,即使 ComfyUI 恢复了上次的标签页,FreeVideo 工作流也会显示在最前面。"
- ]
- }
}
]
}
diff --git a/pyproject.toml b/pyproject.toml
index dcc4114..4f481db 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -32,4 +32,4 @@ include = ["freevideo_engine*"]
[tool.setuptools.package-data]
"freevideo_engine.prompt_vlm" = ["model.json"]
-freevideo_engine = ["build-version.txt", "build-identity.json", "release_notes.json", "dependencies.json", "model_files.json", "model_shares.json", "prepared_models.json", "macos_reference_catalog.json", "superseded_tables.json", "bootstrap_versions.json", "git_linux.json", "uv_downloads.json", "torch_downloads.json", "test_prompts.json", "windows_bootstrap.ps1", "assets/*.png", "assets/*.ico", "launcher/*.qml", "launcher/licenses/*.txt", "licenses/*.txt"]
+freevideo_engine = ["build-version.txt", "build-identity.json", "release_notes.json", "dependencies.json", "model_files.json", "model_shares.json", "prepared_models.json", "macos_reference_catalog.json", "superseded_tables.json", "bootstrap_versions.json", "curl_windows.json", "git_linux.json", "uv_downloads.json", "torch_downloads.json", "test_prompts.json", "windows_bootstrap.ps1", "assets/*.png", "assets/*.ico", "launcher/*.qml", "launcher/licenses/*.txt", "licenses/*.txt"]