Skip to main content

Video Editing Nodes

Edit, modify, and transform existing videos.

Video Edit Gen4​

AI-powered video editing with Runway Gen4 Aleph

Edits videos using natural language instructions via the Runway Gen4 Aleph model. This is a synchronous model -- it returns results directly without polling.

PropertyDescription
Inputsvideo (video), ctx (text, optional prompt override)
Outputsvideo (video)

Configuration:

SettingDescription
Aspect RatioOutput dimensions (default: 16:9)
Prompt OverrideCustom prompt (overrides flow context promptText)

How it works:

  1. Validates video input
  2. Builds payload with prompt and aspect ratio (uses promptOverride if set, otherwise ctx.promptText)
  3. Calls wavespeedPredict directly (synchronous, no polling)
  4. Returns edited video artifact

Example prompts:

"Convert to anime style"
"Apply cinematic color grading with teal and orange"
"Add rain effect to the scene"

Video Edit Kling​

Kling O1-powered video editing

Edits videos using Kling's video-o1 editing model with optional image reference inputs.

PropertyDescription
Inputsvideo (video), input (text, optional), image (image, optional reference)
Outputsoutput (video)

Configuration:

SettingDescription
Modelkwaivgi/kling-video-o1/video-edit (default) or kwaivgi/kling-video-o1/video-edit-fast
Aspect RatioOutput dimensions (default: 16:9)
Keep Original SoundPreserve source audio (default: true)

Payload parameters:

  • aspect_ratio -- Output aspect ratio
  • images -- Optional reference image URLs for guided editing
  • keep_original_sound -- Boolean to preserve original audio track
  • prompt -- Edit instructions from flow context
  • video -- Source video URL

Use cases:

  • Style transfer while maintaining motion
  • Object editing with image references
  • Scene modifications with preserved audio

Video Swap​

Swap elements between video and image

Replaces elements in a video using an image source. Supports two providers: PixVerse (object/subject swap) and Wan 2.2 (animation).

PropertyDescription
Inputsvideo (video), image (image), input (text, optional prompt)
Outputsvideo (video)

Providers:

ProviderModel PathModesDescription
PixVerse (default)pixverse/swapobjectObject/element swap in video
Wan 2.2wavespeed-ai/wan-2.2/animateanimateAnimate image using video motion

Configuration:

  • Provider -- pixverse (default) or wan22
  • Mode -- object (PixVerse) or animate (Wan 2.2)
  • Resolution -- Output resolution (default: 720p)

Lip Sync​

Synchronize audio with video of a speaking person

Makes a person in video appear to speak provided audio with accurate lip movements. Requires both video and audio inputs.

PropertyDescription
Inputsvideo (video), audio (audio), ctx (text, optional -- InfiniteTalk only)
Outputsvideo (video)

Available Models:

ModelModel PathFeatures
Veed Lipsyncveed/lipsyncBasic lip sync (video + audio only)
Kling Lipsynckwaivgi/kling-lipsync/audio-to-videoOptimized for Kling-generated videos
Sync Labs 2.0sync/lipsync-2Configurable sync mode
Sync Labs 2.0 Prosync/lipsync-2-proPremium quality with sync modes
InfiniteTalkwavespeed-ai/infinitetalk/video-to-videoPrompt-guided, configurable resolution and seed
InfiniteTalk Fastwavespeed-ai/infinitetalk-fast/video-to-videoFaster generation with prompt support

Sync Modes (Sync Labs only):

ModeDescription
cut_offCut video at audio length (default)
loopLoop video to match audio length
bouncePlay forward then backward
silenceAdd silence to match video
remapRemap video timing to audio

InfiniteTalk-specific settings:

  • Prompt -- Text guidance via the ctx input handle
  • Resolution -- 480p (default) or 720p
  • Seed -- Reproducibility (-1 for random)

How it works:

  1. Validates both video and audio inputs
  2. Extracts optional prompt from connected text node (for InfiniteTalk models)
  3. Builds payload via buildLipSyncPayload based on selected model
  4. Submits to generate-image edge function
  5. Polls poll-wavespeed-job for up to 6 minutes

Example workflow:

Text to Audio --> Lip Sync
^
Upload Video

Use cases:

  • Dubbing videos to different languages
  • Creating talking avatars
  • AI-generated character dialogue
  • Voiceover synchronization
caution

Use responsibly. Only modify videos where you have appropriate permissions.


Video Editing Workflow Examples​

Style Transfer Pipeline​

Upload Video --> Video Edit Gen4 --> Library
|
"Cinematic color grading
with teal and orange"

Kling Edit with Reference​

Upload Video --> Video Edit Kling --> Library
Upload Image -----^
|
"Match the style of the reference image"

Lip Sync Dubbing​

Text to Audio --> Lip Sync --> Library
^
Upload Video

Tips for Video Editing​

Quality Preservation​

  1. Start with the highest quality source
  2. Minimize the number of edit passes
  3. Use appropriate resolution for the final output

Prompt Tips​

Be specific about what to change:

"Change the sky to a dramatic sunset with orange
and purple clouds, keep the foreground unchanged"

Include what to preserve:

"Apply vintage film look while preserving
skin tones and maintaining sharpness on faces"

Lip Sync Best Practices​

  1. Face visibility -- Face should be clearly visible and well-lit
  2. Audio quality -- Clean, high-quality audio produces better sync
  3. Duration matching -- Choose appropriate sync mode for audio/video length differences
  4. Model selection -- Use Sync Labs Pro for highest quality, InfiniteTalk for prompt-guided control