fix: 优化架构

This commit is contained in:
Daniel
2026-03-25 19:35:37 +08:00
parent 34786b37c7
commit 508c28ce31
184 changed files with 2199 additions and 241 deletions

View File

@@ -0,0 +1,18 @@
from __future__ import annotations
from pathlib import Path
from engine.config import AppConfig
from .base import BaseVideoGen
class LTXVideoGen(BaseVideoGen):
def __init__(self, cfg: AppConfig):
self.cfg = cfg
def generate(self, image_path: str, prompt: dict, output_path: str | Path) -> str:
# Reserved for future: direct image->video generation (LTX / diffusion video).
# Current project keeps clip generation via MoviePy for stability.
raise NotImplementedError("LTXVideoGen is not implemented yet")