LTX 2 / firstLastFrameToVideo
Script a scene by pinning its two bookend frames
- loras
- api_config
- video
- workflow_id
- raw_json
The frame-anchored generator of the LTX 2 family, running on Civitai's cloud: you provide a first frame, a last frame, or both, plus a prompt, and it fills in the video between them. It's the 19B-era sibling of the LTX 2.3 firstLastFrameToVideo node - same idea, older engine.
This is the node for shots with a defined beginning and end. Instead of crossing your fingers that the prompt lands the final composition, you show the model exactly where the scene starts and where it has to finish, and let it invent the middle. That's a genuinely useful creative control: a camera move from wide to close, a character crossing a room, a time-lapse from dawn to dusk. It's also the pattern the KB's LTX material associates with frame conditioning being one of LTX's strengths - an area where the family has been ahead of its reputation.
How it works
Standard orchestration plumbing: videoGen workflow with the LTX 2 engine, submit to the Civitai Orchestration API, long-poll, download as VIDEO. The guide frames are passed in as conditioning - the tooltip is explicit that at least one of first_frame or last_frame must be provided - and frame_guide_strength (0–1, default 0.7) controls how hard the output holds to them. High strength glues the video to your frames; lower strength lets the model improvise more between the bookends.
Inputs and outputs that matter
- prompt (required) - the action between the frames.
- first_frame - opening guide image (string input; URL/DataURL/Base64 per the pack convention).
- last_frame - ending guide image.
- frame_guide_strength - 0–1, default 0.7; the main creative dial.
- 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. - 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; no models.
Common issues
- Auth & Buzz. Civitai account with Buzz;
CIVITAI_API_TOKENfor headless. - Both frames empty = provider error. At least one frame is required; if neither is wired, the job fails server-side rather than locally, which reads as a confusing generic failure. Wire one first, then debug everything else.
- Weak anchoring. Raise
frame_guide_strengthtoward 1.0 if the middle ignores the frames; back it off if the output looks like a morph between two stills. - Style mismatch between frames. Two frames from different styles or lighting confuse the 19B more than the 2.3 engine. Keep bookends visually consistent.
- LTX 2's middle is LTX 2's middle. The 19B can still freeze or smudge mid-scene; if the between is what matters to you, the 2.3 version of this node is the better engine.
- Early preview. Behavior may change without notice; pin the version.
- Cost. Full cloud job per run - check the per-run cost on the node.
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| 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 | — | |
| first_frameopt | STRING | First frame guide image. At least one of FirstFrame or LastFrame must be provided. | |
| last_frameopt | STRING | Last frame guide image. At least one of FirstFrame or LastFrame must be provided. | |
| frame_guide_strengthopt | FLOAT | 0.700–1 | Strength of the frame guide conditioning (0.0 to 1.0). |
| 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 | — |