Skip to main content

PyPI - Version PyPI - Python Version PyPI - Downloads codecov

TTSForge

TTSForge is an audiobook-oriented command-line frontend for Readio. It turns EPUBs into M4B audiobooks while Readio owns workflow planning, synthesis, composition, progress, and export.

TTSForge requires readio>=0.6.8,<0.7. Its base dependencies are provider-neutral. Install and configure a Readio engine integration separately when you want to synthesize speech; use Readio's installation documentation for the integrations supported by your platform.

What it does

  • Inspect EPUB metadata and chapters without creating a project.
  • Guide audiobook setup and persist it for retries.
  • Render and export an M4B through Readio's public workflow API.
  • Inspect workflow status and discover Readio engines, targets, and voices.
  • Keep existing TTSForge/Readio 0.4 project data untouched instead of attempting an automatic migration.

Quick start

Install TTSForge, then inspect and convert a book:

python -m pip install ttsforge
ttsforge list novel.epub
ttsforge convert novel.epub

In an interactive terminal, conversion guides you through missing chapter and voice setup, shows a read-only preflight, then asks before rendering. Setup is saved before rendering, so a failed attempt can be retried with the saved choices.

For automation, specify the chapter selection and any setup values you want to pin:

ttsforge convert novel.epub --chapters 1-5 --engine ENGINE --target TARGET --voice VOICE --non-interactive

--json is also prompt-free. See Quick start and the CLI reference for details.

Projects and output

For novel.epub, the default project is novel.ttsforge/ beside the source, and the default output is novel.m4b. The project contains Readio's saved render intent and narrator profile plus the persistent book.ssmd-bundle/ workspace. Use --project to choose another location or --fresh to start in a separate project directory. See Projects and outputs.

Output replacement and stage rebuild are separate explicit controls: use --replace-output to authorize replacing an existing M4B, and --rebuild-from STAGE to ask Readio to rebuild from a selected workflow stage.

To use a different synthesis setup while keeping the project's prepared book state, run ttsforge convert novel.epub --new-variant. TTSForge stores the alternate Readio setup under variants/<configuration-key>/ and writes a separately named M4B. It reuses the project's SSMD bundle and leaves the base setup and output untouched. Use ttsforge info to inspect alternate setups.

Discover engines and voices

ttsforge engines
ttsforge targets --engine ENGINE --language en-us
ttsforge voices --engine ENGINE --target TARGET --language en-us

Catalog contents and runtime availability depend on installed Readio integrations and local configuration.

Migration from TTSForge 0.4

TTSForge 0.5 uses Readio's 0.6.1 workflow-gateway API and a new .ttsforge/ project layout. Existing TTSForge or Readio 0.4 workspaces cannot be resumed by this version. They are rejected without automatic migration or mutation. Keep them as-is and start a separate project with --fresh or an explicit new --project path. See the migration guide.

The former backend-specific commands and configuration interface are not part of the audiobook CLI. TTSForge's supported interface is the command line; Python integrations should use Readio's public readio.api directly. See the API boundary.

Documentation

Metadata

Release files for ttsforge 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ttsforge 0.5.1
File Size Uploaded Provenance Actions
ttsforge-0.5.1.tar.gz 252.4 kB Without provenance Details for ttsforge-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ttsforge 0.5.1
File Interpreter ABI Platform Actions
ttsforge-0.5.1-py3-none-any.whl Python 3 none any Details for ttsforge-0.5.1-py3-none-any.whl

Total release size: 356.1 kB

Release files / ttsforge-0.5.1.tar.gz

Download URL ttsforge-0.5.1.tar.gz
Size 252.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0b64a74c02e956132130e738537e6c76d1906584e8c93db79b1478fca222771d
BLAKE2b-256 checksum
How to use checksums
1c0063c20be43a8534b7e191fd24286f27de704beae8ce9e425f099dd7e865d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / ttsforge-0.5.1-py3-none-any.whl

Download URL ttsforge-0.5.1-py3-none-any.whl
Size 103.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a030109f72b17dbb5db73b930d0d34fad16b35fd62a4bd8e8301bb249bb78e8
BLAKE2b-256 checksum
How to use checksums
f5d1787285ee1cf13539084f35a7e5f4c2030ce687b2d11132422afca743dd2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for ttsforge 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page