Overview
SimplismartHttpTTSService generates speech from text using the
Simplismart streaming /tts API. Audio is returned as
raw PCM (s16le, mono) at 24 kHz, suitable for real-time voice pipelines.
Source Repository
Source code, examples, and issues for the Simplismart integration
Simplismart
Learn more about Simplismart and its AI services
Installation
This is a community-maintained package distributed separately frompipecat-ai.
It is not published to PyPI, so install it from source:
Prerequisites
Simplismart Account Setup
Before using the Simplismart text-to-speech service, you need a Simplismart account and API key. See Simplismart to get started.Required Environment Variables
SIMPLISMART_API_KEY: Bearer token used to authenticate TTS requests. Can be passed directly via theapi_keyconstructor argument instead.SIMPLISMART_TTS_URL: TTS endpoint URL. Defaults tohttps://api.simplismart.live/ttsif not set.
Configuration
Simplismart bearer token. Falls back to the
SIMPLISMART_API_KEY environment
variable if not provided.TTS endpoint URL (e.g.
https://api.simplismart.live/tts). Falls back to the
SIMPLISMART_TTS_URL environment variable, then to
https://api.simplismart.live/tts.Optional shared HTTP client session. If not provided, the service creates and
manages its own session.
Output sample rate. Should match
SimplismartHttpTTSService.SAMPLE_RATE
(24000) for correct playback.Voice, model, and generation settings. See Settings below.
Settings
Runtime-configurable settings passed via thesettings constructor argument
using SimplismartHttpTTSService.Settings(...).
| Parameter | Type | Default | Description |
|---|---|---|---|
model | str | "canopylabs/orpheus-3b-0.1-ft" | Simplismart TTS model identifier. |
voice | str | "tara" | Voice used for speech generation. |
temperature | float | 0.7 | Sampling temperature for speech generation. |
top_p | float | 0.9 | Top-p nucleus sampling. |
repetition_penalty | float | 1.5 | Repetition penalty. |
max_tokens | int | 1000 | Max new tokens for the TTS model. |
Available parameters and defaults are defined by the integration. See the
source repository for
the authoritative, up-to-date list.
Usage
Compatibility
Tested with Pipecat v1.1.0 (pipecat-ai>=0.0.86). Check the source
repository for the latest
tested version and changelog.