Make your first STT API request
Create an API key
Create an Inworld account.In Inworld Portal, generate an API key by going to Settings > API Keys. Copy the Base64 credentials.Set your API key as an environment variable.
Prepare an audio file
The STT API accepts base64-encoded audio. Prepare your audio file (e.g., Recommended audio settings: 16,000 Hz sample rate, mono, 16-bit depth. See Supported Audio Formats for all options.
input.mp3) and encode it:Send the request
cURL
audioEncoding to match your file format (MP3, LINEAR16, OGG_OPUS, FLAC), or use AUTO_DETECT to let the API infer it from the audio header.