Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
d57413a
Windows setup: a setup step that ends like a crash leaves a note with…
KBRASK Nov 22, 2026
430d196
Launcher: source files missing from the deployed source folder are pu…
KBRASK Nov 22, 2026
3302039
Tutorial: a chapter on upscaling a video
KBRASK Nov 22, 2026
c8a7252
Tutorial: chapters on making several videos at once (batch, one promp…
KBRASK Nov 23, 2026
3196093
Editor: stopping a dubbing run asks its own question, since the lines…
KBRASK Nov 23, 2026
6759bf1
Editor timeline: when the tracks are taller than the timeline, the so…
KBRASK Nov 23, 2026
2021c74
Launcher names FreeVideo where it meant the running service; setup la…
KBRASK Nov 22, 2026
3255898
Failure card: when the engine accepted the connection but did not ans…
KBRASK Nov 23, 2026
b4d8f29
Editor import: a WebM or MKV recording whose header gives no length i…
KBRASK Nov 23, 2026
98b5d91
Late answer in the queue stage (cancel, reorder, resume, a part that …
KBRASK Nov 23, 2026
20e8212
Launcher: the port cards and the update card name the Server address …
KBRASK Nov 23, 2026
e64e246
Name a driverless display device of any vendor from the complete PCI …
KBRASK Nov 23, 2026
32cf257
README: which NVIDIA cards are supported (compute capability 8.0 or h…
KBRASK Nov 23, 2026
c35154b
Editor: when a continued video finishes, its next part is made ready …
KBRASK Nov 23, 2026
2795960
Placement test: a memory stop in the prompt encode is reported as a m…
KBRASK Nov 23, 2026
2199258
Windows on Arm: native setup on ARM64 Windows computers with their ow…
KBRASK Nov 23, 2026
19ec41f
Editor: while a part is generating inside Studio, Cancel stands on th…
KBRASK Nov 23, 2026
3136361
Release 0.6.9: update notes
KBRASK Nov 23, 2026
fbc3400
Editor timeline: the Remove Audio 2 key stays whole and centred in th…
KBRASK Nov 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<p align="center">English · <a href="README.zh-CN.md">中文</a></p>

Make videos on the computer you already own. Powered by [Video DeltaNet (VDN)](https://openvdn.github.io/), FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, with acceleration adapted to your&nbsp;hardware.
Make videos on the computer you already own. Powered by [Video DeltaNet (VDN)](https://openvdn.github.io/), FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM on NVIDIA graphics cards with compute capability 8.0 or higher (such as the RTX 30 series or newer, professional cards included), with acceleration adapted to your&nbsp;hardware. Apple silicon Macs run a preview.

https://github.com/user-attachments/assets/ecda7d0d-7fbe-4e0c-8c29-8f3315bafc15

Expand All @@ -36,7 +36,7 @@ FreeVideo is a local inference engine for MiniMax H3 on consumer GPUs, built on

It coordinates VRAM, system memory and disk, adapting weight placement, compute precision and attention kernels to the available hardware. FreeVideo runs as a ComfyUI plugin, with launchers for Windows, macOS and Linux. Its core features include:

- **Hardware-adaptive execution**: Chooses the weight format for each GPU, int8 on GeForce and RTX 30-series cards and FP8 on workstation and datacenter cards, and automatically probes the available attention kernels.
- **Hardware-adaptive execution**: Chooses the weight format for each GPU, int8 on GeForce RTX 30, 40 and 50 series cards and other Ampere cards, and FP8 on workstation and datacenter cards of newer architectures, and automatically probes the available attention kernels.
- **Low-memory inference**: Weight streaming, asynchronous prefetching and chunked computation keep peak memory low, enabling inference with as little as 8 GB of VRAM and 16 GB of RAM.
- **Multimodal inputs**: Text prompts, first and last frames, and image, video and audio references.
- **Community LoRAs**: Use MiniMax H3 LoRAs in your workflow. See [examples](docs/LoRA.md).
Expand Down
4 changes: 2 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<p align="center"><a href="README.md">English</a> · 中文</p>

FreeVideo 由 [Video DeltaNet(VDN)](https://openvdn.github.io/) 驱动,让 MiniMax H3 能够在消费级显卡上本地运行,最低只需 8GB 显存和 16GB 内存,并会根据硬件配置自动选择合适的加速路径。
FreeVideo 由 [Video DeltaNet(VDN)](https://openvdn.github.io/) 驱动,让 MiniMax H3 能够在计算能力 8.0 及以上的 NVIDIA 显卡(如 RTX 30 系列及更新,包括专业卡)上本地运行,最低只需 8GB 显存和 16GB 内存,并会根据硬件配置自动选择合适的加速路径。Apple 芯片 Mac 为预览版。

https://github.com/user-attachments/assets/ecda7d0d-7fbe-4e0c-8c29-8f3315bafc15

Expand All @@ -36,7 +36,7 @@ FreeVideo 是面向消费级显卡的 MiniMax H3 本地推理引擎,基于 [Op

它统一调度显存、内存与磁盘,并根据硬件条件调整权重放置、计算精度和注意力内核。FreeVideo 以 ComfyUI 插件形式提供,配备 Windows、macOS 和 Linux 启动器。主要特性包括:

- **硬件自适应**:针对不同显卡选择权重格式(GeForce 和 RTX 30 系用 int8,专业卡和数据中心卡用 FP8),并自动探测可用的注意力内核,无需手动配置。
- **硬件自适应**:针对不同显卡选择权重格式(GeForce RTX 30、40、50 系列和其他 Ampere 架构的显卡用 int8,更新架构的专业卡和数据中心卡用 FP8),并自动探测可用的注意力内核,无需手动配置。
- **低显存推理**:通过权重流式加载、异步预取与分块计算降低峰值显存,最低只需 8GB 显存和 16GB 内存。
- **多模态输入**:支持文本、首帧、尾帧,以及图像、视频、音频参考输入。
- **社区 LoRA**:支持在工作流中使用 MiniMax H3 社区 LoRA。[查看效果对比](docs/LoRA.zh-CN.md)。
Expand Down
1 change: 1 addition & 0 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ FreeVideo code uses [Apache-2.0](LICENSE). Its dependencies and models retain th
| [Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1) Turbo image generation models, including Qwen3-VL-8B and VAE (optional download; [notice](freevideo_engine/image_gen/licenses/NOTICE.txt) installed with the models), © 2026 Hangzhou Tongyi Laboratory Technology Co., Ltd. All Rights Reserved. | [Qwen RESEARCH LICENSE AGREEMENT](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/LICENSE) |
| [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) 1.13.8 speech runtime, built by FreeVideo without text-to-speech, ALSA and PortAudio (modified build; `__init__.py` edited; source snapshot 11afbd00 kept by FreeVideo; optional download for automatic subtitles, [build note](freevideo_engine/licenses/sherpa-onnx-build-NOTE.txt)). Includes statically linked kaldi-native-fbank, kaldi-decoder, kaldifst, OpenFst, simple-sentencepiece (Apache-2.0), KissFFT (BSD-3-Clause), pybind11 (BSD-3-Clause), nlohmann/json (MIT), hclust-cpp and Darts-clone (BSD-2-Clause), ThreadPool (Zlib). The Windows build also contains msvcp140.dll and msvcp140_1.dll (Microsoft Visual C++ 2022 runtime 14.44.35211, © Microsoft Corporation), unmodified and redistributed as permitted by Microsoft for its redistributable files. | Apache-2.0 |
| [CosyVoice](https://github.com/FunAudioLLM/CosyVoice) code adapted for dubbing and [Fun-CosyVoice3-0.5B-2512](https://modelscope.cn/models/FunAudioLLM/Fun-CosyVoice3-0.5B-2512) weights, © 2024 Alibaba Inc (optional download); includes MIT-licensed parts of Matcha-TTS, HiFi-GAN, x_transformers and Snake | [Apache-2.0](freevideo_engine/licenses/CosyVoice-Apache-2.0.txt); [MIT notices](freevideo_engine/licenses/CosyVoice-NOTICE.txt) |
| [PyTorch](https://github.com/pytorch/pytorch) 2.14.0, torchvision 0.29.0 and torchaudio 2.11.1 for Windows on Arm (CUDA 13.4 builds by NVIDIA; setup downloads them unchanged from NVIDIA's package index, pypi.nvidia.com), © PyTorch contributors. The wheels contain further libraries, including NVIDIA's CUDA runtime, cuBLAS, NVBLAS, cuFFT, cuRAND, cuSOLVER, cuSPARSE, NPP, nvJPEG, NVRTC, nvJitLink, nvFatbin, CUPTI, the performance-counter libraries (nvperf), cuDLA and cuDNN, © NVIDIA Corporation; Arm Performance Libraries (armpl), © Arm Limited; libuv; and, in torchvision, libjpeg (jpeg62.dll), libwebp (with libsharpyuv) and the Microsoft Visual C++ runtime (msvcp140.dll) | PyTorch, torchvision and torchaudio: BSD-style and the licenses in each wheel's `licenses` folder; NVIDIA libraries: [CUDA Toolkit EULA](https://docs.nvidia.com/cuda/eula/index.html) and, for cuDNN, [NVIDIA Software License Agreement for SDKs and the cuDNN supplement](https://docs.nvidia.com/deeplearning/cudnn/latest/reference/eula.html); the other libraries: their own licenses |
| [ONNX Runtime](https://github.com/microsoft/onnxruntime) 1.28.2 (CPU), © Microsoft Corporation; its third-party notices are shipped inside the sherpa-onnx wheel | MIT |
| [Eigen](https://gitlab.com/libeigen/eigen) 5.0.1, compiled into sherpa-onnx and ONNX Runtime; source: https://gitlab.com/libeigen/eigen/-/tree/5.0.1 | MPL-2.0 |
| [Silero VAD](https://github.com/snakers4/silero-vad) v5.0 voice-activity model, © 2020-present Silero Team (optional download with subtitles, license file downloaded with the model; the onnx-community export is downloaded with the music model) | [MIT](freevideo_engine/licenses/Silero-VAD-MIT.txt) |
Expand Down
2 changes: 1 addition & 1 deletion constraints/windows-arm64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ sqlalchemy==2.0.52
sympy==1.14.0
tokenizers==0.23.0rc0
torch==2.14.0+cu134
torchaudio==2.11.0+cu134
torchaudio==2.11.1+cu134
torchsde==0.2.6
torchvision==0.29.0+cu134
tqdm==4.70.0
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/使用说明.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
3. 需要源视频的声音时,勾选“保留源视频声音”。
4. 描述可以留空,也可以补充画面要求;然后点“生成视频”。

源视频里有多个人时,可以继续添加人物图(最多 2 张),人物图按画面中人物从左到右的顺序对应;只有一张人物图时,与原来相同。替换人物不能与首帧、尾帧同时使用。首次使用时会自动下载替换人物模型(约 80 MB),面板中显示进度,下载完成后才能生成。源视频至少 1 秒;源视频没有声音时,不能保留声音。
源视频里有多个人时,可以继续添加人物图(最多 2 张),人物图按画面中人物从左到右的顺序对应;只有一张人物图时,与原来相同。替换人物与首帧、尾帧请选其一使用。首次使用时会自动下载替换人物模型(约 80 MB),面板中显示进度,下载完成后才能生成。源视频至少 1 秒;源视频没有声音时,不能保留声音。

## 首帧、尾帧和参考的区别

Expand Down
23 changes: 23 additions & 0 deletions freevideo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,29 @@ try {
}
& $freevideoPython @freevideoPythonPrefix -B -X utf8 -m freevideo_engine.managed @freevideoArguments
$freevideoExit = $LASTEXITCODE
if ($freevideoExit -gt 127 -or $freevideoExit -lt 0) {
# A crash or a blocked start prints nothing, so the exit code was all a report held.
# The note is best effort and never changes the exit code.
$freevideoDiagErrorMode = $ErrorActionPreference
try {
$ErrorActionPreference = 'Continue'
$freevideoDiagHex = '0x{0:X8}' -f [BitConverter]::ToUInt32([BitConverter]::GetBytes([int]$freevideoExit), 0)
$freevideoDiagPresent = Test-Path -LiteralPath $freevideoPython -PathType Leaf
$freevideoDiagProbe = 'not run'
if ($freevideoDiagPresent) {
$freevideoDiagText = (& $freevideoPython @freevideoPythonPrefix -B -X utf8 -c 'import sys; print(sys.version.split()[0])' 2>&1 | Select-Object -First 1 | Out-String).Trim()
if ($freevideoDiagText.Length -gt 80) { $freevideoDiagText = $freevideoDiagText.Substring(0, 80) }
$freevideoDiagProbe = 'exit code ' + $LASTEXITCODE + ', printed: ' + $freevideoDiagText
}
$freevideoDiagNote = 'The setup step ended with exit code ' + $freevideoExit + ' (' + $freevideoDiagHex + '). Python file present: ' + $freevideoDiagPresent + '; a short check of it ended with ' + $freevideoDiagProbe + '; Python path: ' + $freevideoPython
Write-Host $freevideoDiagNote
[IO.Directory]::CreateDirectory($bootstrapRoot) | Out-Null
[IO.File]::AppendAllText((Join-Path $bootstrapRoot 'bootstrap.log'), ('[' + [DateTime]::UtcNow.ToString('o') + '] ' + $freevideoDiagNote + [Environment]::NewLine), (New-Object System.Text.UTF8Encoding($false)))
} catch {
} finally {
$ErrorActionPreference = $freevideoDiagErrorMode
}
}
} catch {
Write-Host ("FreeVideo could not start: " + $_.Exception.Message) -ForegroundColor Red
Write-Host 'Existing files are retained. Retry the same command after resolving the reported issue.'
Expand Down
19 changes: 17 additions & 2 deletions freevideo_engine/agent/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,25 @@ def voice_state(port):
return ready, not ready and bool(info.get('supported')) and bool(info.get('published', True))


def voice_later(port):
"""A Windows on Arm computer, for which no dubbing runtime is published yet: the page says so where the download would be."""
from ..environments import windows_arm64
service = getattr(port.server, '_freevideo_dubbing', None)
if service is None or not windows_arm64():
return False
try:
info = service.info(wait=False)
except (OSError, ValueError):
return False
return not info.get('ready') and not info.get('supported')


def voice_ready(port):
"""Whether the dubbing model that changes a voice is on this machine."""
return voice_state(port)[0]


def features(continuation, vlm, stems=False, voice=True, voice_install=False, fps=False):
def features(continuation, vlm, stems=False, voice=True, voice_install=False, fps=False, voice_later=False):
"""What an agent can use here (ready says whether the engine can run now). A missing name is not offered."""
from .editor_runtime import available
rules = available()
Expand All @@ -220,6 +233,8 @@ def features(continuation, vlm, stems=False, voice=True, voice_install=False, fp
'projects.stems': bool(rules and stems), 'projects.voice': bool(rules and stems and voice),
# The machine could change a voice but the dubbing model is not there yet: the page offers its download.
'projects.voice.install': bool(rules and stems and voice_install and not voice),
# Windows on Arm: no dubbing runtime for this computer yet; the page says so in the same place.
**({'projects.voice.later': True} if rules and stems and voice_later and not voice else {}),
# 48/60 fps export makes the frames in between on the graphics card (far too slow without one).
'projects.export.fps': bool(rules and fps)}

Expand Down Expand Up @@ -261,7 +276,7 @@ def capabilities(port, jobs):
api_version=API_VERSION, freevideo_version=release or __version__, build=__version__, ready=ready, problem=problem,
continuation=continuation,
features=features(continuation, vlm, stems=stems_supported(machine), voice=voice[0], voice_install=voice[1],
fps=bool(machine) and machine.get('device_backend', 'cuda') == 'cuda'),
fps=bool(machine) and machine.get('device_backend', 'cuda') == 'cuda', voice_later=voice_later(port)),
whitebox=whitebox_support(jobs),
device=dict(backend=machine.get('device_backend', 'cuda') if machine else None,
vram_limit_gib=machine.get('vram_gib'), ram_limit_gib=machine.get('ram_gib')),
Expand Down
Loading