Add voice AI to an app — inbound/outbound phone calls, voice agents, or speech-to-text/text-to-speech pipelines. Supports Bland AI, ElevenLabs, Deepgram, and Web Speech API. Use when the user says "add voice", "make it speak", "phone call feature", or "voice agent".
npx @senso-ai/shipables install KeyanVakil/add-voice-aiGive the app a voice.
Determine the voice use case:
Implement based on use case:
POST https://api.bland.ai/v1/calls
Authorization: Bearer $BLAND_API_KEY
{
"phone_number": "+1...",
"task": "...",
"voice": "...",
"model": "enhanced",
"max_duration": 12
}
pathway_id for multi-step call flows/api/bland/webhook for call events and transcriptscall_id to retrieve recordings/transcripts laterelevenlabs SDKtextToSpeech.stream() → pipe to <audio> elementELEVENLABS_API_KEY to the client@deepgram/sdk with createClient().listen.live()getUserMedia audio chunks to Deepgram WebSocketSpeechSynthesis for TTS, SpeechRecognition for STT.env.example.max_duration values during development