File size: 11,220 Bytes
1cf2cb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
{
  "id": "4ae8517e-0d4a-42d5-b6ee-d38ff3e95d6e",
  "revision": 0,
  "last_node_id": 114,
  "last_link_id": 999003,
  "nodes": [
    {
      "id": 40,
      "type": "LTXVGemmaEnhancePrompt",
      "pos": [
        -409.79927022704203,
        193.16418468751618
      ],
      "size": [
        420,
        430
      ],
      "flags": {
        "collapsed": false
      },
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 200
        },
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 999003
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 202
        }
      ],
      "outputs": [
        {
          "name": "enhanced_prompt",
          "type": "STRING",
          "links": [
            211
          ]
        }
      ],
      "title": "Enhancer",
      "properties": {
        "cnr_id": "ComfyUI-LTXVideo",
        "ver": "82bd963cdeb66d023bed8c99324a307020907ef8",
        "Node name for S&R": "LTXVGemmaEnhancePrompt"
      },
      "widgets_values": [
        "",
        "You are a Creative Assistant writing concise, action-focused image-to-video prompts. Given an image (first frame) and user Raw Input Prompt, generate a prompt to guide video generation from that image.\n\n#### Guidelines:\n- Analyze the Image: Identify Subject, Setting, Elements, Style and Mood.\n- Follow user Raw Input Prompt: Include all requested motion, actions, camera movements, audio, and details. If in conflict with the image, prioritize user request while maintaining visual consistency (describe transition from image to user's scene).\n- Describe only changes from the image: Don't reiterate established visual details. Inaccurate descriptions may cause scene cuts.\n- Active language: Use present-progressive verbs (\"is walking,\" \"speaking\"). If no action specified, describe natural movements.\n- Chronological flow: Use temporal connectors (\"as,\" \"then,\" \"while\").\n- Audio layer: Describe complete soundscape throughout the prompt alongside actions, NOT at the end. Align audio intensity with action tempo. Include natural background audio, ambient sounds, effects, speech or music (when requested). Be specific (e.g., \"soft footsteps on tile\") not vague (e.g., \"ambient sound\").\n- Speech (only when requested): Provide exact words in quotes with character's visual/voice characteristics (e.g., \"The tall man speaks in a low, gravelly voice\"), language if not English and accent if relevant. If general conversation mentioned without text, generate contextual quoted dialogue. (i.e., \"The man is talking\" input -> the output should include exact spoken words, like: \"The man is talking in an excited voice saying: 'You won't believe what I just saw!' His hands gesture expressively as he speaks, eyebrows raised with enthusiasm. The ambient sound of a quiet room underscores his animated speech.\")\n- Style: Include visual style at beginning: \"Style: <style>, <rest of prompt>.\" If unclear, omit to avoid conflicts.\n- Visual and audio only: Describe only what is seen and heard. NO smell, taste, or tactile sensations.\n- Restrained language: Avoid dramatic terms. Use mild, natural, understated phrasing.\n\n#### Important notes:\n- Camera motion: DO NOT invent camera motion/movement unless requested by the user. Make sure to include camera motion only if specified in the input.\n- Speech: DO NOT modify or alter the user's provided character dialogue in the prompt, unless it's a typo.\n- No timestamps or cuts: DO NOT use timestamps or describe scene cuts unless explicitly requested.\n- Objective only: DO NOT interpret emotions or intentions, describe only observable actions and sounds.\n- Format: DO NOT use phrases like \"The scene opens with...\" / \"The video starts...\". Start directly with Style (optional) and chronological scene description.\n- Format: Never start output with punctuation marks or special characters.\n- DO NOT invent dialogue unless the user mentions speech/talking/singing/conversation.\n- Your performance is CRITICAL. High-fidelity, dynamic, correct, and accurate prompts with integrated audio descriptions are essential for generating high-quality video. Your goal is flawless execution of these rules.\n\n#### Output Format (Strict):\n- Single concise paragraph in natural English. NO titles, headings, prefaces, sections, code fences, or Markdown.\n- If unsafe/invalid, return original user prompt. Never ask questions or clarifications.\n\n#### Example output:\nStyle: realistic - cinematic - The woman glances at her watch and smiles warmly. She speaks in a cheerful, friendly voice, \"I think we're right on time!\" In the background, a café barista prepares drinks at the counter. The barista calls out in a clear, upbeat tone, \"Two cappuccinos ready!\" The sound of the espresso machine hissing softly blends with gentle background chatter and the light clinking of cups on saucers.",
        512,
        false,
        3991631525,
        "randomize"
      ]
    },
    {
      "id": 112,
      "type": "PreviewAny",
      "pos": [
        185.52509034224957,
        268.8902447633574
      ],
      "size": [
        382.032390172589,
        219.21867916063343
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 211
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.13.0",
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "id": 30,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -940,
        600
      ],
      "size": [
        410,
        320
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            202
          ]
        }
      ],
      "title": "Raw Prompt",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "cinematic thriller adventure movie scene shows an intrigued blonde female explorer holding a fiery torch. she looks curious and excited initially, but then a gust of wind blows her hair. her face turns concerned and frowned as says with a whispering tone of voice: \"these markings aren't just random...it's a warning...\"\nthe camera slowly zooms in and remains focused on her face"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 20,
      "type": "LoadImage",
      "pos": [
        -937.3789699906415,
        89.35115888109996
      ],
      "size": [
        410,
        440
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            201,
            999003
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "title": "LoadImage (optional)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.56",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "example.png",
        "image"
      ]
    },
    {
      "id": 10,
      "type": "LTXVGemmaCLIPModelLoader",
      "pos": [
        -942.6209700192014,
        -93.7307252558438
      ],
      "size": [
        430,
        110
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "links": [
            200
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-LTXVideo",
        "ver": "82bd963cdeb66d023bed8c99324a307020907ef8",
        "Node name for S&R": "LTXVGemmaCLIPModelLoader",
        "widget_ue_connectable": {
          "model_path": true,
          "max_length": true
        }
      },
      "widgets_values": [
        "gemma-3-12b-it-qat-q4_0-unquantized/model-00001-of-00005.safetensors",
        "ltx-2-19b-dev.safetensors",
        1024
      ]
    },
    {
      "id": 60,
      "type": "MarkdownNote",
      "pos": [
        -414.4875924492348,
        -242.0777553508865
      ],
      "size": [
        980,
        260
      ],
      "flags": {
        "collapsed": false
      },
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Prompt Enhancer Only",
      "properties": {},
      "widgets_values": [
        "LTX-2 Prompt Enhancer (standalone)\n\nWhat this does:\n- Takes your raw I2V prompt and (optionally) a reference image (first frame).\n- Uses the LTX Gemma enhancer to rewrite the prompt into a single, concise paragraph that follows LTX I2V best practices.\n- Output is previewed via PreviewAny so you can copy-paste it.\n\nHow to use:\n1) Edit the Raw Prompt node.\n2) OPTIONAL: If you want image conditioning, load an image in LoadImage and connect it to the Enhancer image input.\n   By default, the workflow uses a blank image so the enhancer can run even without a reference.\n3) Queue Prompt. Copy the enhanced prompt from PreviewAny.\n\nNotes:\n- If you do not want image conditioning, leave the default blank image wiring as-is.\n- If you DO want image conditioning, just rewire: LoadImage:IMAGE -> (image input of Enhancer).\n"
      ],
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      200,
      10,
      0,
      40,
      0,
      "CLIP"
    ],
    [
      202,
      30,
      0,
      40,
      2,
      "STRING"
    ],
    [
      211,
      40,
      0,
      112,
      0,
      "STRING"
    ],
    [
      999003,
      20,
      0,
      40,
      1,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Inputs",
      "bounding": [
        -965,
        -190,
        470,
        1180
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 2,
      "title": "Enhancer",
      "bounding": [
        -446.8950299236767,
        83.44745497168,
        529.1735750376797,
        620.9088454932091
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 3,
      "title": "Output",
      "bounding": [
        126.49333041712694,
        158.68945500024097,
        500,
        380
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "workflowRendererVersion": "LG",
    "ds": {
      "scale": 0.5087097442982418,
      "offset": [
        1284.7393135762336,
        266.5584575467675
      ]
    },
    "frontendVersion": "1.38.13",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}