Files
magicwang1111-Comfyui-Kling…/examples/README.md
T

3.1 KiB

Comfyui-Kling-Wrapper Examples

This directory contains importable ComfyUI workflow JSON examples and small Python API snippets for Comfyui-Kling-Wrapper.

Before running the workflows

  • Create and fill in config.local.json in the repository root before importing the workflows.
  • You can copy config.example.json in the repository root as a starting template.
  • Replace placeholder filenames such as example_portrait.png, example_subject_front.png, example_subject_ref_1.png, example_cloth.png, and example_scene.png with files that exist in your ComfyUI input directory.
  • Native sound and voice_preset support is currently only verified for kling-v2-6.
  • Newer documented models such as kling-video-o1 and kling-v3-omni are intentionally hidden from the visible dropdowns until live endpoint support is confirmed.

Important workflow notes

  • 05_comfyui_kling_wrapper_text2video_v26_sound.json is the native audio example and is built around kling-v2-6.
  • 06_comfyui_kling_wrapper_advanced_element_subject_to_image2video.json requires 1 frontal portrait plus 1-3 additional photos of the same subject. Background or scene images do not count as advanced-element reference images.
  • If you need both subject binding and speech, generate the bound video first and then add speech with the lip-sync or audio nodes.
  • Motion Control now expects uploaded/local video workflow inputs rather than a direct reference-video URL. Use a video loader node that provides either VIDEO or reference_video_frames plus reference_video_info. Set duration to auto if you want it to match the uploaded motion reference length.

Included files

  • 01_comfyui_kling_wrapper_image_generation_v3.json: basic image generation with a verified kling-v3 preset.
  • 02_comfyui_kling_wrapper_text2video_v3_intelligence.json: text-to-video with kling-v3 intelligent multi-shot mode.
  • 03_comfyui_kling_wrapper_image2video_v3.json: single-image to video using the visible 3.0-era model set.
  • 04_comfyui_kling_wrapper_multi_images_to_video_v3.json: multi-image identity-consistent video generation.
  • 05_comfyui_kling_wrapper_text2video_v26_sound.json: kling-v2-6 talking-head example with native voice presets.
  • 06_comfyui_kling_wrapper_advanced_element_subject_to_image2video.json: advanced custom element creation plus element_list binding in image-to-video.
  • 07_comfyui_kling_wrapper_motion_control_v26.json: motion-control workflow centered on a reference image plus uploaded reference-video inputs.
  • 08_comfyui_kling_wrapper_virtual_try_on.json: virtual try-on image workflow.
  • 09_comfyui_kling_wrapper_image_expand.json: image expansion workflow.
  • 10_comfyui_kling_wrapper_video_extend_chain.json: clip generation followed by video extension.
  • 11_comfyui_kling_wrapper_text_to_audio.json: text-to-audio workflow.
  • 12_comfyui_kling_wrapper_video_to_audio.json: video-to-audio workflow.
  • 13_comfyui_kling_wrapper_lip_sync_from_text.json: lip-sync workflow driven by text input.
  • 14_comfyui_kling_wrapper_effects_single_image.json: single-image effects workflow.
  • api_examples.py: small Python snippets that mirror the same upgraded API wrappers.