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,21 @@
from __future__ import annotations
from pathlib import Path
from engine.config import AppConfig
from .base import BaseImageGen
class StabilityAdapter(BaseImageGen):
"""
Placeholder for Stability AI image generation.
Add implementation + dependencies when needed.
"""
def __init__(self, cfg: AppConfig):
self.cfg = cfg
def generate(self, prompt: dict[str, str], output_dir: str | Path) -> str:
raise NotImplementedError("StabilityAdapter not implemented yet")