feat: Implement Aliyun TTS backend integration and API key management

This commit is contained in:
2026-02-03 15:44:25 +08:00
parent 5a5c93f075
commit abe0dc131b
19 changed files with 716 additions and 118 deletions

View File

@@ -111,3 +111,10 @@ class PasswordChange(BaseModel):
if self.new_password != self.confirm_password:
raise ValueError('Passwords do not match')
return self
class AliyunKeyUpdate(BaseModel):
api_key: str = Field(..., min_length=1, max_length=500)
class AliyunKeyVerifyResponse(BaseModel):
valid: bool
message: str