fix: 优化架构
This commit is contained in:
18
engine/adapters/video/ltx_adapter.py
Normal file
18
engine/adapters/video/ltx_adapter.py
Normal 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")
|
||||
|
||||
Reference in New Issue
Block a user