add voice in openai api (not tested)

This commit is contained in:
bladeclara42
2025-06-30 09:57:40 +07:00
parent fa567efd3a
commit 64dc8d2517
5 changed files with 52 additions and 2 deletions

7
app/services/voice.py Normal file
View File

@@ -0,0 +1,7 @@
from app.core.openai_voice_client import generate_voice
async def generate_voice(text: str) -> str:
voice = await generate_voice(text)
return voice