Files
voice.sori.studio/backend/app/tts/base.py
zenn 7101fdcd65 Initial commit: Korean voice-cloning TTS prototype
FastAPI backend, web UI, CosyVoice3/F5-TTS setup scripts, and handoff docs for GPU PC continuation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 13:36:37 +09:00

19 lines
352 B
Python

from __future__ import annotations
from abc import ABC, abstractmethod
from pathlib import Path
class TTSEngine(ABC):
name: str
@abstractmethod
def synthesize(
self,
text: str,
ref_audio: Path,
ref_text: str,
out_path: Path,
) -> Path:
"""단일 텍스트 청크를 WAV로 생성."""