Learn how to make your first Inworld API request
inworld_quickstart.py
or inworld_quickstart.js
. Copy the corresponding code into the file. For a curl request, copy the request.requests
if not already installed.output.mp3
. You can play this file with any audio player.inworld_stream_quickstart.py
for Python or inworld_stream_quickstart.js
for Javascript, and copy the corresponding code into the file.For this streaming example, we’ll use Linear PCM format (instead of MP3), which we specify in the audio_config
.output_stream.wav
. You can play this file with any audio player.