POST
/
audio
/
speech
const result = await suonora.audio.speech({
  input: "Welcome to Suonora TTS!",
  model: "legacy-v2.5",
  voice: "axel",
  style: "cheerful",
  styleDegree: 1.2
});

// Save to file
const fs = require('fs');
fs.writeFileSync("output.mp3", result);
"Binary MP3 data (not shown in documentation)"

Authorizations

Authorization
string
header
required

Your API key as a Bearer token

Body

application/json

Response

200
audio/mpeg

Successful response with binary audio data

Raw MP3 audio data as binary blob