Skip to content

Added 60dB integration#1

Open
manishEMS47 wants to merge 1 commit into
Sinapsis-AI:mainfrom
manishEMS47:main
Open

Added 60dB integration#1
manishEMS47 wants to merge 1 commit into
Sinapsis-AI:mainfrom
manishEMS47:main

Conversation

@manishEMS47

Copy link
Copy Markdown

What we added

A new sinapsis_60db package (mirrors the ElevenLabs package structure) with 3 TTS templates:

  • SixtyDBTTS → POST /tts-synthesize (single request)
  • SixtyDBTTSStream → POST /tts-stream (NDJSON streaming)
  • SixtyDBTTSWebSocket → wss://api.60db.ai/ws/tts (websocket streaming)

Plus: a SixtyDBClient (REST + WS wrapper, since 60db has no SDK), voice resolution via GET /myvoices, SIXTYDB_API_KEY env var, 6 YAML
configs, 3 Gradio webapps, package pyproject.toml/README/LICENSE, and wiring into the root pyproject.toml, docker/compose_apps.yaml,
and top-level README.

All templates output the same AudioPacket as ElevenLabs, so they're drop-in interchangeable.

How to use it

  1. Set your key:
    export SIXTYDB_API_KEY='your-api-key'

  2. Run it — pick one:

CLI (saves a .wav)

sinapsis run packages/sinapsis_60db/src/sinapsis_60db/configs/sixtydb_tts.yaml

Webapp

uv run webapps/generic_tts_apps/sixtydb_tts_app.py

Docker

docker compose -f docker/compose_apps.yaml up -d sinapsis-60db

Or use in your own YAML:

  • template_name: SixtyDBTTS
    class_name: SixtyDBTTS
    template_input: TextInput
    attributes:
    voice: null # name/ID, or null for default
    output_format: mp3 # mp3 | wav | ogg | flac
    speed: 1.0 # 0.5–2.0
    stability: 50.0 # 0–100
    similarity: 75.0 # 0–100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant