Files
ViGent2/backend/app/modules/ref_audios/schemas.py
Kevin Wong e226224119 更新
2026-02-08 19:54:11 +08:00

20 lines
321 B
Python

from pydantic import BaseModel
from typing import List
class RefAudioResponse(BaseModel):
id: str
name: str
path: str
ref_text: str
duration_sec: float
created_at: int
class RefAudioListResponse(BaseModel):
items: List[RefAudioResponse]
class RenameRequest(BaseModel):
new_name: str