Skip to main content

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


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)

Uploaded Source

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

Hashes for aitts-maker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 30729758799f0547ef3652e37b2062b4d281f53b5483c0fab909b3b9278d6acb
MD5 17cecb608ab93ff7ffd69fa41e54798b
BLAKE2b-256 de423e7cefc7190fa97bcfd8bdd2abb3bd85510d0d3b93ed985488cd85cf216e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page