Added 60dB integration#1
Open
manishEMS47 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What we added
A new sinapsis_60db package (mirrors the ElevenLabs package structure) with 3 TTS templates:
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
Set your key:
export SIXTYDB_API_KEY='your-api-key'
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:
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