ComfyUI 워크플로우/Bernini

Workflow

Bernini 비디오 편집소스 비디오와 레퍼런스 이미지로 장면을 고치는 워크플로Bernini Video EditingEdit scenes with source video and reference imagesBernini 视频编辑用源视频和参考图修改画面的工作流

v1Bernini

다운로드

로그인 없이 다운로드할 수 있어요.Download without signing in.无需登录即可下载。

관련 비디오Related video相关视频Seedance 를 만든 ByteDance의 Bernini 리뷰 (새로운 비디오 생성 모델) - ComfyUI 에서 바로 실행해보기ByteDance Bernini Review - New Video Generation Model in ComfyUIByteDance Bernini 评测 - 在 ComfyUI 运行的新视频生成模型

01이 워크플로는

소스 비디오를 넣고 「이 재킷을 image0의 셔츠로 바꿔 주세요」처럼 지시문을 쓰면 장면을 고쳐 주는 Bernini 워크플로입니다. 레퍼런스 이미지와 레퍼런스 비디오를 조건으로 쓸 수 있어 인물 교체 · 옷 바꾸기 · 스타일 변형 같은 편집에 맞습니다.

구조는 Wan2.2와 같습니다. High noise 모델로 4스텝(Preview), Low noise 모델로 4스텝(Final)을 이어서 그리고, 두 모델 사이에 Bernini Conditioning 노드가 소스 비디오와 레퍼런스를 넣어 줍니다. 모델이 ChatGPT에게 말하듯 지시문을 받기 때문에, 작업 종류별 시스템 프롬프트를 자동으로 붙여 주는 프롬프트 가이드 노드를 함께 넣었습니다.

02준비물

  • ComfyUI v0.25.0 이상 — Bernini Conditioning 노드가 기본으로 들어 있는 판입니다.
  • 노드 팩 — DENO Custom Nodes · KJNodes · VideoHelperSuite · rgthree-comfy
  • 모델 — 다운로드 주소는 워크플로 안의 모델 다운로드 노드에 파일마다 적혀 있습니다.
폴더파일크기
diffusion_modelsWan22_Bernini_HIGH_mxfp8.safetensors—
diffusion_modelsWan22_Bernini_LOW_mxfp8.safetensors—
text_encodersumt5_xxl_fp8_e4m3fn_scaled.safetensors6.74 GB
vaewan_2.1_vae.safetensors254 MB
loras/WanVideo/Lightx2vlightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16_.safetensors631 MB

03쓰는 법

  1. 워크플로를 엽니다. 다운로드한 .json 파일을 ComfyUI 화면에 끌어다 놓습니다.
  2. 모델과 노드 팩을 갖춥니다. 다운로드 노드의 버튼으로 받은 뒤 「체크」로 확인하고, 노드 팩을 설치한 다음 ComfyUI를 다시 켜거나 R 키로 목록을 새로 고칩니다. 로더 노드에서 표의 이름대로 모델을 고릅니다.
  3. 입력을 채웁니다. 사용할 입력(비디오 · 이미지)은 Fast Groups Bypasser에서 켜고 끕니다. 소스 비디오는 Load Video에, 레퍼런스 이미지는 Load Image에 넣습니다. 이미지는 배치가 아니라 Load Image 노드로 하나씩 입력합니다. 해상도 칸은 16의 배수로 둡니다.
  4. 지시문을 씁니다. 프롬프트 가이드 노드에서 작업 종류를 고르고 하고 싶은 편집을 적습니다.
  5. 실행합니다. High noise 구간 뒤에 Low noise 구간이 이어지고, 16fps MP4로 저장됩니다.

처음에는 기본 LoRA를 켠 채로, 짧은 길이 · 작은 크기로 돌려 보세요. LoRA 없이 돌리면 생성 시간이 크게 늘어납니다.

04프롬프트

프롬프트 가이드 노드가 고른 작업 종류에 맞는 시스템 프롬프트를 앞에 붙이고, 아래에 쓴 지시문을 이어 줍니다. 작업 종류는 Text to Image · Text to Video · Image Edit · Image to Video · Video Edit · Subject to Image · Subject to Video · Video Propagation · Reference Video Edit · Ads Insertion · Video Reference Control · Motion / Style Edit 중에서 고릅니다.

  • 레퍼런스 이미지는 image0, image1 순서로 부르고, 각 이미지에서 무엇을 가져올지 정확히 적습니다.
  • 바꾸지 않을 것은 함께 적습니다. 예: Replace the jacket with the shirt from image0. Keep camera motion, face, lighting, and background unchanged.
  • 네거티브 프롬프트는 거의 쓰지 않아 접어 두었습니다. 기본값은 Wan2.2 공식 문구입니다.

