Audio Generation
Use these models for text-to-speech synthesis and speech-to-text transcription.
Models available
Speech synthesis, and transcription models (filter Speech To Text).
Model ids, current prices, context lengths and per-tier limits are in the console catalog, which is generated from the same records that bill your requests:
console.meganova.ai/serverless — filter by Text To Speech
The same list is available programmatically from GET /v1/models, including pricing and capability flags.
Using the Models
Through API Endpoint
NOTE: Don't forget to use your API key. See Authentication for details on authentication and Create API Key for managing keys.
Text-to-Speech
Using cURL
curl -X POST "https://api.meganova.ai/v1/audio/speech" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MegaNova_API_KEY" \
--data-raw '{
"model": "gemini/gemini-2.5-flash-tts",
"input": "Hello, welcome to MegaNova!",
"voice": "default"
}' \
--output speech.mp3Using Python
Using JavaScript
Speech-to-Text
Using cURL
API Endpoints
/v1/audio/speech
POST
Text-to-Speech generation
/v1/audio/transcriptions
POST
Speech-to-Text transcription
Feel free to refer to the API Reference for more details.
Last updated