Image-Text-to-Video
Diffusion Single File
bernini
text-to-video
image-to-video
video-to-video
image-to-image
comfyui
Instructions to use chfm/Bernini-v2-ComfyUI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use chfm/Bernini-v2-ComfyUI with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download workflow/bernini_v2_custom_workflow.json from chfm/Bernini-v2-ComfyUI: direct link, hf CLI and curl.
- Browser
- Download file 15.1 kB
-
https://huggingface.co/chfm/Bernini-v2-ComfyUI/resolve/main/workflow/bernini_v2_custom_workflow.json
- Command line
-
hf download hf://chfm/Bernini-v2-ComfyUI/workflow/bernini_v2_custom_workflow.json
-
curl -L -o bernini_v2_custom_workflow.json https://huggingface.co/chfm/Bernini-v2-ComfyUI/resolve/main/workflow/bernini_v2_custom_workflow.json
15.1 kB
| { | |
| "id": "ec7da562-7e21-4dac-a0d2-f4441e1efd3b", | |
| "revision": 0, | |
| "last_node_id": 268, | |
| "last_link_id": 591, | |
| "nodes": [ | |
| { | |
| "id": 38, | |
| "type": "CLIPLoader", | |
| "pos": [ | |
| -671.0966403137207, | |
| 1538.6789110107416 | |
| ], | |
| "size": [ | |
| 401.2162958872985, | |
| 106 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "slot_index": 0, | |
| "links": [ | |
| 582 | |
| ] | |
| } | |
| ], | |
| "title": "UMT5 Text Encoder", | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.45", | |
| "Node name for S&R": "CLIPLoader", | |
| "models": [ | |
| { | |
| "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors", | |
| "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors", | |
| "directory": "text_encoders" | |
| } | |
| ], | |
| "ue_properties": { | |
| "widget_ue_connectable": {}, | |
| "version": "7.1", | |
| "input_ue_unconnectable": {} | |
| } | |
| }, | |
| "widgets_values": [ | |
| "Wan/umt5_xxl_fp8_e4m3fn_scaled.safetensors", | |
| "wan", | |
| "default" | |
| ], | |
| "widgets_values_named": { | |
| "clip_name": "Wan/umt5_xxl_fp8_e4m3fn_scaled.safetensors", | |
| "type": "wan", | |
| "device": "default" | |
| } | |
| }, | |
| { | |
| "id": 39, | |
| "type": "VAELoader", | |
| "pos": [ | |
| -670.9406637512208, | |
| 1690.5634179687495 | |
| ], | |
| "size": [ | |
| 403.0330099602571, | |
| 58 | |
| ], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "VAE", | |
| "type": "VAE", | |
| "slot_index": 0, | |
| "links": [ | |
| 76, | |
| 581 | |
| ] | |
| } | |
| ], | |
| "title": "WAN VAE", | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.45", | |
| "Node name for S&R": "VAELoader", | |
| "models": [ | |
| { | |
| "name": "wan_2.1_vae.safetensors", | |
| "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors", | |
| "directory": "vae" | |
| } | |
| ], | |
| "ue_properties": { | |
| "widget_ue_connectable": {}, | |
| "version": "7.1", | |
| "input_ue_unconnectable": {} | |
| } | |
| }, | |
| "widgets_values": [ | |
| "Wan/Wan2_1_VAE_fp32.safetensors" | |
| ], | |
| "widgets_values_named": { | |
| "vae_name": "Wan/Wan2_1_VAE_fp32.safetensors" | |
| } | |
| }, | |
| { | |
| "id": 109, | |
| "type": "CreateVideo", | |
| "pos": [ | |
| 770.7604790832494, | |
| 1182.9630318664533 | |
| ], | |
| "size": [ | |
| 270, | |
| 126 | |
| ], | |
| "flags": { | |
| "collapsed": true | |
| }, | |
| "order": 8, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 198 | |
| }, | |
| { | |
| "name": "audio", | |
| "shape": 7, | |
| "type": "AUDIO", | |
| "link": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "VIDEO", | |
| "type": "VIDEO", | |
| "links": [ | |
| 199 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.49", | |
| "Node name for S&R": "CreateVideo", | |
| "ue_properties": { | |
| "widget_ue_connectable": {}, | |
| "version": "7.1", | |
| "input_ue_unconnectable": {} | |
| } | |
| }, | |
| "widgets_values": [ | |
| 16, | |
| 8, | |
| "sRGB" | |
| ], | |
| "widgets_values_named": { | |
| "fps": 16, | |
| "bit_depth": 8, | |
| "color_space": "sRGB" | |
| } | |
| }, | |
| { | |
| "id": 8, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 563.8383879333492, | |
| 1183.2719401702855 | |
| ], | |
| "size": [ | |
| 210, | |
| 50 | |
| ], | |
| "flags": { | |
| "collapsed": true | |
| }, | |
| "order": 7, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "samples", | |
| "type": "LATENT", | |
| "link": 583 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 76 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "slot_index": 0, | |
| "links": [ | |
| 198 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.45", | |
| "Node name for S&R": "VAEDecode", | |
| "ue_properties": { | |
| "widget_ue_connectable": {}, | |
| "version": "7.1", | |
| "input_ue_unconnectable": {} | |
| } | |
| } | |
| }, | |
| { | |
| "id": 37, | |
| "type": "UNETLoader", | |
| "pos": [ | |
| -670.9406637512208, | |
| 1270.5634179687495 | |
| ], | |
| "size": [ | |
| 398.3091306767822, | |
| 82 | |
| ], | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "slot_index": 0, | |
| "links": [ | |
| 590 | |
| ] | |
| } | |
| ], | |
| "title": "Bernini-R High Noise", | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.45", | |
| "Node name for S&R": "UNETLoader", | |
| "models": [ | |
| { | |
| "name": "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors", | |
| "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors", | |
| "directory": "diffusion_models" | |
| } | |
| ], | |
| "ue_properties": { | |
| "widget_ue_connectable": {}, | |
| "version": "7.1", | |
| "input_ue_unconnectable": {} | |
| } | |
| }, | |
| "widgets_values": [ | |
| "Bernini_v2_NVFP4/wan2.2_bernini_v2_high_noise_nvfp4.safetensors", | |
| "default" | |
| ], | |
| "widgets_values_named": { | |
| "unet_name": "Bernini_v2_NVFP4/wan2.2_bernini_v2_high_noise_nvfp4.safetensors", | |
| "weight_dtype": "default" | |
| } | |
| }, | |
| { | |
| "id": 56, | |
| "type": "UNETLoader", | |
| "pos": [ | |
| -670.9406637512208, | |
| 1400.5634179687495 | |
| ], | |
| "size": [ | |
| 400.0786188549132, | |
| 82 | |
| ], | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "slot_index": 0, | |
| "links": [ | |
| 589 | |
| ] | |
| } | |
| ], | |
| "title": "Bernini-R Low Noise", | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.45", | |
| "Node name for S&R": "UNETLoader", | |
| "models": [ | |
| { | |
| "name": "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors", | |
| "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors", | |
| "directory": "diffusion_models" | |
| } | |
| ], | |
| "ue_properties": { | |
| "widget_ue_connectable": {}, | |
| "version": "7.1", | |
| "input_ue_unconnectable": {} | |
| } | |
| }, | |
| "widgets_values": [ | |
| "Bernini_v2_NVFP4/wan2.2_bernini_v2_low_noise_nvfp4.safetensors", | |
| "default" | |
| ], | |
| "widgets_values_named": { | |
| "unet_name": "Bernini_v2_NVFP4/wan2.2_bernini_v2_low_noise_nvfp4.safetensors", | |
| "weight_dtype": "default" | |
| } | |
| }, | |
| { | |
| "id": 262, | |
| "type": "LoadImage", | |
| "pos": [ | |
| -578.9169177239224, | |
| 1816.877321689742 | |
| ], | |
| "size": [ | |
| 282.798828125, | |
| 314 | |
| ], | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 584 | |
| ] | |
| }, | |
| { | |
| "name": "MASK", | |
| "type": "MASK", | |
| "links": null | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.34.2", | |
| "Node name for S&R": "LoadImage" | |
| }, | |
| "widgets_values": [ | |
| "f000.png", | |
| "image" | |
| ], | |
| "widgets_values_named": { | |
| "image": "f000.png", | |
| "upload": "image" | |
| } | |
| }, | |
| { | |
| "id": 266, | |
| "type": "BerniniV2Loader", | |
| "pos": [ | |
| -189.95881818556632, | |
| 1294.6896612860778 | |
| ], | |
| "size": [ | |
| 389.6190889904501, | |
| 172.49319359416086 | |
| ], | |
| "flags": {}, | |
| "order": 5, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "planner", | |
| "type": "BERNINI_PLANNER", | |
| "links": [ | |
| 591 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "BerniniV2Loader" | |
| }, | |
| "widgets_values": [ | |
| "Bernini/bernini_mllm_fp8_scaled.safetensors", | |
| "Bernini/connector.safetensors", | |
| "Bernini/vit_decoder_bf16.safetensors", | |
| "Bernini/mask_tokens.safetensors", | |
| "Bernini/mllm" | |
| ], | |
| "widgets_values_named": { | |
| "mllm": "Bernini/bernini_mllm_fp8_scaled.safetensors", | |
| "connector": "Bernini/connector.safetensors", | |
| "vit_decoder": "Bernini/vit_decoder_bf16.safetensors", | |
| "mask_tokens": "Bernini/mask_tokens.safetensors", | |
| "mllm_config_dir": "Bernini/mllm" | |
| } | |
| }, | |
| { | |
| "id": 261, | |
| "type": "BerniniV2Sampler", | |
| "pos": [ | |
| 246.60706383030447, | |
| 1288.4443710962635 | |
| ], | |
| "size": [ | |
| 444.392822265625, | |
| 763.1221313476562 | |
| ], | |
| "flags": {}, | |
| "order": 6, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "planner", | |
| "type": "*", | |
| "link": 591 | |
| }, | |
| { | |
| "name": "high_noise_model", | |
| "type": "MODEL", | |
| "link": 590 | |
| }, | |
| { | |
| "name": "low_noise_model", | |
| "type": "MODEL", | |
| "link": 589 | |
| }, | |
| { | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 582 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 581 | |
| }, | |
| { | |
| "name": "source_video", | |
| "shape": 7, | |
| "type": "IMAGE", | |
| "link": 584 | |
| }, | |
| { | |
| "name": "reference_video", | |
| "shape": 7, | |
| "type": "IMAGE", | |
| "link": null | |
| }, | |
| { | |
| "label": "reference_image_0", | |
| "name": "reference_images.reference_image_0", | |
| "shape": 7, | |
| "type": "IMAGE", | |
| "link": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "latent", | |
| "type": "LATENT", | |
| "links": [ | |
| 583 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "BerniniV2Sampler" | |
| }, | |
| "widgets_values": [ | |
| " a red fox running through a snowy forest at dusk, cinematic lighting ", | |
| "vivid tones, overexposed, static, blurry details, subtitles, style, artwork, painting, image, motionless, overall grayish, worst quality, low quality, JPEG compression artifacts, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn face, deformed, disfigured, malformed limbs, fused fingers, still frame, cluttered background, three legs, too many people in the background, walking backwards", | |
| 64, | |
| 720, | |
| 480, | |
| 23, | |
| "dpmpp_2m", | |
| 3, | |
| 50, | |
| 1, | |
| 1.2, | |
| 3, | |
| 4.5, | |
| 3, | |
| 1.5, | |
| 0.8, | |
| 848 | |
| ], | |
| "widgets_values_named": { | |
| "prompt": " a red fox running through a snowy forest at dusk, cinematic lighting ", | |
| "negative_prompt": "vivid tones, overexposed, static, blurry details, subtitles, style, artwork, painting, image, motionless, overall grayish, worst quality, low quality, JPEG compression artifacts, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn face, deformed, disfigured, malformed limbs, fused fingers, still frame, cluttered background, three legs, too many people in the background, walking backwards", | |
| "num_frames": 64, | |
| "width": 720, | |
| "height": 480, | |
| "num_inference_steps": 23, | |
| "sampler": "dpmpp_2m", | |
| "flow_shift": 3, | |
| "planning_step": 50, | |
| "vit_denoising_step": 1, | |
| "vit_txt_cfg": 1.2, | |
| "cfg": 3, | |
| "omega_txt": 4.5, | |
| "omega_img": 3, | |
| "omega_tgt": 1.5, | |
| "omega_scale": 0.8, | |
| "ref_max_size": 848 | |
| } | |
| }, | |
| { | |
| "id": 61, | |
| "type": "SaveVideo", | |
| "pos": [ | |
| 737.4076697204581, | |
| 1275.8394642456035 | |
| ], | |
| "size": [ | |
| 461.95318603515625, | |
| 106 | |
| ], | |
| "flags": {}, | |
| "order": 9, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "video", | |
| "type": "VIDEO", | |
| "link": 199 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "video", | |
| "type": "VIDEO", | |
| "links": null | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.45", | |
| "Node name for S&R": "SaveVideo", | |
| "ue_properties": { | |
| "widget_ue_connectable": {}, | |
| "version": "7.1", | |
| "input_ue_unconnectable": {} | |
| } | |
| }, | |
| "widgets_values": [ | |
| "video/ComfyUI", | |
| "auto", | |
| "auto", | |
| "auto" | |
| ], | |
| "widgets_values_named": { | |
| "filename_prefix": "video/ComfyUI", | |
| "format": "auto", | |
| "format.codec": "auto", | |
| "codec": "auto" | |
| } | |
| } | |
| ], | |
| "links": [ | |
| [ | |
| 76, | |
| 39, | |
| 0, | |
| 8, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 198, | |
| 8, | |
| 0, | |
| 109, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 199, | |
| 109, | |
| 0, | |
| 61, | |
| 0, | |
| "VIDEO" | |
| ], | |
| [ | |
| 581, | |
| 39, | |
| 0, | |
| 261, | |
| 4, | |
| "VAE" | |
| ], | |
| [ | |
| 582, | |
| 38, | |
| 0, | |
| 261, | |
| 3, | |
| "CLIP" | |
| ], | |
| [ | |
| 583, | |
| 261, | |
| 0, | |
| 8, | |
| 0, | |
| "LATENT" | |
| ], | |
| [ | |
| 584, | |
| 262, | |
| 0, | |
| 261, | |
| 5, | |
| "IMAGE" | |
| ], | |
| [ | |
| 589, | |
| 56, | |
| 0, | |
| 261, | |
| 2, | |
| "MODEL" | |
| ], | |
| [ | |
| 590, | |
| 37, | |
| 0, | |
| 261, | |
| 1, | |
| "MODEL" | |
| ], | |
| [ | |
| 591, | |
| 266, | |
| 0, | |
| 261, | |
| 0, | |
| "BERNINI_PLANNER" | |
| ] | |
| ], | |
| "groups": [ | |
| { | |
| "id": 10, | |
| "title": "Bernini v2", | |
| "bounding": [ | |
| -700.9406637512208, | |
| 1150.5634179687495, | |
| 1967.0834083251957, | |
| 1025.4133057861327 | |
| ], | |
| "flags": {} | |
| } | |
| ], | |
| "config": {}, | |
| "extra": { | |
| "ds": { | |
| "scale": 1.1, | |
| "offset": [ | |
| 770.8308997993659, | |
| -1093.8924454408427 | |
| ] | |
| }, | |
| "frontendVersion": "1.49.6", | |
| "VHS_latentpreview": false, | |
| "VHS_latentpreviewrate": 0, | |
| "VHS_MetadataImage": true, | |
| "VHS_KeepIntermediate": true, | |
| "ue_links": [], | |
| "links_added_by_ue": [], | |
| "workflowRendererVersion": "LG" | |
| }, | |
| "version": 0.4 | |
| } |