05막힐 때

  • Bernini Conditioning 노드가 보이지 않으면 ComfyUI를 v0.25.0 이상으로 업데이트합니다.
  • 다운로드 노드로 받을 수 없는 모델이 있으면 같은 mxfp8 판을 구해 두고 로더 노드에서 해당 파일을 고릅니다.
  • LoRA 강도 — High noise 쪽 3, Low noise 쪽 1.5가 기본입니다. LoRA는 Wan2.2용 distill LoRA를 그대로 쓰는 값이라 더 나은 결과가 필요하면 LoRA를 빼고 CFG를 올려 가며 시험합니다.
  • 해상도 칸에서 오류가 나면 가로 · 세로가 16의 배수인지 확인합니다.

06바뀐 점

  • v1 (2026-11-21): 2026-06-03 영상과 함께 공개한 판을 옮겼습니다. 공개 뒤 KJNodes 업데이트에 맞춰 이미지를 개별 입력으로 받게 고친 판(0604)을 실었습니다.

01About this workflow

Load a source video and give Bernini an instruction such as “Replace this jacket with the shirt from image0.” You can use reference images and videos as conditioning for edits such as replacing people, changing clothing, or altering a style.

The workflow follows the same two-stage setup as Wan2.2. The High noise model runs for 4 steps (Preview), followed by the Low noise model for 4 steps (Final). The Bernini Conditioning node supplies the source video and references between the two models. Bernini takes instructions in the same conversational style as ChatGPT. The included prompt guide node automatically adds a system prompt for the selected task.

02Requirements

  • ComfyUI v0.25.0 or later — Includes the Bernini Conditioning node.
  • Node packs — DENO Custom Nodes, KJNodes, VideoHelperSuite, rgthree-comfy
  • Models — The model download node in the workflow lists download links for each file.
FolderFileSize
diffusion_modelsWan22_Bernini_HIGH_mxfp8.safetensors—
diffusion_modelsWan22_Bernini_LOW_mxfp8.safetensors—
text_encodersumt5_xxl_fp8_e4m3fn_scaled.safetensors6.74 GB
vaewan_2.1_vae.safetensors254 MB
loras/WanVideo/Lightx2vlightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16_.safetensors631 MB

03How to use it

  1. Open the workflow. Drag the downloaded .json file onto the ComfyUI canvas.
  2. Get the models and node packs. Use the buttons on the download node, then click “Check” to verify the downloads. Install the node packs and restart ComfyUI or press R to refresh the list. Select the models from the table in the loader nodes.
  3. Set the inputs. Use Fast Groups Bypasser to enable the video and image inputs you need. Load the source video in Load Video and each reference image in its own Load Image node. Set both resolution dimensions to multiples of 16.
  4. Write an instruction. Select the task type in the prompt guide node and describe the edit you want.
  5. Run the workflow. The High noise stage runs first, followed by the Low noise stage. The workflow saves a 16fps MP4.

For your first run, leave the default LoRA enabled and use a short clip at a low resolution. Generation takes much longer with the LoRA disabled.

04Prompting

The prompt guide node prepends the system prompt for the task you select, followed by the instruction you enter below. Choose from Text to Image, Text to Video, Image Edit, Image to Video, Video Edit, Subject to Image, Subject to Video, Video Propagation, Reference Video Edit, Ads Insertion, Video Reference Control, and Motion / Style Edit.

  • Refer to the reference images in order as image0, image1, and so on. Specify what to take from each image.
  • Specify what to preserve. For example, Replace the jacket with the shirt from image0. Keep camera motion, face, lighting, and background unchanged.
  • The negative prompt is collapsed because it is rarely used. It defaults to the official Wan2.2 prompt.

05Troubleshooting

  • Bernini Conditioning is missing. Update ComfyUI to v0.25.0 or later.
  • The download node cannot fetch a model. Get the same mxfp8 version and select the file in the loader node.
  • LoRA strength — The default is 3 for High noise and 1.5 for Low noise. These settings use the Wan2.2 distillation LoRA as-is. If you need better results, try disabling the LoRA and increasing CFG gradually.
  • The resolution field shows an error. Check that both width and height are multiples of 16.

