Labsco
neosapience logo

Typecast API

β˜… 3

from neosapience

An MCP server for the Typecast API, enabling AI-powered voice generation for various content.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedPaid serviceNeeds API keys

typecast-api-mcp-server

MCP Server for typecast-api, enabling seamless integration with MCP clients. This project provides a standardized way to interact with Typecast API through the Model Context Protocol.

About

This project implements a Model Context Protocol server for Typecast API, allowing MCP clients to interact with the Typecast API in a standardized way.

Supported Models

ModelDescriptionEmotion Control
ssfm-v30Latest model (recommended)Preset + Smart Mode
ssfm-v21Stable production modelPreset only

ssfm-v30 Features

  • 7 Emotion Presets: normal, happy, sad, angry, whisper, toneup, tonedown
  • Smart Mode: AI automatically infers emotion from context using previous_text and next_text
  • 37 Languages: Extended language support

Feature Implementation Status

FeatureStatus
Voice Management
Get Voices (V2 API)βœ…
Get Voices use_cases filterβœ…
Get Voice (V2 API)βœ…
Recommend Voicesβœ…
Text to Speechβœ…
Text to Speech (Streaming)βœ…
Text to Speech (with Timestamps)βœ…
Get My Subscriptionβœ…
Play Audioβœ…
Output Controls
target_lufs loudness normβœ…
ssfm-v30 Support
Preset Modeβœ…
Smart Modeβœ…
Quick Voice Cloning
Clone Voiceβœ…
Delete Cloned Voiceβœ…

Quick Voice Cloning

The MCP server exposes two tools for temporary custom voice workflows:

  • clone_voice: creates a quick-cloned custom voice from a local WAV or MP3 file.
  • delete_cloned_voice: deletes a cloned voice ID that starts with uc_.

Quick cloning constraints:

  • Voice name must be 1-30 characters.
  • Audio sample must be WAV or MP3.
  • Audio sample must be 25 MB or smaller.
  • Use ssfm-v30 unless you have a specific compatibility reason.

Typical flow:

  1. Run clone_voice with name, audio_file_path, and optional model.
  2. Use the returned next_step_voice_id and next_step_model in text_to_speech, text_to_speech_stream, or text_to_speech_with_timestamps.
  3. Run delete_cloned_voice when the temporary cloned voice is no longer needed.

Voice Recommendations

Use recommend_voices when you know the desired style, mood, language, or use case but do not know the exact voice ID yet. It calls GET /v1/voices/recommendations and returns candidates sorted by score.

The recommendation response intentionally contains only voice_id, voice_name, and score. If an agent needs details about a recommended voice, call get_voice for each returned ID or get_voices for a broader filtered list before using the ID in TTS.

Contributing

Contributions are always welcome! Feel free to submit a Pull Request.

License

MIT License