'OpenAI'-Compatible Text-to-Speech API Client
Overview
A minimal-dependency R client for 'OpenAI'-compatible text-to-speech APIs (see https://developers.openai.com/api/reference/resources/audio). Supports 'OpenAI', 'ElevenLabs', local servers ('Chatterbox', 'LM Studio', 'OpenWebUI', 'AnythingLLM'), and the 'chatterbox' package for in-process synthesis. Provides a unified interface for speech synthesis, voice cloning, and voice design with backend-specific parameters.
- Add
sourceargument totts(): run chatterbox in-process via the R package (source = "package") or over HTTP (source = "api", the default), with"auto"picking the package when installed - Call-record sidecars for
tts(),speech_clone(), andspeech_design() - Fix voice listing for the
/v1/audio/voicesendpoint
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK6 OK2026-07-25
Documentation
- Help pages
- 35 (13 internal)
- Examples that run
- 18%4 run in a plain check · 18 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 95%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 89%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Commits over time
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/cornball-ai/tts.api on 2026-10-21.
This repository shows signs of AI coding tools.
- Claude Codefirst seen on or before 2025-12-13Named in .Rbuildignore: .claude, CLAUDE.mdNamed in .gitignore: CLAUDE.mdCommits: at least 33 crediting it in the message
- cortezafirst seen 2026-06-13Commits: at least 1 crediting it in the message
- Claude Opus 4.533 commits · Dec 2025 to Mar 2026
Dependencies
Code & Tests
People & History
- 0.3.0Latest2026-07-24 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-07-24
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 30 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tts.api")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.