更新TTS相关配置,调整语音ID格式,优化工作流参数,确保一致性和可读性。
This commit is contained in:
@@ -8,13 +8,13 @@ from pydantic import BaseModel, Field
|
||||
class TTSSynthesizeRequest(BaseModel):
|
||||
"""TTS synthesis request"""
|
||||
text: str = Field(..., description="Text to synthesize")
|
||||
voice_id: str = Field("zh-CN-YunjianNeural", description="Voice ID")
|
||||
voice_id: str = Field("[Chinese] zh-CN Yunjian", description="Voice ID")
|
||||
|
||||
class Config:
|
||||
json_schema_extra = {
|
||||
"example": {
|
||||
"text": "Hello, welcome to ReelForge!",
|
||||
"voice_id": "zh-CN-YunjianNeural"
|
||||
"voice_id": "[Chinese] zh-CN Yunjian"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user