06Changelog

  • v1 (2026-11-21): Added the workflow from the 2026-06-03 video. This is the updated release (0604) that uses separate image inputs after a KJNodes update.

01工作流简介

输入源视频,再写下“将这件夹克换成 image0 中的衬衫”之类的指令,Bernini 就会修改画面。参考图和参考视频都可作为条件,适合更换人物、替换服装和调整风格等编辑任务。

工作流结构与 Wan2.2 相同。先用 High noise 模型采样 4 步(Preview),再用 Low noise 模型采样 4 步(Final)。两个模型之间的 Bernini Conditioning 节点负责传入源视频和参考素材。模型接收类似向 ChatGPT 提问的自然语言指令,因此工作流配有提示词指南节点,按任务类型自动添加系统提示词。

02准备工作

  • ComfyUI v0.25.0 或更高版本 — 此版本内置 Bernini Conditioning 节点。
  • 节点包 — DENO Custom Nodes · KJNodes · VideoHelperSuite · rgthree-comfy
  • 模型 — 工作流中的模型下载节点列出了每个文件的下载地址。
文件夹文件大小
diffusion_modelsWan22_Bernini_HIGH_mxfp8.safetensors—
diffusion_modelsWan22_Bernini_LOW_mxfp8.safetensors—
text_encodersumt5_xxl_fp8_e4m3fn_scaled.safetensors6.74 GB
vaewan_2.1_vae.safetensors254 MB
loras/WanVideo/Lightx2vlightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16_.safetensors631 MB

03使用方法

  1. 打开工作流。 将下载的 .json 文件拖入 ComfyUI。
  2. 准备模型和节点包。 用下载节点的按钮下载,再点击“检查”确认。安装节点包后重启 ComfyUI,或按 R 键刷新列表。在各加载器节点中按表中的名称选择模型。
  3. 填写输入。 在 Fast Groups Bypasser 中启用或关闭需要的输入(视频、图像)。将源视频放入 Load Video,将参考图放入 Load Image。每张图用一个 Load Image 节点单独输入。分辨率的宽和高须为 16 的倍数。
  4. 编写指令。 在提示词指南节点中选择任务类型,并描述想做的编辑。
  5. 运行。 High noise 阶段结束后接着运行 Low noise 阶段,结果保存为 16fps MP4。

首次运行时,保持默认 LoRA 开启,先用较短的时长和较小的分辨率测试。关闭 LoRA 会大幅增加生成时间。

04提示词

提示词指南节点会先添加所选任务类型的系统提示词,再接上你在下方填写的指令。可选任务包括 Text to Image · Text to Video · Image Edit · Image to Video · Video Edit · Subject to Image · Subject to Video · Video Propagation · Reference Video Edit · Ads Insertion · Video Reference Control · Motion / Style Edit。

  • 按顺序用 image0、image1 指代参考图,并明确写出要从每张图取用的内容。
  • 同时写明要保留的内容。例如 Replace the jacket with the shirt from image0. Keep camera motion, face, lighting, and background unchanged.
  • 负面提示词很少用到,因此默认折叠。默认值沿用 Wan2.2 官方提示词。

05常见问题

  • 找不到 Bernini Conditioning 节点时,将 ComfyUI 更新到 v0.25.0 或更高版本。
  • 下载节点无法下载某个模型时,另行获取同一 mxfp8 版本,并在加载器中选择对应文件。
  • LoRA 强度 — High noise 默认 3,Low noise 默认 1.5。此处沿用 Wan2.2 的蒸馏 LoRA。如需改善效果,可移除 LoRA,逐步提高 CFG 进行测试。
  • 分辨率字段报错时,检查宽和高是否均为 16 的倍数。

06更新记录

  • v1 (2026-11-21) — 迁入随 2026-06-03 视频发布的工作流。这里提供的是发布后适配 KJNodes 更新的版本(0604),参考图改为逐张输入。

워크플로 파일은 GPL-3.0-only입니다. 모델과 노드 팩은 각자의 라이선스를 따릅니다.Workflow files are GPL-3.0-only. Models and node packs follow their own licenses.工作流文件采用 GPL-3.0-only 许可。模型和节点包遵循各自的许可。