Skip to content

Commit

Permalink
Expose Prosody PaginatedResponse ModelEntity (fishaudio#9)
Browse files Browse the repository at this point in the history
- Expose ModelEntity class to users of the SDK to facilitate
  processing info about voice models
- Expose PaginatedResponse to facilitate processing of return of
  list_models API endpoint
- Expose Prosody to allow control of volume gain and speed multiplier
  on TTS jobs

Signed-off-by: Ahmed Mansour <[email protected]>
  • Loading branch information
sourman committed Jan 13, 2025
1 parent 6f0e8f4 commit 059bed5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/fish_audio_sdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .apis import Session
from .exceptions import HttpCodeErr
from .schemas import ASRRequest, TTSRequest, ReferenceAudio
from .schemas import ASRRequest, TTSRequest, ReferenceAudio, Prosody, PaginatedResponse, ModelEntity, APICreditEntity, StartEvent, TextEvent, CloseEvent
from .websocket import WebSocketSession, AsyncWebSocketSession

__all__ = [
Expand All @@ -11,4 +11,11 @@
"ASRRequest",
"WebSocketSession",
"AsyncWebSocketSession",
"Prosody",
"PaginatedResponse",
"ModelEntity",
"APICreditEntity",
"StartEvent",
"TextEvent",
"CloseEvent",
]

0 comments on commit 059bed5

Please sign in to comment.