Sequence that uses AssemblyAi to transcript Audio sent by input channel


  • Name: text2audio-events
  • Version: 1.0.0
  • Language: typescript
  • Author: Piotr
  • Tags: Ai,Stream,AssemblyAi


This is a sequence which transript audio file using AssemblyAi API.


❗ Remember to setup transform-hub locally or use the platform's environment for the sequence deployment.

As this apps is using AssemblyAi Api, the key is required to use it. For informations how to get one please refer to assemblyAi


Open the terminal and run the following commands:

# go to 'repo-checker' directory cd typescript/audio2text-event # install dependencies npm install # transpile TS->JS to dist/ npm run build # deploy the Sequence withh a following arguments where first one is a time interval in ms which determines how often to check for data and second is github api key si seq deploy dist --args '["YOUR-GITHUB-API-KEY-HERE"]' # upload file to a instance si inst input - /path/to/your/file -t application/octet-stream

Getting results

All the informations generated by this instance will be available at the log channel.

To get result simply type in console:

si inst output -

Using events

To use events use commands si inst event emit <instance-id> pause to pause input stream and si inst event emit <instance-id> pause to resume it


to make testing easier the sequence contains file ready to be uploaded.

Logs when running this sequence with a sample file should look like this: