Get Your API Key
Before you can use the Suonora API, you’ll need an API key to authenticate your requests.Find Your API Key
Find Your API Key
You can get your API key by signing into your Suonora account and navigating to the API Keys section on your dashboard.Copy your secret API key and keep it secure. You will use this key in the
Authorization
header for every API request.Generate Your First Audio
This example will guide you through creating your first audio file from text using a simplecURL
command.
The API Request
Send a POST request to /speech
Send a POST request to /speech
Use the following command in your terminal to generate an audio file. Remember to replace
YOUR_API_KEY
with your actual secret key.This command will create a file named
suonora_speech.mp3
in the same directory where you run it.