typecast.ai api
Project description
typecastai-python
Basic example
from typecastai import Typecast
cli = Typecast(api_token='your token here!!')
audio = cli.generate_speech('A fence cuts through the corner lot.')
with open('out.wav', 'wb') as f:
f.write(audio)
Specify output format: mp3
from typecastai import Typecast
cli = Typecast(api_token='your token here!!')
audio = cli.generate_speech('A fence cuts through the corner lot.', filetype='mp3')
with open('out.mp3', 'wb') as f:
f.write(audio)
More documentations
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
typecastai-0.1.3.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file typecastai-0.1.3.tar.gz
.
File metadata
- Download URL: typecastai-0.1.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.4.16-linuxkit
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0f6831a5fab3b6cb3616b6af812a8a06e4856c72e104cf8a1b91d2db39a07af |
|
MD5 | c43c7acda8556aa089284b1f2ecd61b8 |
|
BLAKE2b-256 | 0fd4e020e44cda3879dff22ec9c7a1d7a5385732c012ab74aa1d0cc12e9d129e |
File details
Details for the file typecastai-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: typecastai-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.4.16-linuxkit
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e97273feb94fb90ff409e3d6a7293cd276f4efc2bbdf6ba763346329fb763f0 |
|
MD5 | be25c7f8ddd331d41f9670102da0c7da |
|
BLAKE2b-256 | cb393f90c95bddd2f0da47961dc0655ca078ad6072da8fcbe75c68c8b8e722bc |