AI and standard TTS voice generator using ttsmp3.com (via scraping)
Project description
AITTS-Maker
Generate TTS (Text-to-Speech) MP3s using standard and AI-based voices from ttsmp3.com.
โ ๏ธ This library uses web scraping to interact with ttsmp3.com, as there is no official public API. Use responsibly and according to their terms of service.
๐ฆ Installation
Install via pip:
pip install aitts-maker
โจ Features
- Supports both standard and AI-powered TTS voices
- Outputs high-quality MP3 files
- Easy-to-use CLI interface
๐๏ธ AI-Based TTS Voices (1000-character limit)
API Endpoint: https://ttsmp3.com/makemp3_ai.php
Available AI Voice Models:
--vocal alloyโ Alloy (female)--vocal ashโ Ash (male)--vocal coralโ Coral (female, deeper voice)--vocal echoโ Echo (male)--vocal fableโ Fable (female)--vocal onyxโ Onyx (male, deeper voice)--vocal novaโ Nova (female, soft voice)--vocal sageโ Sage (female)--vocal shimmerโ Shimmer (female)
aitts-maker --msg "Hello world!" --vocal alloy --speed "1.50" --output hello.mp3 --ai
๐ Standard TTS Voice Options (3000-character limit)
Available Standard Voices:
--vocal Zeinaโ Arabic--vocal Nicoleโ Australian English (female)--vocal Russellโ Australian English (male)--vocal Ricardoโ Brazilian Portuguese (male)--vocal Camilaโ Brazilian Portuguese (female)--vocal Vitoriaโ Brazilian Portuguese (female)--vocal Brianโ British English (male)--vocal Amyโ British English (female)--vocal Emmaโ British English (female)--vocal Chantalโ Canadian French (female)--vocal Enriqueโ Castilian Spanish (male)--vocal Luciaโ Castilian Spanish (female)--vocal Conchitaโ Castilian Spanish (female)--vocal Zhiyuโ Chinese Mandarin (female)--vocal Najaโ Danish (female)--vocal Madsโ Danish (male)--vocal Rubenโ Dutch (male)--vocal Lotteโ Dutch (female)--vocal Mathieuโ French (male)--vocal Celineโ French (female)--vocal Leaโ French (female)--vocal Vickiโ German (female)--vocal Marleneโ German (female)--vocal Hansโ German (male)--vocal Karlโ Icelandic (male)--vocal Doraโ Icelandic (female)--vocal Aditiโ Indian English (female)--vocal Raveenaโ Indian English (female)--vocal Giorgioโ Italian (male)--vocal Carlaโ Italian (female)--vocal Biancaโ Italian (female)--vocal Takumiโ Japanese (male)--vocal Mizukiโ Japanese (female)--vocal Seoyeonโ Korean (female)--vocal Miaโ Mexican Spanish (female)--vocal Livโ Norwegian (female)--vocal Janโ Polish (male)--vocal Majaโ Polish (female)--vocal Ewaโ Polish (female)--vocal Jacekโ Polish (male)--vocal Cristianoโ Portuguese (male)--vocal Inesโ Portuguese (female)--vocal Carmenโ Romanian (female)--vocal Tatyanaโ Russian (female)--vocal Maximโ Russian (male)--vocal Astridโ Swedish (female)--vocal Filizโ Turkish (female)--vocal Kimberlyโ US English (female)--vocal Ivyโ US English (female)--vocal Kendraโ US English (female)--vocal Justinโ US English (male)--vocal Joeyโ US English (male)--vocal Matthewโ US English (male)--vocal Salliโ US English (female)--vocal Joannaโ US English (female)--vocal Penelopeโ US Spanish (female)--vocal Lupeโ US Spanish (female)--vocal Miguelโ US Spanish (male)--vocal Gwynethโ Welsh (female)--vocal Geraintโ Welsh English (male)
๐ ๏ธ CLI Usage Example
aitts-maker --msg "Hello world!" --vocal "Enrique" --output hello.mp3
Options:
--msgโ Text to convert to speech--vocalโ Voice model (e.g., alloy, amy, mizuki)--speedโ Speed multiplier for AI voices (e.g., 1.00, 1.25)--outputโ Output MP3 filename--aiโ Use AI voice model
๐งฉ Python Library Usage
You can also use AITTS-Maker in your Python code:
While using ai Models
from aitts_maker import generate_tts
result = generate_tts(
msg="Hello world!",
vocal="alloy",
speed="1.25",
output_file="hello.mp3",
use_ai=True
)
print("MP3 URL:", result.get("URL"))
While using Normal Models
from aitts_maker import generate_tts
result = generate_tts(
msg="Hello world!",
vocal="alloy",
output_file="hello.mp3",
)
print("MP3 URL:", result.get("URL"))
๐ค Author
DOT-007 Made with โค๏ธ by [DOT-007(https://alosiousbenny.vercel.app)]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aitts-maker-0.1.0.tar.gz
(5.4 kB
view details)
File details
Details for the file aitts-maker-0.1.0.tar.gz.
File metadata
- Download URL: aitts-maker-0.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30729758799f0547ef3652e37b2062b4d281f53b5483c0fab909b3b9278d6acb
|
|
| MD5 |
17cecb608ab93ff7ffd69fa41e54798b
|
|
| BLAKE2b-256 |
de423e7cefc7190fa97bcfd8bdd2abb3bd85510d0d3b93ed985488cd85cf216e
|