Python Package

Free Text-to-Speech for Python

Generate high-quality speech from text using the free openai.fm service. No API keys, no registration - just install and start creating audio.

Key Features

Simple, free, and powerful text-to-speech for Python developers.

No API Keys

Completely free service with no registration or API keys required. Start using immediately.

Easy to Use

Simple Python API with both sync and async support. Perfect for any project size.

11 Voices & 6 Formats

Choose from 11 different voices and 6 audio formats (MP3, WAV, OPUS, AAC, FLAC, PCM).

Getting Started

Install TTSFM and start generating speech with just a few lines of code.

Installation
pip install ttsfm
Requires Python 3.8+
Basic Usage
from ttsfm import TTSClient, Voice, AudioFormat

client = TTSClient()
response = client.generate_speech(
    text="Hello, world!",
    voice=Voice.ALLOY,
    response_format=AudioFormat.MP3
)
response.save_to_file("hello")
No API keys required