Nodes/ComfyUI-LTX-GapFill/LTX-GapFill Prompt (LTX Video Bridge)
ComfyUI Node

LTX-GapFill Prompt (LTX Video Bridge)

A ComfyUI node in LTX/Gap Fill with 13 inputs and 2 outputs.

By PixWizardry·Created 5 months ago·Updated 5 months ago· 1
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)

NameTypeDefaultDescription
seedINT00–18446744073709550000ComfyUI 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_keySTRINGGoogle Gemini API key. Free at https://aistudio.google.com/
modelCOMBOgemini-2.5-flashGemini model to use. All listed models are available on the free tier with limitations.
custom_modelSTRINGOverride the model dropdown with any Gemini model ID (e.g. gemini-3.2-flash). Leave blank to use the dropdown selection.
prompt_styleCOMBOLTX Desktop system promptLTX 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_durationFLOAT5.00.5–120Duration of the gap to fill, in seconds.
resize_before_sendBOOLEANtrueResize 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_pxINT512128–2048Longest edge in pixels when resize_before_send is enabled.
clip_before_last_frameoptIMAGEConnect 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_frameoptIMAGEConnect 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_beforeoptSTRINGPrompt or description of the clip before the gap.
prompt_afteroptSTRINGPrompt or description of the clip after the gap.
custom_system_promptoptSTRINGWARNING: 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)

NameTypeDescription
suggested_promptSTRING
reportSTRING