Skip to content

SDKs

Commotion publishes official SDKs in Python and Node. Each SDK is scoped to a single product - install the one for the product you are calling.

Voice AI

Terminal window
pip install commotion-voice
from commotion_voice import VoiceClient
client = VoiceClient(api_key="eak_live_your_key_here")
with open("sample.wav", "rb") as audio:
result = client.speech_to_text(file=audio, language="en")
print(result.text)

Source: github.com/gocommotion/commotion-voice-python

Universal API

Coming in phase 2. The packages will be commotion-universal for Python and commotion-universal on npm.