Learn how to make your first API request.
.zshrc
file or another text file on your computer. Once you’ve generated an API key, export it as an environment variable in your terminal.
example.mjs
and copy one of the following examples into it:node example.mjs
(or the equivalent command for Deno or Bun). In a few seconds, you should hear the audio play through your speaker.