Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > civitai-comfy-nodes > LTX 2 / firstLastFrameToVideo

ComfyUI Node: LTX 2 / firstLastFrameToVideo

Class Name

CivitaiVideoGenLtx2FirstLastFrameToVideo

Category
Civitai/Video/LTX 2
Author
civitai (Account age: 1322days)
Extension
civitai-comfy-nodes
Latest Updated
2026-06-18
Github Stars
0.02K

How to Install civitai-comfy-nodes

Install this extension via the ComfyUI Manager by searching for civitai-comfy-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter civitai-comfy-nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

LTX 2 / firstLastFrameToVideo Description

Transform image sequence into video using first and last frames as key references for seamless visual narrative.

LTX 2 / firstLastFrameToVideo:

CivitaiVideoGenLtx2FirstLastFrameToVideo is a powerful node designed to transform a sequence of images into a cohesive video, specifically by utilizing the first and last frames as key reference points. This node is part of the Civitai orchestration suite, leveraging the LTX 2 engine to generate videos that smoothly transition between the initial and final frames. It is particularly beneficial for creating animations or video content where the beginning and end frames are crucial for storytelling or thematic purposes. By focusing on these frames, the node ensures a seamless visual narrative, making it an essential tool for AI artists looking to produce high-quality video content with minimal input. The node's capabilities allow for customization in terms of video duration, resolution, and frame rate, providing flexibility to meet various creative needs.

LTX 2 / firstLastFrameToVideo Input Parameters:

prompt

The prompt parameter is a textual input that guides the thematic or stylistic direction of the video. It acts as a creative seed, influencing the visual elements and overall mood of the generated video. There are no strict minimum or maximum values, but the prompt should be clear and descriptive to achieve the desired effect.

negative_prompt

The negative_prompt parameter allows you to specify elements or styles to avoid in the video generation process. This helps refine the output by excluding unwanted features, ensuring the video aligns more closely with your vision. Like the prompt, it should be clear and specific.

seed

The seed parameter is a numerical value that initializes the random number generator, ensuring reproducibility of the video output. By using the same seed, you can generate consistent results across multiple runs. There is no fixed range, but it is typically a positive integer.

duration

The duration parameter specifies the total length of the video in seconds. It directly impacts the pacing and flow of the video, with longer durations allowing for more gradual transitions. The minimum value is typically 1 second, with no strict maximum, though practical limits depend on system capabilities.

width

The width parameter defines the horizontal resolution of the video in pixels. It affects the clarity and detail of the video, with higher values providing better quality. Common values range from 640 to 1920 pixels, depending on the desired output quality.

height

The height parameter sets the vertical resolution of the video in pixels, complementing the width to determine the overall aspect ratio. Like width, higher values result in better video quality. Typical values range from 360 to 1080 pixels.

fps

The fps (frames per second) parameter determines the smoothness of the video playback. Higher FPS values result in smoother motion, with common settings being 24, 30, or 60 FPS. The choice of FPS can affect the video’s realism and fluidity.

generate_audio

The generate_audio parameter is a boolean option that decides whether to include audio in the video. If set to true, the node will attempt to generate or incorporate audio, enhancing the multimedia experience. The default is typically false, focusing on visual content.

guidance_scale

The guidance_scale parameter influences the strength of adherence to the prompt. Higher values result in outputs that more closely follow the prompt, while lower values allow for more creative freedom. It is usually a positive float, with typical values ranging from 1.0 to 10.0.

steps

The steps parameter controls the number of iterations the algorithm performs to refine the video. More steps generally lead to higher quality outputs but require more computational resources. Common values range from 10 to 100, balancing quality and performance.

model

The model parameter specifies the AI model used for video generation. Different models may offer varying styles or capabilities, allowing you to tailor the output to specific artistic needs. The choice of model can significantly impact the video’s aesthetic.

loras

The loras parameter is a mapping of strengths for different Lora models, which are used to fine-tune the video generation process. This allows for nuanced control over specific aspects of the video, such as color grading or texture details.

first_frame

The first_frame parameter is an image that serves as the starting point of the video. It sets the initial visual context and is crucial for establishing the narrative or theme of the video.

last_frame

The last_frame parameter is an image that defines the ending point of the video. It provides closure to the visual narrative, ensuring that the video concludes in a manner consistent with the intended storyline or theme.

frame_guide_strength

The frame_guide_strength parameter determines how strongly the video generation process adheres to the first_frame and last_frame. Higher values ensure that the video closely follows these frames, while lower values allow for more creative transitions.

LTX 2 / firstLastFrameToVideo Output Parameters:

video

The video output is the final video file generated by the node. It encapsulates the visual narrative created from the first and last frames, along with any additional elements specified by the input parameters. This output is the primary deliverable, ready for viewing or further editing.

workflow_id

The workflow_id is a unique identifier for the video generation process. It allows you to track and reference specific workflows, facilitating organization and reproducibility of results.

raw_json

The raw_json output provides a detailed JSON representation of the video generation process, including all input parameters and settings. This is useful for debugging, analysis, or documentation purposes, offering insight into the node’s operation.

LTX 2 / firstLastFrameToVideo Usage Tips:

  • Experiment with different prompt and negative_prompt combinations to achieve unique visual styles and themes.
  • Adjust the duration and fps parameters to balance video length and smoothness according to your project needs.
  • Use the guidance_scale to control how closely the video adheres to your creative vision, allowing for either strict or flexible interpretations.
  • Consider the resolution settings (width and height) to ensure the video meets quality standards for your intended platform or audience.

LTX 2 / firstLastFrameToVideo Common Errors and Solutions:

"Invalid seed value"

  • Explanation: The seed value provided is not a valid integer.
  • Solution: Ensure that the seed is a positive integer and try again.

"Resolution too high"

  • Explanation: The specified width and height exceed the system's processing capabilities.
  • Solution: Reduce the resolution to a more manageable size and attempt the operation again.

"Model not found"

  • Explanation: The specified model is not available or incorrectly referenced.
  • Solution: Verify the model name and ensure it is correctly installed and accessible.

"Frame guide strength out of range"

  • Explanation: The frame guide strength value is outside the acceptable range.
  • Solution: Adjust the frame guide strength to a value within the recommended range, typically between 0.0 and 1.0.

LTX 2 / firstLastFrameToVideo Related Nodes

Go back to the extension to check out more related nodes.
civitai-comfy-nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

LTX 2 / firstLastFrameToVideo