Skip to main content
Vapi is a platform for voice agents on phone and web calls. AirCaps AI hosts a connector at vapi.aircaps.ai that serves AirCaps Live 1 to Vapi as a custom transcriber. There is nothing to install or run: you change your assistant’s settings and keep everything else in Vapi. The connector transcribes both sides of the call: the caller’s speech, and the assistant’s own speech, which Vapi uses for the conversation history. Turns end in one of two ways:
  • Vapi decides (default). Vapi’s own endpointing ends the caller’s turn, using the transcripts AirCaps sends.
  • AirCaps decides. Add AirCaps as the assistant’s custom endpointing model, and AirCaps Live 1’s end-of-turn detection tells Vapi when the caller has finished.

Prerequisites

  • An AirCaps AI API key: sign in to the AirCaps AI console, open API keys and create one. Use a key just for Vapi, so you can revoke it on its own.
  • A Vapi assistant, and your Vapi private API key (Vapi dashboard, API Keys) to update it.
Each Vapi call holds two AirCaps Live 1 sessions: one for the caller and one for the assistant. Both are billed as AirCaps Live 1 audio. Accounts run one session at a time by default, which is not enough for a Vapi call: with one session, the caller is still transcribed, but the assistant no longer sees its own earlier replies. For Vapi, talk to sales to get at least two sessions per call you run at the same time. See Pricing and limits.

Setup

1

Write the assistant settings

Save this as aircaps-vapi.json, with your AirCaps AI API key in both places:
aircaps-vapi.json
transcriber makes AirCaps Live 1 the assistant’s speech-to-text. startSpeakingPlan lets AirCaps decide when the caller has finished; leave it out to keep Vapi’s own endpointing. If your assistant already has startSpeakingPlan settings (such as waitSeconds), put them in the same object.
2

Update the assistant

Send the settings to Vapi’s update assistant API:
The same two objects work anywhere Vapi takes an assistant: a transient assistant in POST /call, a squad member, or an assistant override.
3

Call it

Call the assistant from the Vapi dashboard (Talk to Assistant) or its phone number. Ask a question, interrupt the answer, and pause mid-sentence to hear how turns end. The call log shows both sides of the conversation.
Put the key in headers, not in a Vapi custom credential (credentialId). Vapi does not send a credential’s token when it connects to a custom transcriber, so the connector receives no key, refuses the connection, and the call ends at once with custom-transcriber-failed.

Turn detection

Vapi decides (default)

Without startSpeakingPlan.smartEndpointingPlan, Vapi’s own endpointing decides when the caller is done, from the transcripts the connector sends. Vapi’s startSpeakingPlan settings apply as usual. Use this mode when you already tune turns in Vapi.

AirCaps decides

With the endpointing plan from the setup, Vapi asks the connector each time it is about to end the caller’s turn. The connector answers from the same call’s AirCaps Live 1 session: keep waiting while the caller’s turn is still open, or reply now once AirCaps Live 1 has ended the turn. The model decides from what was said as well as from the pause. Endpointing requests must carry the same AirCaps AI API key as the transcriber; they are answered only for that key’s calls.

End-of-turn settings

Set them as query parameters on the transcriber URL. A mode is a preset; start with balanced. Any setting given beside a mode overrides that one value.
These settings shape the caller’s turns in both modes: the connector sends the caller’s final transcript when the model ends the turn.

How it works

  • Vapi streams the call’s audio to the connector, the caller and the assistant on separate channels. The connector streams each side to AirCaps Live 1 in its own session, at the address with the lowest latency.
  • Caller: interim transcripts while the caller speaks, which Vapi uses to detect interruptions, then one final transcript per turn.
  • Assistant: final transcripts only. Vapi builds the assistant’s side of the conversation from them: its earlier replies in the LLM’s history, and the assistant’s lines in the call log.
  • A session that ends during the call (sessions last up to an hour) is reopened.
  • The connector stores no audio or text. The AirCaps Live 1 sessions follow your account’s data settings.
Not supported by AirCaps Live 1: languages other than English, and key terms. Vapi’s channels already separate the caller from the assistant.

Troubleshooting

Resources