Step 1 - Make sure you have Node installed
For Mac/ Linux:
- If you don't have homebrew installed already, you might need to do this too.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Note: If you have issues doing this in the Terminal, you can download the installer here.
brew install node
- Download the installer here
npm install @aflr/audiostack
Step 5 - Copy and Paste the Quick Start Code
Want to try a low cost voice to test out how the API works?
We keep one of our Retro voices available for this purpose - try using "Rollingthunder" to reduce the number of credits you use up for this test.
Keep your API key safe
Remember, your API key is like a password, so you should keep it safe and avoid sharing it with anyone, including in shared or public repositories.
Step 6 - Run your code
You just generated your first audio asset using AudioStack.
Updated about 1 month ago