feat(typecast): add Typecast TTS plugin#5275
Open
jaebong-human wants to merge 1 commit intolivekit:mainfrom
Open
feat(typecast): add Typecast TTS plugin#5275jaebong-human wants to merge 1 commit intolivekit:mainfrom
jaebong-human wants to merge 1 commit intolivekit:mainfrom
Conversation
- Implements ChunkedStream pattern (HTTP POST → binary audio) - Supports ssfm-v30 / ssfm-v21 models - Emotion control: smart (AI-inferred) or preset (normal/happy/sad/angry/whisper/toneup/tonedown) - Output: WAV or MP3, 44100 Hz mono - Parameters: audio_tempo, audio_pitch, volume, seed - API key via TYPECAST_API_KEY env var or constructor argument - PEP 561 compliant (py.typed marker included) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8e8b3d4 to
bb4a12d
Compare
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.
Summary
ChunkedStreampattern (HTTP POST → binary audio)Features
ssfm-v30(latest),ssfm-v21smart(AI-inferred from context) orpreset(normal / happy / sad / angry / whisper / toneup / tonedown) with intensity 0.0–2.0audio_tempo(0.5–2.0×),audio_pitch(±12 semitones),volume(0–200),seedTYPECAST_API_KEYenv var or constructor argumentUsage
Test plan
ValueErrorraised when API key is missingTYPECAST_API_KEYenv var200 audio/mpegwith valid audio bytesupdate_optionsworks for all parameters includingseedcontent_typeguard raisesAPIErroron non-audio response🤖 Generated with Claude Code