feat: implement ElevenLabs audio generation for podcast conversations

- Add ElevenLabs SDK integration for text-to-speech conversion
- Implement automatic audio generation after conversation completion
- Add comprehensive audio playback controls (play/pause/restart)
- Include real-time debug panel for monitoring audio generation process
- Add proper error handling for quota exceeded and other API errors
- Integrate audio stream processing and buffer concatenation
- Add volume control and progress tracking for audio playback
- Include responsive UI states for audio generation and playback

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Rosario Moscato
2025-09-23 22:55:02 +02:00
parent e32f433c79
commit 09f10353dd
5 changed files with 603 additions and 22 deletions

View File

@@ -11,6 +11,7 @@
"dependencies": {
"@ai-sdk/mistral": "^2.0.15",
"@ai-sdk/openai": "^2.0.32",
"@elevenlabs/elevenlabs-js": "^2.16.0",
"@mendable/firecrawl-js": "^4.3.5",
"@radix-ui/react-progress": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",