LTX 2 / editVideo
Canny-guided edits on the 19B, hosted by Civitai
- source_video
- loras
- api_config
- video
- workflow_id
- raw_json
LTX 2's video-editing node on Civitai's cloud: source video in, prompt in, restyled clip out, with the composition held in place by a Canny edge map. It's the 19B-era predecessor of the LTX 2.3 editVideo node, and it shares the same structure-preserving design - including the canny threshold dials - minus the 2.3 engine's rebuilt VAE and newer conditioning.
The structure here is the interesting part, and it's straight from ControlNet land (see the KB's controlnet doc for the edge-map concept in images): the source footage is passed through Canny edge detection, and those edges are what anchor the composition while the model re-renders the content. guide_strength defaults to 1.0 - this is a "hold the structure, repaint the pixels" node, not a loose restyle (that's the LTX 2/2.3 videoToVideo nodes' job, at a much lower strength). If you want to swap materials, change the character's outfit, or relight a scene while keeping the exact same blocking, this is the shape of tool you want.
How it works
Orchestration as usual for the pack: videoGen workflow with the LTX 2 engine, submit to the Civitai Orchestration API, long-poll, download the MP4 as a VIDEO. Your source_video uploads to Civitai, the canny map is computed in the hosted Comfy workflow, and the edit is generated against it. The workflow_id / raw_json outputs are there for when the edit does something you didn't expect and you want the server's own job log.
Inputs and outputs that matter
- prompt (required) - the edit instruction.
- source_video (required) - the
VIDEOsocket with your footage. - negative_prompt - what to avoid.
- duration - tooltip: 3 or 5 seconds.
- width / height - default 1280×720.
- fps - default 24; steps - default 20 (8–50); guidance_scale - default 4; generate_audio - default true.
- model -
19b-dev/19b-distilled. - loras -
CIVITAI_LORASsocket. - canny_low_threshold / canny_high_threshold - default 0.4 / 0.8; the edge map's sensitivity (0–1). Lower thresholds keep more edges → harder structure lock; higher thresholds free the model up.
- guide_strength - 0–1, default 1.0; how hard the edit holds to the source structure.
- api_config - auth override.
Outputs: video, workflow_id, raw_json.
Installing it
ComfyUI Manager → Custom Nodes Manager → "Civitai Comfy Nodes" (publisher civitai) → Install → restart, or clone + pip install -r civitai-comfy-nodes/requirements.txt. Only requests; nothing downloads.
Common issues
- Auth & Buzz. Civitai account with Buzz;
CIVITAI_API_TOKENfor headless. - LTX 2 edit quality is LTX 2 quality. The 2.x VAE's soft detail and occasional artifacts show up in edits too. If the output looks mushy next to your expectations, the 2.3 edit node is the upgrade path rather than more settings tuning.
- Too locked or too loose. guide_strength 1.0 + low canny thresholds = near-frame-locked; back off
guide_strengthand raisecanny_low_thresholdwhen nothing changes. - Upload time. Source videos upload to Civitai; keep them short.
- Early preview. Node behavior may change without notice; pin the version.
- Cost. Full cloud job per run - check the per-run cost shown on the node.
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| source_video | VIDEO | — | |
| negative_promptopt | STRING | — | |
| seedopt | INT | 00–4294967295 | — |
| durationopt | COMBO | 5 | Duration in seconds (3 or 5) |
| widthopt | INT | 12800–2147483647 | — |
| heightopt | INT | 7200–2147483647 | — |
| fpsopt | FLOAT | 24.001–60 | — |
| generate_audioopt | BOOLEAN | true | — |
| guidance_scaleopt | FLOAT | 4.001–10 | — |
| stepsopt | INT | 208–50 | — |
| modelopt | COMBO | 19b-dev | 2 options: 19b-dev, 19b-distilled |
| lorasopt | CIVITAI_LORAS | — | |
| canny_low_thresholdopt | FLOAT | 0.400–1 | — |
| canny_high_thresholdopt | FLOAT | 0.800–1 | — |
| guide_strengthopt | FLOAT | 1.000–1 | — |
| api_configopt | CIVITAI_CONFIG | Optional Civitai Auth connection; defaults to CIVITAI_API_TOKEN or stored OAuth login. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | — |
| workflow_id | STRING | — |
| raw_json | STRING | — |