Pipecat plugin for Faseeh Arabic text-to-speech
Project description
pipecat-plugins-faseeh
Pipecat plugin for Faseeh Arabic text-to-speech.
Build real-time Arabic conversational AI agents using Pipecat with Faseeh's high-quality Arabic TTS voices.
Installation
pip install pipecat-plugins-faseeh
Configuration
Set your Faseeh API key as an environment variable:
export FASEEH_API_KEY="your-api-key"
Or pass it directly:
tts = FaseehTTSService(api_key="your-api-key", aiohttp_session=session)
Get your API key at app.faseeh.ai.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
api_key |
str | env FASEEH_API_KEY |
Faseeh API key |
voice_id |
str | ar-hijazi-female-2 |
Voice identifier |
model |
str | faseeh-v1-preview |
TTS model |
stability |
float | 0.5 | Voice consistency (0.0-1.0) |
speed |
float | 1.0 | Speech rate (0.7-1.2) |
base_url |
str | https://api.faseeh.ai/api/v1 |
API base URL |
Usage
import aiohttp
from pipecat.pipeline.pipeline import Pipeline
from pipecat_plugins_faseeh import FaseehTTSService
async with aiohttp.ClientSession() as session:
tts = FaseehTTSService(
api_key="your-api-key",
aiohttp_session=session,
voice_id="ar-hijazi-female-2",
model="faseeh-v1-preview",
params=FaseehTTSService.InputParams(stability=0.5, speed=1.0),
)
# Add to your Pipecat pipeline
pipeline = Pipeline([..., tts, ...])
Runtime settings update
Change voice, model, speed, or stability mid-conversation:
from pipecat.frames.frames import TTSUpdateSettingsFrame
await task.queue_frame(TTSUpdateSettingsFrame(settings={"voice_id": "ar-emirati-male-1"}))
await task.queue_frame(TTSUpdateSettingsFrame(settings={"speed": 1.1, "stability": 0.8}))
Running the example
# Install dependencies
pip install pipecat-plugins-faseeh "pipecat-ai[daily,openai,deepgram,silero]" python-dotenv loguru
# Copy and fill in your API keys
cp .env.example .env
# Run
python examples/faseeh_tts_example.py
The example auto-creates a Daily room and logs the URL — open it in your browser to talk to the bot.
Available voices
See the full voice library at docs.faseeh.ai.
Pipecat compatibility
Tested with pipecat-ai >= 0.0.100.
License
Apache 2.0
Maintained by
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipecat_plugins_faseeh-0.1.0.tar.gz.
File metadata
- Download URL: pipecat_plugins_faseeh-0.1.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84ac0ac556890f5740618c62df4c7e19f51be3905a604056ec6f947be9b4fc2c
|
|
| MD5 |
8cc8ff539815c0769860d36575148ac6
|
|
| BLAKE2b-256 |
5343daf3652cbab67deac75e21894fbfebc2f3348e24b0cc97e4be5989fe012a
|
File details
Details for the file pipecat_plugins_faseeh-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pipecat_plugins_faseeh-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6628e1268f2f5f36e7270fd9dd4fe62d98cbed00c63afea3a71adbc234e9344
|
|
| MD5 |
e7bb939608a573396d1b14360e621c3d
|
|
| BLAKE2b-256 |
dcbc52bed5e5db248499d17b9cf8e9172618889cfafcdfe339dbce65ee39ad68
|