Voice API
The noise suppression can be enabled for the Voice API calls in the following way:Don’t forget to update
YOUR_API_KEY here.direction which can have one of the following options: inbound | outbound | both.
Please be aware that the charge is applied for each direction separately.
Supported engines
Telnyx offers four noise suppression engines, each optimized for different use cases:Choosing an engine
- For standard telephony, use
Denoiser(default) orKrispfor speaker isolation. - For WebRTC calls, use
DeepFilterNetfor full-band processing. - For AI-powered calls (AI Assistants, Gather Using AI), consider
AiCousticsfor the best speech recognition accuracy.
noise_suppression_engine parameter:
Engine configuration
Some engines support additional tuning vianoise_suppression_engine_config. Parameters are engine-specific and ignored by other engines.
Krisp models
TheKrisp engine supports three sub-models optimized for different telephony scenarios. Select a model using noise_suppression_engine_config.model:
You can also set the suppression intensity with
suppression_lev (0–100):
DeepFilterNet configuration
TheDeepFilterNet engine supports two tuning parameters:
AiCoustics configuration
TheAiCoustics engine exposes enhancement and gain controls: