22 lines
507 B
Python
22 lines
507 B
Python
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")
|
|
|