ComfyUI Node
LTX-GapFill Prompt (LTX Video Bridge)
A ComfyUI node in LTX/Gap Fill with 13 inputs and 2 outputs.
LTX-GapFill Prompt (LTX Video Bridge)
- clip_before_last_frame
- clip_after_first_frame
- suggested_prompt
- report
◄seed0►
◄gemini_api_key►
◄modelgemini-2.5-flash►
◄custom_model►
◄prompt_styleLTX Desktop system prompt►
◄gap_duration5.0►
◄resize_before_sendtrue►
◄max_size_px512►
◄prompt_before►
◄prompt_after►
◄custom_system_prompt►
CategoryLTX/Gap Fill
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| seed | INT | 00–18446744073709550000 | ComfyUI workflow helper only — this value is NOT sent to Gemini. Gemini has no seed concept. Change this value to force the node to re-run when all other inputs are unchanged. |
| gemini_api_key | STRING | Google Gemini API key. Free at https://aistudio.google.com/ | |
| model | COMBO | gemini-2.5-flash | Gemini model to use. All listed models are available on the free tier with limitations. |
| custom_model | STRING | Override the model dropdown with any Gemini model ID (e.g. gemini-3.2-flash). Leave blank to use the dropdown selection. | |
| prompt_style | COMBO | LTX Desktop system prompt | LTX Desktop system prompt — verbatim LTX Desktop prompt, 2-4 sentences. detailed — 6-10 sentences, full camera/lighting/motion description. cinematic — 5-8 sentences, cinematographer framing and lighting language. narrative — 5-8 sentences, story-driven with emotional arc and character action. |
| gap_duration | FLOAT | 5.00.5–120 | Duration of the gap to fill, in seconds. |
| resize_before_send | BOOLEAN | true | Resize images before sending to Gemini. Recommended — prevents hitting the 20 MB inline payload limit and speeds up the request. Gemini only needs scene-level detail. |
| max_size_px | INT | 512128–2048 | Longest edge in pixels when resize_before_send is enabled. |
| clip_before_last_frameopt | IMAGE | Connect the clip BEFORE the gap here. The node automatically uses the last frame. Single image or full VHS video batch — last frame auto-selected. | |
| clip_after_first_frameopt | IMAGE | Connect the clip AFTER the gap here. The node automatically uses the first frame. Single image or full VHS video batch — first frame auto-selected. | |
| prompt_beforeopt | STRING | Prompt or description of the clip before the gap. | |
| prompt_afteropt | STRING | Prompt or description of the clip after the gap. | |
| custom_system_promptopt | STRING | WARNING: Overrides the prompt_style dropdown entirely with your own system prompt. Use with caution — a poorly written system prompt can produce vague or unusable results, wasting API tokens and counting against your daily quota. Leave blank to use the prompt_style dropdown (recommended). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| suggested_prompt | STRING | — |
| report | STRING | — |