# LTX-2.3 Video install manifest — consumable by apply_manifest (src/services/manifest.ts).
# Ground truth: LTX-2-3-MODELS-NODES_INSTALL-V2.bat
#   (cross-checked: LTX-2-3-ULTRA-COMFYUI-MANAGER_AUTO_INSTALL-V2.bat, LTX-2-3-AUTO_INSTALL-RUNPOD-V2.sh).
# Mirror base (all weights below): https://huggingface.co/Aitrepreneur/FLX/resolve/main
# Official weights: https://huggingface.co/Lightricks (LTX-Video / LTX-2)
#
# UNet ships as a GGUF quant of the 22B dev model. The upstream installer prompts for one of
# three quants by VRAM; all three are listed here so the pack is self-contained — keep only the
# one that matches your GPU (Q4_K_S <12GB, Q5_K_S 12-16GB, Q8_0 24GB+) or download all.

pip: []

custom_nodes:
  - https://github.com/city96/ComfyUI-GGUF
  - https://github.com/rgthree/rgthree-comfy
  - https://github.com/yolain/ComfyUI-Easy-Use
  - https://github.com/kijai/ComfyUI-KJNodes
  - https://github.com/ClownsharkBatwing/RES4LYF
  - https://github.com/Lightricks/ComfyUI-LTXVideo
  - https://github.com/pythongosssss/ComfyUI-Custom-Scripts
  - https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite
  - https://github.com/kijai/ComfyUI-WanVideoWrapper
  - https://github.com/ltdrdata/ComfyUI-Impact-Pack
  - https://github.com/TTPlanetPig/Comfyui_TTP_Toolset
  - https://github.com/evanspearman/ComfyMath
  - https://github.com/WhatDreamsCost/WhatDreamsCost-ComfyUI

models:
  # --- Text projection + Gemma text encoder ---
  - url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/ltx-2.3_text_projection_bf16.safetensors?download=true
    local_path: text_encoders/ltx-2.3_text_projection_bf16.safetensors
  - url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/gemma_3_12B_it_fp4_mixed.safetensors?download=true
    local_path: text_encoders/gemma_3_12B_it_fp4_mixed.safetensors

  # --- VAE (separate video + audio) ---
  - url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/LTX23_audio_vae_bf16.safetensors?download=true
    local_path: vae/LTX23_audio_vae_bf16.safetensors
  - url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/LTX23_video_vae_bf16.safetensors?download=true
    local_path: vae/LTX23_video_vae_bf16.safetensors

  # --- UNet (GGUF, 22B dev) — pick the quant for your VRAM ---
  - url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/ltx-2.3-22b-dev-Q4_K_S.gguf?download=true
    local_path: unet/ltx-2.3-22b-dev-Q4_K_S.gguf
  - url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/ltx-2.3-22b-dev-Q5_K_S.gguf?download=true
    local_path: unet/ltx-2.3-22b-dev-Q5_K_S.gguf
  - url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/ltx-2.3-22b-dev-Q8_0.gguf?download=true
    local_path: unet/ltx-2.3-22b-dev-Q8_0.gguf

  # --- Spatial upscaler ---
  - url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/ltx-2.3-spatial-upscaler-x2-1.1.safetensors?download=true
    local_path: latent_upscale_models/ltx-2.3-spatial-upscaler-x2-1.1.safetensors

  # --- LoRAs (distilled speed LoRA + IC detailer) ---
  - url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/ltx-2.3-22b-distilled-lora-384-1.1.safetensors?download=true
    local_path: loras/ltx-2.3-22b-distilled-lora-384-1.1.safetensors
  - url: https://huggingface.co/Aitrepreneur/FLX/resolve/main/ltx-2-19b-ic-lora-detailer.safetensors?download=true
    local_path: loras/ltx-2-19b-ic-lora-detailer.safetensors
