typecast-python 0.5.2__py3-none-any.whl → 0.5.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
typecast/models/tts.py CHANGED
@@ -9,6 +9,7 @@ from pydantic import BaseModel, ConfigDict, Field, model_validator
9
9
  class TTSModel(str, Enum):
10
10
  SSFM_V21 = "ssfm-v21"
11
11
  SSFM_V30 = "ssfm-v30"
12
+ SSFM_V31 = "ssfm-v31"
12
13
 
13
14
 
14
15
  class LanguageCode(str, Enum):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: typecast-python
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: Official Typecast Python SDK - Convert text to lifelike speech using AI-powered voices
5
5
  Project-URL: Homepage, https://typecast.ai
6
6
  Project-URL: Documentation, https://typecast.ai/docs/overview
@@ -225,6 +225,7 @@ Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
225
225
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
226
226
  Requires-Python: <3.15,>=3.11
227
227
  Requires-Dist: aiohttp>=3.14.1
228
+ Requires-Dist: certifi>=2026.10.19
228
229
  Requires-Dist: multidict>=6.9.1
229
230
  Requires-Dist: pydantic>=2.0.0
230
231
  Requires-Dist: requests>=2.33.0
@@ -316,7 +317,7 @@ print(f"Saved: output.wav ({response.duration}s)")
316
317
 
317
318
  | Feature | Description |
318
319
  |---------|-------------|
319
- | **Multiple Models** | Support for `ssfm-v21` and `ssfm-v30` AI voice models |
320
+ | **Multiple Models** | `ssfm-v21`, `ssfm-v30`, and `ssfm-v31`; check voice support |
320
321
  | **37 Languages** | English, Korean, Japanese, Chinese, Spanish, and 32 more |
321
322
  | **Emotion Control** | Preset emotions or smart context-aware inference |
322
323
  | **Audio Customization** | Volume, pitch, tempo, and format (WAV/MP3) |
@@ -346,6 +347,10 @@ client = Typecast(
346
347
 
347
348
  ### Text to Speech
348
349
 
350
+ Choose `ssfm-v21`, `ssfm-v30`, or `ssfm-v31` through the request's model setting.
351
+ For SSFM 3.1, use `TTSModel.SSFM_V31` and a compatible voice from `GET /v3/voices?model=ssfm-v31`.
352
+ The voice's `models` entry lists its supported emotions.
353
+
349
354
  #### Basic Usage
350
355
 
351
356
  ```python
@@ -10,9 +10,9 @@ typecast/utils.py,sha256=XuNuX7gW8_CGKqZ-cv_tKlPVMPBluAYJBw2clwmjIMI,708
10
10
  typecast/models/__init__.py,sha256=JRvzNxlYFGF4T0Mze2jYLiTXRzRqFczs0hP7j3izrMM,1343
11
11
  typecast/models/error.py,sha256=XomIjx7jvlCjItqzJuCAT4mXC9jwTjxR8lLDUk6P8KA,152
12
12
  typecast/models/subscription.py,sha256=pUn8_GB_03Na0eKFCzgsTkOEs5WTFu-lAdv3NYYxX94,1049
13
- typecast/models/tts.py,sha256=xGrsgjSbyXjcZHATGWddDbcS4To4M6kUeKh2bjmTewo,17278
13
+ typecast/models/tts.py,sha256=r4kI-qXjM7IEwGA1N-wYSAhHOykdN2Td_LYG2-KuWUo,17304
14
14
  typecast/models/voices.py,sha256=L3MmlVz468_iv8t25TOAWlpQrcB9L8Wh9LGfA7sXcnc,3531
15
- typecast_python-0.5.2.dist-info/METADATA,sha256=RnzV7Jy8OFqGJ-RrUPpPSOFgfgURC9ppn__57i5pfgc,26080
16
- typecast_python-0.5.2.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
17
- typecast_python-0.5.2.dist-info/licenses/LICENSE,sha256=HvtJ-S89uUkuYmt-OvVk4MRxmzwtbn84__qJtSrGU2Q,11348
18
- typecast_python-0.5.2.dist-info/RECORD,,
15
+ typecast_python-0.5.3.dist-info/METADATA,sha256=mnaxG1Ger_rCLlTqBQY-OprcF3LCaSVY2fYo8zGCMAM,26360
16
+ typecast_python-0.5.3.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
17
+ typecast_python-0.5.3.dist-info/licenses/LICENSE,sha256=HvtJ-S89uUkuYmt-OvVk4MRxmzwtbn84__qJtSrGU2Q,11348
18
+ typecast_python-0.5.3.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.32.4
2
+ Generator: hatchling 1.33.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any