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.1.tar.gz
(2.0 kB
view details)
Built Distribution
File details
Details for the file typecastai-0.1.1.tar.gz
.
File metadata
- Download URL: typecastai-0.1.1.tar.gz
- Upload date:
- Size: 2.0 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 | ec449655076dfa090e33cc04eadddf57f066ce36cf657efe9d26d311f847c183 |
|
MD5 | d45ed3737b8b6e76387fa90c40877a3a |
|
BLAKE2b-256 | cbdfd789e2f3dd379b6e016dff7c559560f8a74f2b8c18bf5dd8cba97b4a80db |
File details
Details for the file typecastai-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: typecastai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.9 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 | 116a3be0c366a78d34e5cc8583282c10ee1954d38c5e8f0bb5b6847435968ce0 |
|
MD5 | e1cde1b0ce128a1955338ad4f215b9d2 |
|
BLAKE2b-256 | e16a547ed062e245f164aa894fda4d2d895c8d5577b2609f3b0b17e5be60faf4 |