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.9,<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.2

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.2
File Size Uploaded Provenance Actions
ttsforge-0.5.2.tar.gz 295.9 kB Without provenance Details for ttsforge-0.5.2.tar.gz

Built distribution (wheel)

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

Total release size: 404.5 kB

Release files / ttsforge-0.5.2.tar.gz

Download URL ttsforge-0.5.2.tar.gz
Size 295.9 kB
Tags Source
SHA-256 checksum
How to use checksums
517b5f732e6fa657a6e94e68de8f33e3ef7c08d6d54842d23f65eb36d405d941
BLAKE2b-256 checksum
How to use checksums
2fb271bfd3c4e3e27eef0ce5a80ef05270826f934db87ab2c627446d086df83d
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.2-py3-none-any.whl

Download URL ttsforge-0.5.2-py3-none-any.whl
Size 108.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac2173956ff08f2fa2129c19e92c67308d9ccbf45b33e18e3385eec220db55c6
BLAKE2b-256 checksum
How to use checksums
da02380e2c8aac207ce66d3e328fdec468c47ab8dcf1eb078c39ec6a5b39393a
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.2

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