|
|
|
@@ -53,7 +53,7 @@ Choose the right provider for your use case:
|
|
|
|
|
|----------|:----:|:---------:|:---:|:------:|:---------:|:--------:|:------:|------------|
|
|
|
|
|
| **OpenAI** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | • gpt-image-1<br>• DALL-E 3<br>• Deep research API |
|
|
|
|
|
| **Anthropic** | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ❌ | • Claude Sonnet 4.5<br>• Superior reasoning<br>• Web search API |
|
|
|
|
|
| **ElevenLabs** | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | • Premium TTS<br>• 32 languages<br>• Natural voices |
|
|
|
|
|
| **ElevenLabs** | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | • Premium TTS<br>• 70+ languages<br>• Natural voices |
|
|
|
|
|
| **Ollama** | ✅ | ✅ | ❌ | ✅ | ✅ | ❌ | ❌ | • 100% local<br>• Privacy-first<br>• No API costs |
|
|
|
|
|
| **XAI** | ✅ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | • Grok models<br>• Real-time data<br>• Uncensored |
|
|
|
|
|
| **Perplexity** | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ❌ | • Web-aware<br>• Research-focused<br>• Sonar Pro models |
|
|
|
|
@@ -118,11 +118,11 @@ const audioStream = await ai.openaiProvider.audio({
|
|
|
|
|
message: 'Welcome to the future of AI development!'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// ElevenLabs TTS - Premium quality, natural voices
|
|
|
|
|
// ElevenLabs TTS - Premium quality, natural voices (uses v3 by default)
|
|
|
|
|
const elevenLabsAudio = await ai.elevenlabsProvider.audio({
|
|
|
|
|
message: 'Experience the most lifelike text to speech technology.',
|
|
|
|
|
voiceId: '19STyYD15bswVz51nqLf', // Optional: Samara voice
|
|
|
|
|
modelId: 'eleven_multilingual_v2', // Optional: defaults to eleven_multilingual_v2
|
|
|
|
|
modelId: 'eleven_v3', // Optional: defaults to eleven_v3 (70+ languages, most expressive)
|
|
|
|
|
voiceSettings: { // Optional: fine-tune voice characteristics
|
|
|
|
|
stability: 0.5, // 0-1: Speech consistency
|
|
|
|
|
similarity_boost: 0.8, // 0-1: Voice similarity to original
|
|
|
|
@@ -594,7 +594,7 @@ export ELEVENLABS_API_KEY=sk-...
|
|
|
|
|
| **Complex Reasoning** | Anthropic | Superior logical thinking, safer outputs |
|
|
|
|
|
| **Research & Facts** | Perplexity | Web-aware, provides citations |
|
|
|
|
|
| **Deep Research** | OpenAI | Deep Research API with comprehensive analysis |
|
|
|
|
|
| **Premium TTS** | ElevenLabs | Most natural voices, 32 languages, superior quality |
|
|
|
|
|
| **Premium TTS** | ElevenLabs | Most natural voices, 70+ languages, superior quality (v3) |
|
|
|
|
|
| **Speed Critical** | Groq | 10x faster inference, sub-second responses |
|
|
|
|
|
| **Privacy Critical** | Ollama | 100% local, no data leaves your servers |
|
|
|
|
|
| **Real-time Data** | XAI | Access to current information |
|
|
|
|
|