{
 "666": {
  "inputs": {
   "image": "660fdce25fe105c5982159389b5fdf67c12d941d49be78defcf77fd1560ca507.png"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Load Image"
  }
 },
 "670": {
  "inputs": {
   "regex_pattern": "(?s)(?<=\\n---\\n)([\\s\\S]*)$",
   "mode": "First Group",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "673",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "671": {
  "inputs": {
   "source": [
    "670",
    0
   ]
  },
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Preview as Text"
  }
 },
 "672": {
  "inputs": {
   "source": [
    "674",
    0
   ]
  },
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Preview as Text"
  }
 },
 "674": {
  "inputs": {
   "regex_pattern": "(?sm)^(.*?)^---$(.*)",
   "mode": "First Group",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "673",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "752": {
  "inputs": {
   "source": [
    "673",
    0
   ]
  },
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Preview as Text"
  }
 },
 "753": {
  "inputs": {
   "prompt": "Continuous audio-reactive video.",
   "model": "gemini-3-1-flash-lite",
   "seed": 1013654870151104,
   "system_prompt": "You are an expert prompt engineer specializing in LTX-2.3 video generation prompts, especially audio-reactive LoRA workflows.\n\nYour task is to generate cinematic, continuous, high-motion video prompts using the required trigger phrase:\n\ncontinuous audio-reactive video\n\nAlways include this exact phrase near the beginning of every prompt.\n\nThe user will provide, imply, or request a visual concept, music genre, or motion style. Transform their idea into a polished prompt that follows this structure:\n\nA continuous audio-reactive video that transitions smoothly from [Phase 1: Initial Subject & Action] to [Phase 2: First Evolution & Motion], then warps/morphs into [Phase 3: Second Evolution & Morphing] before warping/morphing into [Phase 4: Final Chaotic/Complex State], with every [Type of Visual Motion/Deformation] perfectly synchronized to the [Musical Element 1], [Musical Element 2], and [Musical Element 3] of the [Music Genre & Vibe] track.\n\nOutput rules:\n- Always answer with only one finished prompt.\n- Do not include explanations, headings, labels, notes, negative prompts, recommended settings, batch guidance, or extra sections.\n- Do not ask clarifying questions.\n- Make a reasonable creative choice when the user gives limited detail.\n- Always include 2 to 4 distinct phases.\n- Prefer 4 phases for complex, chaotic, surreal, or high-energy transformations.\n- Prefer 2 or 3 phases for elegant, minimal, stable, or slower concepts.\n- Make the video feel continuous, not like separate scenes.\n- Use smooth transition language such as \u201ctransitions smoothly,\u201d \u201cmelts into,\u201d \u201cwarps into,\u201d \u201cmorphs into,\u201d \u201cfractures into,\u201d \u201cblooms into,\u201d or \u201cfolds into.\u201d\n- Emphasize visible motion, rhythmic deformation, fluid morphing, and high-motion transformation.\n- Avoid static composition language unless paired with motion.\n- Avoid vague phrases like \u201ccool visuals,\u201d \u201cnice effects,\u201d or \u201cbeautiful animation.\u201d\n- Do not overcomplicate the scene with too many unrelated subjects.\n- Keep the subject visually trackable as it evolves.\n- Synchronize visual motion to musical features such as bass hits, kick drums, snares, hi-hats, synth pulses, vocal chops, risers, drops, cymbal crashes, arpeggios, sub-bass waves, or tempo shifts.\n- For image-to-video requests, preserve the starting image\u2019s core subject, composition, color palette, and camera angle while adding audio-reactive motion and morphing.\n\nStyle:\nUse vivid, cinematic, motion-heavy language. Prioritize fluid morphing, rhythmic deformation, beat-synced escalation, and seamless phase-to-phase transformation.\n\nFinal answer format:\nReturn only the completed prompt as plain text.",
   "images": [
    "666",
    0
   ],
   "audio": [
    "667:18",
    0
   ]
  },
  "class_type": "GeminiNode",
  "_meta": {
   "title": "Google Gemini"
  }
 },
 "754": {
  "inputs": {
   "source": [
    "753",
    0
   ]
  },
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Preview as Text"
  }
 },
 "667:104": {
  "inputs": {
   "unet_name": "acestep_v1.5_xl_turbo_bf16.safetensors",
   "weight_dtype": "default"
  },
  "class_type": "UNETLoader",
  "_meta": {
   "title": "Load Diffusion Model"
  }
 },
 "667:106": {
  "inputs": {
   "vae_name": "ace_1.5_vae.safetensors"
  },
  "class_type": "VAELoader",
  "_meta": {
   "title": "Load VAE"
  }
 },
 "667:98": {
  "inputs": {
   "seconds": 60,
   "batch_size": 1
  },
  "class_type": "EmptyAceStep1.5LatentAudio",
  "_meta": {
   "title": "Empty Ace Step 1.5 Latent Audio"
  }
 },
 "667:47": {
  "inputs": {
   "conditioning": [
    "667:94",
    0
   ]
  },
  "class_type": "ConditioningZeroOut",
  "_meta": {
   "title": "Conditioning Zero Out"
  }
 },
 "667:3": {
  "inputs": {
   "steps": 8,
   "cfg": 1,
   "sampler_name": "euler",
   "scheduler": "simple",
   "denoise": 1,
   "model": [
    "667:78",
    0
   ],
   "seed": [
    "667:109",
    0
   ],
   "positive": [
    "667:94",
    0
   ],
   "negative": [
    "667:47",
    0
   ],
   "latent_image": [
    "667:98",
    0
   ]
  },
  "class_type": "KSampler",
  "_meta": {
   "title": "KSampler"
  }
 },
 "667:78": {
  "inputs": {
   "shift": 3,
   "sampling": "flow",
   "model": [
    "667:104",
    0
   ]
  },
  "class_type": "ModelSamplingAuraFlow",
  "_meta": {
   "title": "ModelSamplingAuraFlow"
  }
 },
 "667:18": {
  "inputs": {
   "samples": [
    "667:3",
    0
   ],
   "vae": [
    "667:106",
    0
   ]
  },
  "class_type": "VAEDecodeAudio",
  "_meta": {
   "title": "VAE Decode Audio"
  }
 },
 "667:105": {
  "inputs": {
   "clip_name1": "qwen_0.6b_ace15.safetensors",
   "clip_name2": "qwen_4b_ace15.safetensors",
   "type": "ace",
   "device": "default"
  },
  "class_type": "DualCLIPLoader",
  "_meta": {
   "title": "Load CLIP (Dual)"
  }
 },
 "667:94": {
  "inputs": {
   "bpm": 95,
   "duration": 60,
   "timesignature": "4",
   "language": "en",
   "keyscale": "E minor",
   "generate_audio_codes": true,
   "cfg_scale": 2,
   "temperature": 0.85,
   "top_p": 0.9,
   "top_k": 0,
   "min_p": 0,
   "clip": [
    "667:105",
    0
   ],
   "tags": [
    "672",
    0
   ],
   "lyrics": [
    "671",
    0
   ],
   "seed": [
    "667:109",
    0
   ]
  },
  "class_type": "TextEncodeAceStepAudio1.5",
  "_meta": {
   "title": "TextEncodeAceStepAudio1.5"
  }
 },
 "667:109": {
  "inputs": {
   "value": 0
  },
  "class_type": "PrimitiveInt",
  "_meta": {
   "title": "Int (Seed)"
  }
 },
 "668": {
  "inputs": {
   "filename_prefix": "audio/ACE_Step1.5_xl_turbo",
   "quality": "320k",
   "audio": [
    "667:18",
    0
   ]
  },
  "class_type": "SaveAudioMP3",
  "_meta": {
   "title": "Save Audio (MP3) (DEPRECATED)"
  }
 },
 "673": {
  "inputs": {
   "prompt": "medieval ambient",
   "model": "gemini-3-1-flash-lite",
   "seed": 65482163754128,
   "system_prompt": "**Role:** You are a professional Music Architect for **ACE-Step 1.5**. \n\n**Task:** Generate a music creation plan.\n\n**Strict Output Constraint (IMPORTANT):**\n1. Return the output as **RAW PLAIN TEXT** only.\n2. DO NOT use Markdown code blocks (no backticks ```).\n3. DO NOT use any headers, labels, or bold text.\n4. Use ONLY the separator `---` to divide the two parts.\n5. Part 1: Comma-separated style keywords.\n6. Part 2: Structured lyrics with [Tags].\n\n**My Topic/Requirement:**\n[USER INPUT]",
   "images": [
    "666",
    0
   ]
  },
  "class_type": "GeminiNode",
  "_meta": {
   "title": "Google Gemini"
  }
 },
 "792:285": {
  "inputs": {
   "noise_seed": 42
  },
  "class_type": "RandomNoise",
  "_meta": {
   "title": "RandomNoise"
  }
 },
 "792:286": {
  "inputs": {
   "noise_seed": 784235873879537
  },
  "class_type": "RandomNoise",
  "_meta": {
   "title": "RandomNoise"
  }
 },
 "792:287": {
  "inputs": {
   "video_latent": [
    "792:296",
    0
   ],
   "audio_latent": [
    "792:309",
    1
   ]
  },
  "class_type": "LTXVConcatAVLatent",
  "_meta": {
   "title": "Concat AV Latent"
  }
 },
 "792:288": {
  "inputs": {
   "sampler_name": "euler_cfg_pp"
  },
  "class_type": "KSamplerSelect",
  "_meta": {
   "title": "KSamplerSelect"
  }
 },
 "792:289": {
  "inputs": {
   "sigmas": "0.85, 0.7250, 0.4219, 0.0"
  },
  "class_type": "ManualSigmas",
  "_meta": {
   "title": "ManualSigmas"
  }
 },
 "792:290": {
  "inputs": {
   "cfg": 1,
   "model": [
    "792:791",
    0
   ],
   "positive": [
    "792:292",
    0
   ],
   "negative": [
    "792:292",
    1
   ]
  },
  "class_type": "CFGGuider",
  "_meta": {
   "title": "CFG Guider"
  }
 },
 "792:291": {
  "inputs": {
   "noise": [
    "792:286",
    0
   ],
   "guider": [
    "792:315",
    0
   ],
   "sampler": [
    "792:298",
    0
   ],
   "sigmas": [
    "792:308",
    0
   ],
   "latent_image": [
    "792:326",
    0
   ]
  },
  "class_type": "SamplerCustomAdvanced",
  "_meta": {
   "title": "SamplerCustomAdvanced"
  }
 },
 "792:292": {
  "inputs": {
   "positive": [
    "792:307",
    0
   ],
   "negative": [
    "792:307",
    1
   ],
   "latent": [
    "792:309",
    0
   ]
  },
  "class_type": "LTXVCropGuides",
  "_meta": {
   "title": "LTXVCropGuides"
  }
 },
 "792:295": {
  "inputs": {
   "samples": [
    "792:309",
    0
   ],
   "upscale_model": [
    "792:786",
    0
   ],
   "vae": [
    "792:788",
    2
   ]
  },
  "class_type": "LTXVLatentUpsampler",
  "_meta": {
   "title": "LTXVLatentUpsampler"
  }
 },
 "792:296": {
  "inputs": {
   "strength": 1,
   "vae": [
    "792:788",
    2
   ],
   "image": [
    "792:334",
    0
   ],
   "latent": [
    "792:295",
    0
   ],
   "bypass": [
    "792:305",
    0
   ]
  },
  "class_type": "LTXVImgToVideoInplace",
  "_meta": {
   "title": "LTXVImgToVideoInplace"
  }
 },
 "792:298": {
  "inputs": {
   "sampler_name": "euler_ancestral_cfg_pp"
  },
  "class_type": "KSamplerSelect",
  "_meta": {
   "title": "KSamplerSelect"
  }
 },
 "792:303": {
  "inputs": {
   "samples": [
    "792:311",
    1
   ],
   "audio_vae": [
    "792:785",
    0
   ]
  },
  "class_type": "LTXVAudioVAEDecode",
  "_meta": {
   "title": "LTXV Audio VAE Decode"
  }
 },
 "792:306": {
  "inputs": {
   "text": [
    "792:319",
    0
   ],
   "clip": [
    "792:789",
    0
   ]
  },
  "class_type": "CLIPTextEncode",
  "_meta": {
   "title": "CLIP Text Encode (Prompt)"
  }
 },
 "792:307": {
  "inputs": {
   "positive": [
    "792:306",
    0
   ],
   "negative": [
    "792:314",
    0
   ],
   "frame_rate": [
    "792:304",
    0
   ]
  },
  "class_type": "LTXVConditioning",
  "_meta": {
   "title": "LTXVConditioning"
  }
 },
 "792:308": {
  "inputs": {
   "sigmas": "1.0, 0.99375, 0.9875, 0.98125, 0.975, 0.909375, 0.725, 0.421875, 0.0"
  },
  "class_type": "ManualSigmas",
  "_meta": {
   "title": "ManualSigmas"
  }
 },
 "792:309": {
  "inputs": {
   "av_latent": [
    "792:291",
    0
   ]
  },
  "class_type": "LTXVSeparateAVLatent",
  "_meta": {
   "title": "Separate AV Latent"
  }
 },
 "792:310": {
  "inputs": {
   "noise": [
    "792:285",
    0
   ],
   "guider": [
    "792:290",
    0
   ],
   "sampler": [
    "792:288",
    0
   ],
   "sigmas": [
    "792:289",
    0
   ],
   "latent_image": [
    "792:287",
    0
   ]
  },
  "class_type": "SamplerCustomAdvanced",
  "_meta": {
   "title": "SamplerCustomAdvanced"
  }
 },
 "792:311": {
  "inputs": {
   "av_latent": [
    "792:310",
    0
   ]
  },
  "class_type": "LTXVSeparateAVLatent",
  "_meta": {
   "title": "Separate AV Latent"
  }
 },
 "792:314": {
  "inputs": {
   "text": "pc game, console game, video game, cartoon, childish, ugly",
   "clip": [
    "792:789",
    0
   ]
  },
  "class_type": "CLIPTextEncode",
  "_meta": {
   "title": "CLIP Text Encode (Prompt)"
  }
 },
 "792:316": {
  "inputs": {
   "tile_size": 768,
   "overlap": 64,
   "temporal_size": 4096,
   "temporal_overlap": 4,
   "samples": [
    "792:311",
    0
   ],
   "vae": [
    "792:788",
    2
   ]
  },
  "class_type": "VAEDecodeTiled",
  "_meta": {
   "title": "VAE Decode (Tiled)"
  }
 },
 "792:325": {
  "inputs": {
   "strength": 0.7,
   "vae": [
    "792:788",
    2
   ],
   "image": [
    "792:334",
    0
   ],
   "latent": [
    "792:302",
    0
   ],
   "bypass": [
    "792:305",
    0
   ]
  },
  "class_type": "LTXVImgToVideoInplace",
  "_meta": {
   "title": "LTXVImgToVideoInplace"
  }
 },
 "792:330": {
  "inputs": {
   "value": 1280
  },
  "class_type": "PrimitiveInt",
  "_meta": {
   "title": "Width"
  }
 },
 "792:333": {
  "inputs": {
   "value": 0,
   "width": [
    "792:330",
    0
   ],
   "height": [
    "792:324",
    0
   ]
  },
  "class_type": "SolidMask",
  "_meta": {
   "title": "Create Solid Mask"
  }
 },
 "792:305": {
  "inputs": {
   "value": false
  },
  "class_type": "PrimitiveBoolean",
  "_meta": {
   "title": "Switch to Text to Video?"
  }
 },
 "792:294": {
  "inputs": {
   "longer_edge": 1536,
   "images": [
    "792:297",
    0
   ]
  },
  "class_type": "ResizeImagesByLongerEdge",
  "_meta": {
   "title": "Resize Images by Longer Edge (DEPRECATED)"
  }
 },
 "792:334": {
  "inputs": {
   "img_compression": 18,
   "image": [
    "792:294",
    0
   ]
  },
  "class_type": "LTXVPreprocess",
  "_meta": {
   "title": "LTXV Preprocess"
  }
 },
 "792:301": {
  "inputs": {
   "expression": "a/2",
   "values.a": [
    "792:324",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression"
  }
 },
 "792:299": {
  "inputs": {
   "expression": "a/2",
   "values.a": [
    "792:330",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression"
  }
 },
 "792:304": {
  "inputs": {
   "expression": "a",
   "values.a": [
    "792:323",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression"
  }
 },
 "792:312": {
  "inputs": {
   "bit_depth": "auto",
   "color_space": "sRGB",
   "codec": "none",
   "images": [
    "792:316",
    0
   ],
   "fps": [
    "792:304",
    0
   ],
   "audio": [
    "792:303",
    0
   ]
  },
  "class_type": "CreateVideo",
  "_meta": {
   "title": "Create Video"
  }
 },
 "792:331": {
  "inputs": {
   "value": 9
  },
  "class_type": "PrimitiveFloat",
  "_meta": {
   "title": "Duration"
  }
 },
 "792:323": {
  "inputs": {
   "value": 24
  },
  "class_type": "PrimitiveInt",
  "_meta": {
   "title": "Frame Rate"
  }
 },
 "792:302": {
  "inputs": {
   "batch_size": 1,
   "width": [
    "792:299",
    1
   ],
   "height": [
    "792:301",
    1
   ],
   "length": [
    "792:329",
    1
   ]
  },
  "class_type": "EmptyLTXVLatentVideo",
  "_meta": {
   "title": "Empty LTXV Latent Video"
  }
 },
 "792:329": {
  "inputs": {
   "expression": "a * b + 1",
   "values.a": [
    "792:331",
    0
   ],
   "values.b": [
    "792:323",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression"
  }
 },
 "792:324": {
  "inputs": {
   "value": 720
  },
  "class_type": "PrimitiveInt",
  "_meta": {
   "title": "Height"
  }
 },
 "792:332": {
  "inputs": {
   "start_index": 0,
   "audio": [
    "667:18",
    0
   ],
   "duration": [
    "792:331",
    0
   ]
  },
  "class_type": "TrimAudioDuration",
  "_meta": {
   "title": "Trim Audio Duration"
  }
 },
 "792:328": {
  "inputs": {
   "audio": [
    "792:332",
    0
   ],
   "audio_vae": [
    "792:785",
    0
   ]
  },
  "class_type": "LTXVAudioVAEEncode",
  "_meta": {
   "title": "LTXV Audio VAE Encode"
  }
 },
 "792:326": {
  "inputs": {
   "video_latent": [
    "792:325",
    0
   ],
   "audio_latent": [
    "792:327",
    0
   ]
  },
  "class_type": "LTXVConcatAVLatent",
  "_meta": {
   "title": "Concat AV Latent"
  }
 },
 "792:327": {
  "inputs": {
   "samples": [
    "792:328",
    0
   ],
   "mask": [
    "792:333",
    0
   ]
  },
  "class_type": "SetLatentNoiseMask",
  "_meta": {
   "title": "Set Latent Noise Mask"
  }
 },
 "792:319": {
  "inputs": {
   "value": [
    "754",
    0
   ]
  },
  "class_type": "PrimitiveStringMultiline",
  "_meta": {
   "title": "Prompt"
  }
 },
 "792:297": {
  "inputs": {
   "resize_type": "scale dimensions",
   "scale_method": "lanczos",
   "input": [
    "666",
    0
   ],
   "resize_type.crop": "center",
   "resize_type.width": [
    "792:330",
    0
   ],
   "resize_type.height": [
    "792:324",
    0
   ]
  },
  "class_type": "ResizeImageMaskNode",
  "_meta": {
   "title": "Resize Image/Mask"
  }
 },
 "792:315": {
  "inputs": {
   "cfg": 1,
   "model": [
    "792:791",
    0
   ],
   "positive": [
    "792:307",
    0
   ],
   "negative": [
    "792:307",
    1
   ]
  },
  "class_type": "CFGGuider",
  "_meta": {
   "title": "CFG Guider"
  }
 },
 "792:791": {
  "inputs": {
   "lora_name": "LTX2.3_AudioReactiveV1.safetensors",
   "strength_model": 1,
   "model": [
    "792:787",
    0
   ]
  },
  "class_type": "LoraLoaderModelOnly",
  "_meta": {
   "title": "Load LoRA"
  }
 },
 "792:785": {
  "inputs": {
   "ckpt_name": "ltx-2.3-22b-dev-fp8.safetensors"
  },
  "class_type": "LTXVAudioVAELoader",
  "_meta": {
   "title": "Load LTXV Audio VAE"
  }
 },
 "792:789": {
  "inputs": {
   "text_encoder": "gemma_3_12B_it_fp4_mixed.safetensors",
   "ckpt_name": "ltx-2.3-22b-dev-fp8.safetensors",
   "device": "default"
  },
  "class_type": "LTXAVTextEncoderLoader",
  "_meta": {
   "title": "Load LTXV Audio Text Encoder"
  }
 },
 "792:786": {
  "inputs": {
   "model_name": "ltx-2.3-spatial-upscaler-x2-1.1.safetensors"
  },
  "class_type": "LatentUpscaleModelLoader",
  "_meta": {
   "title": "Load Latent Upscale Model"
  }
 },
 "792:787": {
  "inputs": {
   "lora_name": "ltx-2.3-22b-distilled-lora-384.safetensors",
   "strength_model": 0.5,
   "model": [
    "792:788",
    0
   ]
  },
  "class_type": "LoraLoaderModelOnly",
  "_meta": {
   "title": "Load LoRA"
  }
 },
 "792:788": {
  "inputs": {
   "ckpt_name": "ltx-2.3-22b-dev-fp8.safetensors"
  },
  "class_type": "CheckpointLoaderSimple",
  "_meta": {
   "title": "Load Checkpoint"
  }
 },
 "683": {
  "inputs": {
   "filename_prefix": "video/ComfyUI",
   "format": "auto",
   "video": [
    "792:312",
    0
   ],
   "format.codec": "auto"
  },
  "class_type": "SaveVideo",
  "_meta": {
   "title": "Save Video"
  }
 }
}