You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- When `true`: Automatically splits long text (>4096 chars) into chunks, generates audio for each chunk, and combines them into a single seamless audio file
459
+
- When `false`: Returns an error if text exceeds the 4096 character limit (standard OpenAI behavior)
460
+
-**Benefits**: No need to manually manage text splitting or audio file merging for long content
461
+
385
462
## 🐳 Docker Deployment
386
463
387
464
### Quick Start
@@ -522,7 +599,7 @@ docker run -p 8000:8000 ttsfm:local
522
599
523
600
- **Latency**: ~1-3 seconds for typical text (depends on openai.fm service)
524
601
- **Throughput**: Supports concurrent requests with async client
525
-
- **Text Limits**: Up to 4096 characters per request (configurable)
602
+
- **Text Limits**: No limits with auto-combine! Handles text of any length automatically
526
603
- **Audio Quality**: High-quality synthesis comparable to OpenAI
527
604
528
605
### Optimization Tips
@@ -555,16 +632,16 @@ for text in texts:
555
632
556
633
See [CHANGELOG.md](CHANGELOG.md) for detailed version history.
557
634
558
-
### Latest Changes (v3.2.2)
635
+
### Latest Changes (v3.2.3)
559
636
560
-
- 🎵 **Combined Audio**: Generate single audio files from long text (no more chunk management!)
561
-
- 🧠 **Intelligent Splitting**: Smart text splitting at sentence/word boundaries
562
-
- 🔗 **Seamless Combination**: Professional audio merging with multiple fallback methods
563
-
- 🤖 **OpenAI Compatible**: New `/v1/audio/speech-combined` endpoint
564
-
- 📊 **Rich Metadata**: Detailed processing information in response headers
565
-
- 🚀 **Performance Optimized**: Concurrent processing and memory efficiency
566
-
- 🌍 **Unicode Support**: Full international text support
567
-
- 🧪 **Comprehensive Testing**: Complete test suite with performance benchmarks
637
+
- ✨ **Auto-Combine by Default**: Long text is now automatically split and combined into single audio files
638
+
- 🔄 **Unified API Endpoint**: Single `/v1/audio/speech` endpoint handles both short and long text intelligently
639
+
- 🎛️ **Configurable Behavior**: New `auto_combine` parameter (default: `true`) for full control
0 commit comments