Constructor (sync path).
Users call: new OfflineTts(config)
Async factory calls this with an internal descriptor.
Generate audio synchronously.
Generate audio asynchronously with optional generationConfig and progress callback
The progress callback receives streaming audio chunks.
Static
Create an OfflineTts asynchronously (non-blocking).
Constructor (sync path).
Users call: new OfflineTts(config)
Async factory calls this with an internal descriptor.