Skip to main content
Community-maintained integration. This service is built and maintained by simpli-smart. Pipecat does not test or officially support it. Please report issues and request changes on the source repository. Learn more about community integrations.

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 from pipecat-ai.

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 the api_key constructor argument instead.
  • SIMPLISMART_TTS_URL: TTS endpoint URL. Defaults to https://api.simplismart.live/tts if not set.

Configuration

str
default:"None"
Simplismart bearer token. Falls back to the SIMPLISMART_API_KEY environment variable if not provided.
str
default:"None"
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.
aiohttp.ClientSession
default:"None"
Optional shared HTTP client session. If not provided, the service creates and manages its own session.
int
default:"None"
Output sample rate. Should match SimplismartHttpTTSService.SAMPLE_RATE (24000) for correct playback.
SimplismartHttpTTSService.Settings
default:"None"
Voice, model, and generation settings. See Settings below.

Settings

Runtime-configurable settings passed via the settings constructor argument using SimplismartHttpTTSService.Settings(...).
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.