node.js
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)"
Converts text to speech and returns MP3 audio
Your API key as a Bearer token
Successful response with binary audio data
Raw MP3 audio data as binary blob