MiniMax H3 LongForge 7.8 · FL2VA & REF2VA
Начните с ключевой сцены. Добавьте предысторию, продолжение и новые сцены между сохранёнными. Соберите фильм со звуком в одном workflow ComfyUI.
Start with the key scene. Add what came before, what happens next and new scenes between saved takes. Export the film with sound from one ComfyUI workflow.
Подписка и поддержка / Follow & support
Поддержать разработку можно через Tip в моём профиле Civitai или добровольным переводом в одной из указанных сетей. / Support development through Tip on my Civitai profile or an optional donation on one of the networks below.
BNB Smart Chain — 0xdCf9846A1B0F2fe32E19dC9CFdDC5194CC13D108
TON — UQCeukjBulZw9gni1jv8NLRgtmgHDQ6mUiS2qf3716XobIxA
TRON / TRC20 — THLU3yu8VpoPqP4bMLCp86FRhoCweJ2Qz4
Проверьте, что сеть соответствует адресу и валюте. Спасибо за поддержку! / Check that the network matches the address and currency. Thank you for your support!
Русский
LongForge собирает длинные видео MiniMax H3 из отдельных сцен. Можно продолжать фильм по промптам, переснимать сцены, возвращать сохранённые версии, монтировать и экспортировать видео со звуком. В комплекте LongForge Node Pack, основной workflow FL2VA / REF2VA и отдельный RefMod Studio. Подробные инструкции RU/EN встроены в оба workflow. Все возможности предыдущей версии сохранены.
🎬 Новое в 7.8 · Bridge и развитие Before
Bridge — новая сцена между сохранёнными. Выберите сохранённую сцену слева и более позднюю сохранённую сцену справа, опишите связующее действие и запустите генерацию. Между соседями добавляется один новый фрагмент. При выборе более дальнего правого края промежуточные сцены заменяются одним Bridge. Правая часть фильма переносится без перегенерации её видео и звука, прежняя версия остаётся в Saved chains.
Ночной режим для Before N. GENERATE BEFORE теперь поддерживает Export when done. В ALL PENDING LongForge генерирует все ожидающие Before и затем экспортирует весь сохранённый фильм. Каждая сцена сохраняется отдельно. Повтор совпадающего незавершённого запуска продолжает с первой несохранённой Before; если не завершился только экспорт, повторяется только экспорт. Очереди обычных сцен и Before хранят отдельный прогресс.
Prompt Assistant для Before. Помощник получает промпт сцены, которая идёт следом. Если она сохранена, при включённом Vision и подключённом H3 Video VAE можно передать её первые оставленные кадры с учётом Trim In. Если следующая Before пока существует только как карточка, используется её плановый текст. Например, для Scene 1 с отъезжающей машиной помощник может подготовить подводку, где герой садится за руль.
Как вставить Bridge между двумя сценами
Сохраните минимум две обычные сцены. В 10 · Project & Scenes выберите левую карточку, например Scene 1, и нажмите Bridge под списком. То же действие доступно через Action → BRIDGE.
В Right scene · end at this saved scene выберите правый край. Для двух сцен это Scene 2. Если справа нет сохранённой сцены, кнопка Bridge недоступна.
В отдельном поле New connecting scene · Bridge prompt напишите действие нового фрагмента. Промпт исходной карточки менять не нужно. Для Bridge промпт пока пишется вручную: Prompt Assistant не готовит черновик с двумя закреплёнными краями.
Задайте длительность в 11 · Video & Continuity. Например, для пробы подойдут NEW SECONDS = 5, Overlap = 22F и Audio continuity = HARD. В режиме BRIDGE поле Bridge left overlap доступно и при AUTO.
Нажмите Run. Получится Scene 1 → новый Bridge → прежняя Scene 2, которая теперь станет Scene 3. При выборе Scene 1 и Scene 4 сцены 2–3 заменятся одним Bridge, а Scene 4 и всё после неё сохранятся.
Просмотрите новую сцену и оба стыка в Seam Lab, затем запустите EXPORT FILM → Run. Export when done и ночная очередь к Bridge не применяются.
Важно для соседних сцен. Если правая сцена была прямым продолжением левой через PROTECTED/GUIDE, её скрытое начало связано с тем же сохранённым хвостом. Bridge между ними должен вернуться в исходное состояние: граничный момент левой сцены повторится в конце Bridge. Например, герой ждёт у закрытой двери, а следующая сцена продолжает его вход. Новый фрагмент может показать, как он проверяет телефон, убирает его и снова тянется к двери. Чтобы связать разные состояния, выберите более позднюю правую сцену и замените промежуточный участок.
Края и настройки. Оба видеокрая Bridge закрепляются PROTECTED. Слева используется явно заданный Overlap, справа — перекрытие сохранённой правой сцены. Правый край должен иметь контекст PROTECTED / GUIDE; вариант LAST FRAME для него не подходит. Разрешение и HQ должны быть совместимы с сохранённым фильмом. Сбросьте Trim Out слева и Trim In справа. Тейки Continue here на левом краю и в сохраняемой правой части не поддерживаются. Длительность округляется к совместимой сетке кадров и звука. Extra audio history не используется. Правый звук переносится с сохранённой сценой и не подгоняется заново под Follow-scenes audio. Для нового варианта измените Seed в Sampling.
Редактор и сохранённые версии. После Bridge карточки обновляются даже при смене Action, правке текста или перезагрузке workflow во время генерации. Ожидающие карточки и новые правки сохраняются. Переписанный во время генерации Bridge prompt остаётся отдельным черновиком. Если Stop нажат во время превью уже сохранённого Bridge, редактор подхватит сохранённый результат. После восстановления прежней цепочки проверьте список: может остаться лишняя Next-карточка. Каждый Bridge сохраняет копии сцен справа; обычная Clean unused защищает сохранённые цепочки. Для освобождения этого места нужна отдельная подтверждённая очистка цепочек.
Before N · предыстория перед началом фильма
Сначала можно создать ключевую сцену, а затем добавить события до неё. Например, Scene 1 показывает героя уже в вагоне поезда, Before 1 — посадку, Before 2 — бег по платформе. Порядок фильма: Before 2 → Before 1 → Scene 1 → Scene 2…
LongForge использует начало следующей сцены как контекст в скрытом конце новой Before. При экспорте скрытый конец убирается, чтобы перекрытие не повторялось. Номера обычных сцен сохраняются, время Before показывается относительно начала Scene 1, например −4.25–0.00 s.
Как добавить Before и оставить очередь на ночь
Сохраните Scene 1 через GENERATE NEXT или импортируйте её через IMPORT VIDEO в пустой проект.
В 10 · Project & Scenes нажмите + Before и напишите промпт. Каждая следующая карточка добавляется раньше предыдущей.
При необходимости выберите Before-карточку и нажмите Generate draft. Проверьте ответ помощника и примените его через Validate & apply.
Выберите Action → GENERATE BEFORE. ONE SCENE создаёт ближайшую ожидающую Before, ALL PENDING — все ожидающие карточки от Scene 1 к началу фильма.
Для ночного запуска выберите ALL PENDING, включите Export when done и нажмите Run. После очереди экспортируется весь сохранённый фильм, включая Before и обычные сцены. В ONE SCENE автоэкспорт срабатывает только после последней ожидающей Before.
После ошибки повторите Run с теми же входами для продолжения. Если настройки или карточки изменились, запуск может начать новую очередь. Без автоэкспорта соберите результат отдельно через EXPORT FILM → Run.
Стык, звук и история Before
Настройки берутся из 11 · Video & Continuity. Эти режимы задают, как начало следующей сцены используется в скрытом конце новой Before.
PROTECTED закрепляет скопированные видеолатенты в скрытом конце.
GUIDE использует видеолатенты как ориентир для сэмплера и восстанавливает защищённое перекрытие перед сохранением.
LAST FRAME берёт первый кадр следующей сцены как один визуальный ориентир.
HARD защищает звуковое перекрытие целиком. SOFT позволяет модели перегенерировать его первые 100 или 200 мс, сохраняя жёсткое ядро. OFF оставляет звук открытым для генерации. AUTO BALANCED / AUTO SAFE оценивают начало следующей сцены. При Increment seed per scene seed новой Before берётся от следующей сцены с шагом −1.
Действия с тейками. На Before доступны PREVIEW SELECTED, REGENERATE SELECTED, VARY SELECTED и HQ SELECTED. Для REPLACE SELECTED выбирайте обычную сцену. Пересъёмка Before отправляет более ранние зависимые карточки в pending. Пересъёмка Scene 1 отправляет в pending все Before. Через Saved chains можно вернуть Before, привязанные к текущей версии Scene 1. Delete снимает выбранную Before и её более ранние зависимые сцены с активного фильма, сохраняя их файлы.
Монтаж. Before 1 берёт начало с первого оставленного кадра Scene 1. При смене Trim In после генерации этот стык становится монтажной склейкой. Чтобы получить подводку к новому началу, перегенерируйте Before 1.
Экспорт и HQ. Before входят в HQ SAVED FILM, Fade film edges, Loop и Color drift. HQ SELECTED создаёт отдельный клип Before. RIFE/FILM и RTX Frame Generation интерполируют непрерывные стыки, включая Before. На непрерывном стыке Before 1 с Scene 1 звук соединяется коротким кроссфейдом до 40 мс. Эталон Color reference scene выбирается среди обычных сцен.
Референсы. FIRST SCENE оставляет обычные референсы для Scene 1, EVERY SCENE передаёт их и Before. В FL2VA подключённые first_frame / last_frame применяются к обычным сценам по их настройкам. Follow-scenes audio начинается с Scene 1. Extra audio history используется для обычных сцен. Черновики Prompt Assistant доступны для обычных сцен и Before.
Возможности основного workflow
🎞 Сцены и монтаж. GENERATE NEXT продолжает сохранённый фильм. REGENERATE SELECTED повторяет seed выбранной сцены, VARY SELECTED использует seed +1. Для обычной сцены экспериментальный REPLACE SELECTED закрепляет старое перекрытие со следующей сценой и сохраняет последующие тейки. Trim for export обрезает видео и звук по включённым границам кадра. Continue here создаёт сокращённый тейк для продолжения в LAST FRAME. Saved chains возвращает сохранённые версии, а Recover project восстанавливает активный указатель по файлам проекта. Через IMPORT VIDEO можно сделать существующий ролик первой сценой пустого проекта и затем продолжить его. Импорт нормализует видео под H3 и использует VAE-реконструкцию; исходные пиксели не сохраняются 1:1.
✨ HQ Finish. UPSCALE повышает разрешение сохранённого видеолатента совместимым 3D latent upscaler. UPSCALE + REFINE добавляет проход через отдельный refiner_model с опциональными 13a · Refiner LoRA и 13b · Refiner VEDA. HQ SELECTED экспортирует одну сцену, а HQ SAVED FILM обрабатывает всю сохранённую цепочку. Доступны Scale / Megapixels / Exact size, а также FULL / AUTO / TILED для памяти refine. FROZEN защищает звук при refine. JOINT семплирует его вместе с видео и сохраняет базовую аудиодорожку в результате.
🌙 Автоэкспорт и отчёт. Export when done работает с очередями обычных сцен и GENERATE BEFORE. Сцены сохраняются по одной, затем LongForge собирает фильм с текущими настройками экспорта. Повтор совпадающей незавершённой очереди подхватывает сохранённый прогресс. Если не завершился только экспорт, повторная сборка использует готовые сцены без новой генерации. Run report показывает время сцен, работу ускорителей, предупреждения и путь к результату. Bridge экспортируется вручную.
🎬 Экспорт. Поддерживаются MP4 / MKV / WEBM, совместимые кодеки H264 / HEVC / AV1 / VP9, CPU и доступные аппаратные энкодеры. Есть ремонт стыков звука и видео, диагностические WAV, Color drift и Loop с режимами CROSSFADE / BEST MATCH / PING-PONG. RIFE/FILM повышают FPS с сохранением длительности и звука. RECOVERY добавляет настройки восстановления в метаданные видео. Для переноса тейков и локальных обрезок сохраняйте папку проекта целиком.
🖼 Референсы и RefMod Studio. В Reference Media карточки фото, видео и аудио можно перетаскивать за ручку ⠿. Обрезки и роли перемещаются вместе с карточкой. RefMod Studio сохраняет VAE-латенты референсов в .safetensors для REF2VA. Поддерживаются FULL / COMPRESSED, отдельные и смешанные bundles, маски, силы, кривые и контроль бюджета токенов. Используйте Check mapping, чтобы сверить метки вроде {refmod:hero}. Continuum RefMod Bridge подключает референсы к модели; это отдельный инструмент, который не вставляет сцену в фильм.
🧠 Prompt Assistant. В 16 · Prompt Assistant доступны NATIVE, LOCAL, GGUF, TRANSFORMERS, OLLAMA и SERVER. Generate draft готовит промпт, а Scenario from description — план на 1–16 обычных сцен. Preview sent context показывает, что получит модель, без запроса к ней. Можно задать свои инструкции, выбрать контекст и применить результат через Validate & apply. Continuity frames передаёт хвост предыдущей сцены для обычной карточки или первые оставленные кадры следующей для Before. Значение 0 отключает эти кадры. Include adjacent prompt управляет соседним текстом. Для Vision нужна совместимая модель; помощник не слушает аудио. Обычная генерация фильма использует промпты карточек и не запускает LLM.
⚡ VEDA, Live Preview и Native Cache. Основная ветка использует 08a · VEDA с predictor под выбранный пайплайн. 04a · Live Preview показывает ход сэмплирования, Preview scene декодирует сохранённый тейк. 09 · Native Cache в шаблоне в bypass. OUTPUT требует CFG 1, от 16 шагов и обхода Turbo и VEDA. Для BLOCK + VEDA нужен отдельный экспериментальный переключатель. Поддержка Dynamic VRAM / aimdo из 7.6 [FIX] используется на границах этапов внутри Render при активном aimdo.
NVIDIA RTX VFX при экспорте
Установите оригинальные NVIDIA-ноды и их зависимости. В шаблоне эффекты выключены. Если NVIDIA-пак не установлен, для обычной генерации и экспорта можно удалить отсутствующие RTX-ноды вместе с их связями к 21. ComfyUI Nvidia VFX Nodes
Настройте нужные ноды и включите эффекты в 21 · RTX Export (optional). Оставьте входы images свободными для кадров LongForge.
Запустите EXPORT FILM. Эффекты идут в порядке Super Resolution → Frame Generation → HDR. С RTX Frame Generation установите Frame interpolation × = 1 в 19 · Export Settings. HDR выдаёт 10 бит BT.2020 HLG или PQ. При исходном выборе H264 HDR-экспорт переключается на HEVC.
Установка и первый запуск
Закройте ComfyUI. Скопируйте ComfyUI-H3-LongForge-NodePack в
ComfyUI/custom_nodes/. При обновлении замените папку нод-пака целиком и сохраните резервную копию проектов изComfyUI/output/longforge_native/.Установите
requirements.txtчерез Python ComfyUI. Команды для обычной установки и Windows Portable приведены ниже. Для полной схемы основного workflow нужны внешние типы нод. Bypass отключает функцию, но не устанавливает отсутствующий тип ноды. Если совместимый SageAttention не установлен, переведите 05–06 в bypass через Ctrl+B. ComfyUI-KJNodes · Veda-on-ComfyUIПерезапустите ComfyUI, обновите браузер через Ctrl+F5 и откройте H3_LongForge_FL2VA_REF2VA_v7.8.json. Используйте Node Pack и workflow из одного актуального архива 7.8 Bridge. Для этого описания актуальная исправленная сборка — 7.8 Bridge Audited-2; версия внутри остаётся 7.8. Для RefMod Studio откройте RefMod_Studio_v7.8.json.
В 01–04 выберите H3 checkpoint, соответствующий текстовый энкодер и оба VAE. В 11 выберите FL2VA или REF2VA под модель. В шаблоне стоят REF2VA, 768×1344, NEW SECONDS = 10, 20 шагов, PROTECTED, MANUAL, 5F, SOFT 100 ms и EVERY SCENE. Это настройки шаблона: длительность и разрешение можно изменить перед запуском. Фактическая длительность округляется по сетке H3. Turbo и Native Cache обойдены. Веса MiniMax H3
В 10 задайте имя проекта и промпт первой сцены. Запустите GENERATE NEXT → ONE SCENE → Run. После проверки первой сцены добавьте продолжение или + Before. Готовые фильмы появляются в
output/longforge_native/<project>/exports/.
Важные особенности 7.8
Качество движения и стыков зависит от модели, промпта и настроек. Проверки логики и интерфейса использовали модели-заглушки на CPU. Настоящие веса H3/VAE, CUDA, расход VRAM и Windows этими прогонами не проверены. Оцените результат на своих сценах и просмотрите стыки перед финальным экспортом.
Before и Seam Lab. Превью Before-стыков доступны даже с одной сохранённой Scene 1, если есть сохранённая Before. Изменение Trim начала Scene 1 учитывается при обновлении такого превью. Альтернативных A/B-тейков для Before нет.
Монтаж и предпросмотр. Seam Lab показывает исходные стыки с выбранным ремонтом звука и видео. Обычные Trim, Loop, Color drift и RTX-эффекты проверяйте в итоговом экспорте. Начало Scene 1 для привязки Before учитывается отдельно.
Малое перекрытие. Сочетание 5F + SOFT 200 ms может быть отклонено ещё до генерации очереди. Для SOFT 200 ms используйте 22F или больше.
Сохранённые цепочки. Обычная Clean unused защищает Before вместе с опорной Scene 1. Отдельная подтверждённая очистка сохранённых цепочек может удалить их файлы.
Исправления интерфейса. После Bridge сохраняются порядок ожидающих карточек, новые правки и черновики. Пробелы или перевод строки по краям уже выполненного промпта после перезагрузки не считаются новым черновиком.
Экспорт HDR. Включена правка передачи HDR-меток при программном HEVC через libx265. Настоящие NVIDIA-эффекты и аппаратные кодировщики зависят от установленного внешнего пака и поддерживаемого оборудования.
English
LongForge builds long MiniMax H3 videos from individual scenes. Continue a film from prompts, remake scenes, restore saved versions, edit takes and export with sound. The package includes the LongForge Node Pack, the main FL2VA / REF2VA workflow and a separate RefMod Studio workflow. Both workflows include detailed RU/EN guides. The previous version's features remain available.
🎬 New in 7.8 · Bridge and expanded Before tools
Bridge — a new scene between saved takes. Select a saved left scene and a later saved right scene, describe the connecting action and run generation. Adjacent scenes gain one new fragment between them. Choosing a later right endpoint replaces the intervening scenes with one Bridge. The right-hand video and audio move without being regenerated, and the previous film remains in Saved chains.
Overnight mode for Before N. GENERATE BEFORE now supports Export when done. With ALL PENDING, LongForge generates every pending Before and then exports the entire saved film. Each scene is saved separately. Rerunning a matching unfinished job resumes at the first unsaved Before; if only export failed, only export is retried. Numbered-scene and Before queues keep separate progress.
Prompt Assistant for Before. The assistant receives the prompt of the scene that follows. If that scene is saved, Vision with a connected H3 Video VAE can supply its first kept frames, respecting Trim In. If the next Before exists only as a pending card, its planned text is used. For example, a Scene 1 showing a car driving away can have a lead-in showing the character getting behind the wheel.
How to insert a Bridge between two scenes
Save at least two numbered scenes. In 10 · Project & Scenes, select the left card, for example Scene 1, and click Bridge below the list, or choose Action → BRIDGE.
Choose the right endpoint in Right scene · end at this saved scene. With two scenes, choose Scene 2. The Bridge button is unavailable when no later saved scene exists.
Write the action in the separate New connecting scene · Bridge prompt field. Keep the original card prompt for its original scene. Write Bridge prompts manually: Prompt Assistant does not yet prepare a draft with both pinned endpoints.
Set duration in 11 · Video & Continuity. Example test settings are NEW SECONDS = 5, Overlap = 22F and Audio continuity = HARD. In BRIDGE mode, Bridge left overlap remains editable under AUTO.
Click Run. The result is Scene 1 → new Bridge → original Scene 2, which becomes Scene 3. Choosing Scene 1 and Scene 4 replaces scenes 2–3 with one Bridge, keeping Scene 4 and everything after it.
Review the new scene and both joins in Seam Lab, then run EXPORT FILM → Run. Export when done and overnight queues do not apply to Bridge.
Important for adjacent scenes. If the right scene directly continued the left through PROTECTED/GUIDE, its hidden opening is tied to that same saved tail. A Bridge between them must return to the starting state: the left scene's boundary moment appears again at the end of the Bridge. For example, someone waits at a closed door and the next scene continues their entrance. The new fragment can show them checking their phone, putting it away and reaching for the door again. To connect different states, choose a later right endpoint and replace the intervening interval.
Endpoints and settings. Both Bridge video ends use PROTECTED. The left uses explicit Overlap; the right uses the saved right scene's context. That right endpoint needs PROTECTED / GUIDE context; LAST FRAME is unsupported for it. Match the saved film's resolution and HQ settings. Reset left Trim Out and right Trim In. Continue here takes on the left or in the retained suffix are unsupported. Duration snaps to a compatible video/audio grid. Extra audio history is off. The saved right-side audio moves with its scene and is not retimed to Follow-scenes audio. Change Seed in Sampling for another variation.
Editor and saved versions. Cards update after Bridge even if you changed Action, edited text or reloaded the workflow during generation. Pending cards and new edits are kept. A revised Bridge prompt is retained as a separate draft. Stopping preview after Bridge has been saved still lets the editor adopt the saved result. After restoring an earlier chain, inspect the list for an extra Next card. Each Bridge saves copies of the scenes to its right; ordinary Clean unused protects saved chains. Reclaiming that space requires separately confirmed chain cleanup.
Before N · add what happened before the opening
Start with the key scene, then add the events leading into it. Scene 1 can show the hero already on a train, Before 1 can show them boarding, and Before 2 can show them running along the platform. Playback order: Before 2 → Before 1 → Scene 1 → Scene 2…
LongForge uses the following scene's opening as context at the hidden end of the new Before. Export removes that hidden ending so the overlap plays once. Numbered scenes retain their indices, and Before time is shown relative to Scene 1, for example −4.25–0.00 s.
How to add Before scenes and run an overnight queue
Save Scene 1 with GENERATE NEXT, or create it with IMPORT VIDEO in an empty project.
Click + Before in 10 · Project & Scenes and write a prompt. Each additional card is placed earlier than the previous one.
If useful, select the Before card and click Generate draft. Review the assistant's answer and use Validate & apply.
Choose Action → GENERATE BEFORE. ONE SCENE generates the nearest pending Before; ALL PENDING works outward from Scene 1 through all pending cards.
For an overnight run, choose ALL PENDING, enable Export when done and click Run. The queue exports the whole saved film, including Before and numbered scenes. In ONE SCENE, automatic export happens only after the last pending Before.
After an error, rerun with matching inputs to resume. Changing settings or cards can start a new queue. With automatic export off, assemble the result separately through EXPORT FILM → Run.
Before joins, audio and history
Before uses the same controls in 11 · Video & Continuity. The three methods use the beginning of the following scene at the hidden end of the new Before window.
PROTECTED pins copied video latents in the hidden ending.
GUIDE uses video latents as a sampler guide and restores the protected overlap before saving.
LAST FRAME uses the following scene's first image as a single visual guide.
HARD protects the entire audio overlap. SOFT allows the first 100 or 200 ms of that overlap to be regenerated while preserving a protected core. OFF leaves audio open for generation. AUTO BALANCED / AUTO SAFE assess the beginning of the following scene. With Increment seed per scene, a new Before uses the following scene's seed minus one.
Take actions. Before cards support PREVIEW SELECTED, REGENERATE SELECTED, VARY SELECTED and HQ SELECTED. Use REPLACE SELECTED on numbered scenes. Remaking a Before sends earlier dependent cards back to pending. Remaking Scene 1 makes all Before cards pending. Saved chains can restore Before versions tied to the active Scene 1 take. Delete removes the selected Before and its earlier dependants from the active film while keeping their files.
Editing. Before 1 uses the first kept frame of Scene 1. Changing Trim In after generation turns that join into an edit cut. Regenerate Before 1 to create a lead-in to the new opening.
Export and HQ. HQ SAVED FILM, Fade film edges, Loop and Color drift include Before scenes. HQ SELECTED creates a standalone Before clip. RIFE/FILM and RTX Frame Generation interpolate across continuous joins, including Before joins, and respect edit cuts. At a continuous Before 1 to Scene 1 join, audio blends with a crossfade of up to 40 ms. Color reference scene uses a numbered scene.
References. FIRST SCENE supplies regular references to Scene 1. EVERY SCENE also supplies them to Before scenes. In FL2VA, the connected first_frame / last_frame inputs apply to numbered scenes according to their settings. Follow-scenes audio starts at Scene 1. Extra audio history applies to numbered scenes. Prompt Assistant drafts are available for both numbered and Before scenes.
Main workflow features
🎞 Scenes and editing. GENERATE NEXT continues the saved film. REGENERATE SELECTED reuses the selected scene's seed, and VARY SELECTED uses seed +1. For a numbered scene, experimental REPLACE SELECTED pins its old overlap with the next scene and keeps the following takes. Trim for export cuts video and audio together using inclusive frame bounds. Continue here makes a shortened take for LAST FRAME continuation. Saved chains restores saved versions, and Recover project rebuilds the active pointer from project files. IMPORT VIDEO can turn an existing clip into the first scene of an empty project for continuation. Import normalizes the clip for H3 and uses a VAE reconstruction; it does not preserve original pixels one for one.
✨ HQ Finish. UPSCALE increases the resolution of saved video latents using a compatible 3D latent upscaler. UPSCALE + REFINE adds a pass through a separate refiner_model with optional 13a · Refiner LoRA and 13b · Refiner VEDA. HQ SELECTED exports one scene, and HQ SAVED FILM processes the saved chain. Choose Scale / Megapixels / Exact size and FULL / AUTO / TILED for refine memory. FROZEN protects audio during refinement. JOINT samples audio with video and retains the base soundtrack in the result.
🌙 Automatic export and reporting. Export when done supports numbered-scene queues and GENERATE BEFORE. LongForge saves each scene and then assembles the film with the current export settings. Rerunning a matching unfinished queue picks up saved progress. If only export failed, another export uses the saved scenes without new generation. Run report shows scene timings, accelerator activity, warnings and the output path. Export Bridge manually.
🎬 Export. Choose MP4 / MKV / WEBM, compatible H264 / HEVC / AV1 / VP9 codecs, and CPU or available hardware encoders. Export options include audio and video seam repair, diagnostic WAVs, Color drift and CROSSFADE / BEST MATCH / PING-PONG loops. RIFE/FILM raises the frame rate while preserving duration and sound. RECOVERY embeds settings for workflow recovery. Keep the whole project folder when moving takes and local trims.
🖼 References and RefMod Studio. Drag image, video and audio cards by the ⠿ handle in Reference Media. Trims and roles move with each card. RefMod Studio saves VAE-encoded references as .safetensors for REF2VA, with FULL / COMPRESSED modes, separate and mixed bundles, masks, strengths, curves and token budgets. Use Check mapping to verify aliases such as {refmod:hero}. Continuum RefMod Bridge connects references to the model; it is a separate tool and does not insert a film scene.
🧠 Prompt Assistant. 16 · Prompt Assistant supports NATIVE, LOCAL, GGUF, TRANSFORMERS, OLLAMA and SERVER. Generate draft prepares a prompt, while Scenario from description plans 1–16 numbered scenes. Preview sent context shows the model input without calling the model. Set your own instructions, choose the context and use Validate & apply. Continuity frames supplies the previous scene tail for a numbered card or the next saved scene's first kept frames for Before. Setting it to 0 disables these frames. Include adjacent prompt controls the neighbouring text. Vision requires a compatible model; the assistant does not listen to audio. Ordinary film generation uses card prompts without running an LLM.
⚡ VEDA, Live Preview and Native Cache. The generation branch uses 08a · VEDA with a predictor that matches the pipeline. 04a · Live Preview shows sampling progress, while Preview scene decodes the saved take. 09 · Native Cache is bypassed in the template. OUTPUT requires CFG 1, at least 16 steps, and bypassed Turbo and VEDA. BLOCK + VEDA requires its explicit experimental switch. The 7.6 [FIX] Dynamic VRAM / aimdo cleanup runs at Render stage boundaries when aimdo is active.
NVIDIA RTX VFX at export
Install the original NVIDIA nodes and their dependencies. The effects are off in the template. If the NVIDIA pack is absent, ordinary generation and export can use the workflow after removing missing RTX nodes and their links to 21. ComfyUI Nvidia VFX Nodes
Configure the original nodes and enable the desired effects in 21 · RTX Export (optional). Leave their images inputs free for LongForge to supply frames.
Run EXPORT FILM. The effects run in Super Resolution → Frame Generation → HDR order. Set Frame interpolation × = 1 in 19 · Export Settings for RTX Frame Generation. HDR exports in 10-bit BT.2020 HLG or PQ and switches H264 to HEVC when needed.
Installation and first run
Close ComfyUI and copy ComfyUI-H3-LongForge-NodePack into
ComfyUI/custom_nodes/. When updating, replace the whole node-pack folder and back up projects inComfyUI/output/longforge_native/.Install
requirements.txtwith ComfyUI's Python. Commands for standard and Windows Portable installs are below. The complete main template uses external node types. Bypass disables a feature but does not install a missing node type. If compatible SageAttention is unavailable, bypass 05–06 with Ctrl+B. ComfyUI-KJNodes · Veda-on-ComfyUIRestart ComfyUI, refresh with Ctrl+F5 and open H3_LongForge_FL2VA_REF2VA_v7.8.json. Use the Node Pack and workflows from the same current 7.8 Bridge archive. This description covers the corrected 7.8 Bridge Audited-2 build; its internal version remains 7.8. For RefMod Studio, open RefMod_Studio_v7.8.json.
Select the H3 checkpoint, matching text encoder and both VAEs in 01–04. Match FL2VA or REF2VA to the model in 11. The template starts with REF2VA, 768×1344, NEW SECONDS = 10, 20 steps, PROTECTED, MANUAL, 5F, SOFT 100 ms and EVERY SCENE. These are template settings; change duration and resolution before running as needed. Actual duration is rounded to the H3 grid. Turbo and Native Cache are bypassed. MiniMax H3 weights
Set a project name and the first prompt in 10. Run GENERATE NEXT → ONE SCENE. Once you have reviewed the first scene, add a continuation or click + Before. Finished films appear in
output/longforge_native/<project>/exports/.
Important notes for 7.8
Motion and join quality depend on the model, prompt and settings. Logic and interface checks used CPU model doubles. These runs did not test trained H3/VAE weights, CUDA, VRAM usage or Windows. Evaluate your own scenes and review the joins before final export.
Before and Seam Lab. Before join previews work with a single saved Scene 1 when a saved Before exists. Changes to Scene 1's opening trim are included when refreshing that preview. Before joins have no alternative A/B takes.
Editing and previews. Seam Lab shows source joins with the selected audio/video seam repair. Review ordinary Trim, Loop, Color drift and RTX effects in the final export. Scene 1's opening for the Before anchor is handled separately.
Short overlap. 5F + SOFT 200 ms can be rejected before queue generation starts. Use 22F or more with SOFT 200 ms.
Saved chains. Ordinary Clean unused protects Before chains together with their Scene 1 anchor. Separately confirmed saved-chain cleanup can delete their files.
Editor fixes. Bridge preserves pending-card order, new edits and drafts. Leading or trailing spaces and newlines in a completed prompt are no longer treated as a new draft after reload.
HDR export. The build includes the HDR signalling fix for software HEVC through libx265. Real NVIDIA effects and hardware encoders depend on the external pack and supported hardware.
Комплект и зависимости / Package & dependencies
ComfyUI-H3-LongForge-NodePack/ — Ноды и интерфейс LongForge / LongForge nodes and UI
H3_LongForge_FL2VA_REF2VA_v7.8.json — Основной workflow / Main workflow
RefMod_Studio_v7.8.json — Подготовка и просмотр RefMod / RefMod creation and inspection
Нужны ComfyUI с нативным MiniMax H3 и V3 node API, веса модели, текстовый энкодер и H3 Video/Audio VAE. Для превью и экспорта нужен FFmpeg с libx264/AAC. Сначала проверяется PATH, затем используется imageio-ffmpeg. Веса и внешние ноды устанавливаются отдельно.
Requires ComfyUI with native MiniMax H3 and the V3 node API, model weights, the matching text encoder and the H3 Video/Audio VAEs. Preview and export use FFmpeg with libx264/AAC. LongForge checks PATH first and falls back to imageio-ffmpeg. Install weights and external nodes separately.
Windows Portable · из корня portable-сборки / from the portable root
python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-H3-LongForge-NodePack\requirements.txtОбычная установка / Standard install · из папки ComfyUI в его окружении / from the ComfyUI directory in its environment
python -m pip install -r custom_nodes/ComfyUI-H3-LongForge-NodePack/requirements.txtVEDA predictors
Положите predictor в ComfyUI/models/veda/ и выберите его в 08a. Для работы без VEDA переведите 08a в bypass через Ctrl+B. / Place the predictor in ComfyUI/models/veda/ and select it in 08a. Use Ctrl+B to bypass 08a when running without VEDA.
FL2VA — minimax_h3_t2va_veda_8nfe_600step_preview_fp8.safetensors
REF2VA — minimax_h3_r2va_veda_preview_fp8.safetensors
Настройки BLOCK / BLOCK settings
Threshold — 0.12 (по умолчанию / default). Диапазон / Range — 0–1.
Window start / end — 0.08 / 0.95 (по умолчанию / default). Диапазон / Range — 0–1, start < end.
Max reuses — 2 (по умолчанию / default). Диапазон / Range — 0–10.
Storage — cpu (по умолчанию / default). Значения / Values — cpu / gpu.
Metric stride — 8 (по умолчанию / default). Диапазон / Range — 1–32.
Console report — true (по умолчанию / default). Значения / Values — true / false.
BLOCK + VEDA (experimental) — false (по умолчанию / default). Значения / Values — true / false.
BLOCK requires CFG 1, at least 4 steps and a supported Euler / RES multistep / RES multistep CFG++ sampler. Storage chooses where cached tensors live. Metric stride controls how densely the cache samples tensor values when measuring differences.
SERVER API
RU. В 16 · Prompt Assistant → Backend → SERVER укажите базовый адрес OpenAI-compatible API и имя модели. Для Ollama выберите OLLAMA. Стандартный адрес Ollama — http://127.0.0.1:11434. Для SERVER задайте ключ через LONGFORGE_LLM_API_KEY. Для удалённого сервера с ключом используйте HTTPS и добавьте точное имя хоста в LONGFORGE_LLM_API_HOSTS.
EN. Set the OpenAI-compatible base URL and model name in 16 · Prompt Assistant → Backend → SERVER. Choose OLLAMA for Ollama, whose default address is http://127.0.0.1:11434. Set the SERVER API key through LONGFORGE_LLM_API_KEY. For a remote server with a key, use HTTPS and add the exact hostname to LONGFORGE_LLM_API_HOSTS.
Ссылки / Links
Авторы и благодарности / Credits
BLOCK cache. Адаптация T8mars, Apache-2.0. / Adapted from T8mars, Apache-2.0. comfyui-minimax-h3-blockcache-T8
OUTPUT cache / LAST FRAME. Подходы изучены на примере AGSoft. Интеграция в систему сцен выполнена в LongForge. / LongForge studied the approaches in AGSoft and integrated them into its own scene system. comfyui-AGSoft
RefMod. Адаптация работы Luisa / Luisacaotica. / Adapted from Luisa / Luisacaotica. ComfyUI-MiniMaxH3Mod
HQ. Адаптация 3D latent upscaler от LBH-123-AI. / Adaptation of the 3D latent upscaler by LBH-123-AI. MiniMax H3 Latent Upscaler
VEDA, Live Preview, RTX VFX. Внешние ноды авторов соответствующих паков. / External nodes from the respective pack authors. VEDA · KJNodes · NVIDIA VFX Nodes
Уведомления об авторстве и сторонние лицензии находятся в Node Pack. / Third-party notices and licenses are included in the Node Pack.

