feat: ltx image input + audio subsection stubs (full impl in B/C)

This commit is contained in:
Jason Hoku
2026-04-25 18:05:30 -07:00
parent aa94e6c2c2
commit 35cd8b8260
@@ -3978,6 +3978,44 @@ function renderLTXStage(node, stageNum) {
return div;
}
function renderLTXImageInput(node) {
const div = document.createElement("div");
div.className = "cb-subsection";
const titleDiv = document.createElement("div");
titleDiv.className = "cb-subsection-title";
titleDiv.textContent = "── Image-to-Video Input ──";
div.appendChild(titleDiv);
const note = document.createElement("div");
note.style.cssText = "font-size: 10px; color: #666; padding: 4px 8px;";
note.textContent = "(Phase A: text-to-video only. Image input enabled in Phase B.)";
div.appendChild(note);
return div;
}
function renderLTXAudio(node) {
const div = document.createElement("div");
div.className = "cb-subsection";
const titleDiv = document.createElement("div");
titleDiv.className = "cb-subsection-title";
titleDiv.textContent = "── Audio ──";
div.appendChild(titleDiv);
const note = document.createElement("div");
note.style.cssText = "font-size: 10px; color: #666; padding: 4px 8px;";
const strong = document.createElement("strong");
strong.textContent = "On";
note.append("Audio: ", strong, " (Phase A: always-on. Toggle added in Phase C.)");
div.appendChild(note);
return div;
}
function renderLTXSection(node) {
if (node.state.model_type !== "ltx_video") return null;