Vonage x Smallest AI Voice

Stream Lightning text-to-speech into live Vonage voice calls

OVERVIEW

Lightning voices, on the phone line.

Vonage is a communications platform with a programmable Voice API for building call experiences into your apps. This integration streams Smallest AI's Lightning text-to-speech into live Vonage calls through a FastAPI server, giving callers ultra-low-latency, production-grade speech within the Vonage call flow. The example runs locally and uses ngrok to expose your server to Vonage for testing — once deployed behind a public URL, ngrok isn't needed. Authentication uses your Vonage application ID plus a private key, alongside your Smallest AI key, so the server can place calls and stream synthesized audio back.

HOW IT WORKS

Up and running in six steps.

Step 1 illustration