typecast-python 0.4.1__py3-none-any.whl → 0.5.1__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 +3 -3
- {typecast_python-0.4.1.dist-info → typecast_python-0.5.1.dist-info}/METADATA +5 -6
- {typecast_python-0.4.1.dist-info → typecast_python-0.5.1.dist-info}/RECORD +5 -5
- {typecast_python-0.4.1.dist-info → typecast_python-0.5.1.dist-info}/WHEEL +0 -0
- {typecast_python-0.4.1.dist-info → typecast_python-0.5.1.dist-info}/licenses/LICENSE +0 -0
typecast/models/tts.py
CHANGED
|
@@ -180,7 +180,7 @@ class TTSRequest(BaseModel):
|
|
|
180
180
|
)
|
|
181
181
|
prompt: Optional[TTSPrompt] = None
|
|
182
182
|
output: Optional[Output] = None
|
|
183
|
-
seed: Optional[int] = None
|
|
183
|
+
seed: Optional[int] = Field(default=None, exclude=True, deprecated="Ignored; seed is no longer supported")
|
|
184
184
|
|
|
185
185
|
|
|
186
186
|
class TTSResponse(BaseModel):
|
|
@@ -241,7 +241,7 @@ class TTSRequestStream(BaseModel):
|
|
|
241
241
|
)
|
|
242
242
|
prompt: Optional[TTSPrompt] = None
|
|
243
243
|
output: Optional[OutputStream] = None
|
|
244
|
-
seed: Optional[int] = None
|
|
244
|
+
seed: Optional[int] = Field(default=None, exclude=True, deprecated="Ignored; seed is no longer supported")
|
|
245
245
|
|
|
246
246
|
|
|
247
247
|
class AlignmentSegmentWord(BaseModel):
|
|
@@ -296,7 +296,7 @@ class TTSRequestWithTimestamps(BaseModel):
|
|
|
296
296
|
)
|
|
297
297
|
prompt: Optional[TTSPrompt] = None
|
|
298
298
|
output: Optional[Output] = None
|
|
299
|
-
seed: Optional[int] = None
|
|
299
|
+
seed: Optional[int] = Field(default=None, exclude=True, deprecated="Ignored; seed is no longer supported")
|
|
300
300
|
|
|
301
301
|
|
|
302
302
|
# --- timestamp captioning helpers (module-level, shared by SRT/VTT) ---
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: typecast-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.1
|
|
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
|
|
@@ -217,18 +217,18 @@ Classifier: Intended Audience :: Developers
|
|
|
217
217
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
218
218
|
Classifier: Operating System :: OS Independent
|
|
219
219
|
Classifier: Programming Language :: Python :: 3
|
|
220
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
221
220
|
Classifier: Programming Language :: Python :: 3.11
|
|
222
221
|
Classifier: Programming Language :: Python :: 3.12
|
|
223
222
|
Classifier: Programming Language :: Python :: 3.13
|
|
224
223
|
Classifier: Programming Language :: Python :: 3.14
|
|
225
224
|
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
|
|
226
225
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
227
|
-
Requires-Python: <3.15,>=3.
|
|
226
|
+
Requires-Python: <3.15,>=3.11
|
|
228
227
|
Requires-Dist: aiohttp>=3.14.1
|
|
229
228
|
Requires-Dist: pydantic>=2.0.0
|
|
230
229
|
Requires-Dist: requests>=2.33.0
|
|
231
230
|
Requires-Dist: typing-extensions>=4.0.0
|
|
231
|
+
Requires-Dist: urllib3>=2.8.0
|
|
232
232
|
Provides-Extra: dev
|
|
233
233
|
Requires-Dist: aioresponses>=0.7.6; extra == 'dev'
|
|
234
234
|
Requires-Dist: black<27.0.0,>=26.3.1; extra == 'dev'
|
|
@@ -253,7 +253,7 @@ Convert text to lifelike speech using AI-powered voices
|
|
|
253
253
|
[](https://pypi.org/project/typecast-python/)
|
|
254
254
|
[](../docs/coverage-policy.md)
|
|
255
255
|
[](LICENSE)
|
|
256
|
-
[](https://www.python.org/)
|
|
257
257
|
|
|
258
258
|
[Documentation](https://typecast.ai/docs) | [API Reference](https://typecast.ai/docs/api-reference) | [Get API Key](https://typecast.ai/developers/api/api-key)
|
|
259
259
|
|
|
@@ -281,7 +281,7 @@ Convert text to lifelike speech using AI-powered voices
|
|
|
281
281
|
|
|
282
282
|
## Installation
|
|
283
283
|
|
|
284
|
-
Python 3.
|
|
284
|
+
Python 3.11 through 3.14 is required. Python 3.8, 3.9, and 3.10 are no longer supported because they are end-of-life. The last compatible published releases are 0.3.15 for Python 3.8/3.9 and 0.4.1 for Python 3.10. Upgrade Python and recreate your virtual environment before installing 0.5.1. Temporarily pinning an older release does not restore security support for an EOL runtime.
|
|
285
285
|
|
|
286
286
|
```bash
|
|
287
287
|
pip install typecast-python
|
|
@@ -373,7 +373,6 @@ response = client.text_to_speech(TTSRequest(
|
|
|
373
373
|
audio_tempo=1.2, # 0.5x to 2.0x
|
|
374
374
|
audio_format="mp3" # "wav" or "mp3"
|
|
375
375
|
),
|
|
376
|
-
seed=42 # for reproducible results
|
|
377
376
|
))
|
|
378
377
|
```
|
|
379
378
|
|
|
@@ -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=
|
|
13
|
+
typecast/models/tts.py,sha256=RG8PXFhWP_Ef_hbT3Fd9bhj5dy8SHTpISHmZ0zAdhUQ,17267
|
|
14
14
|
typecast/models/voices.py,sha256=L3MmlVz468_iv8t25TOAWlpQrcB9L8Wh9LGfA7sXcnc,3531
|
|
15
|
-
typecast_python-0.
|
|
16
|
-
typecast_python-0.
|
|
17
|
-
typecast_python-0.
|
|
18
|
-
typecast_python-0.
|
|
15
|
+
typecast_python-0.5.1.dist-info/METADATA,sha256=mZa1tjDGjBxY2rIoloK3BAyT-WNzKSbEX0w3Si5j09g,26048
|
|
16
|
+
typecast_python-0.5.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
17
|
+
typecast_python-0.5.1.dist-info/licenses/LICENSE,sha256=HvtJ-S89uUkuYmt-OvVk4MRxmzwtbn84__qJtSrGU2Q,11348
|
|
18
|
+
typecast_python-0.5.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|