SLNG Text-to-Speech API
string · requiredstring · minLength: 1 · requiredstring · enumstringnumberinteger · min: 0 · max: 99integer · min: 1number · min: 0 · max: 2number · min: 0 · max: 1
sesame/csm:1b - http
POST
https://api.slng.ai
/v1/tts/slng/sesame/csm:1b
Text-to-Speech API for generating speech from text using SLNG sesame/csm. Sesame CSM-1B Conversational Speech Model
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
sesame/csm:1b - http › Request Body
textText to synthesize
voiceVoice ID
Enum values:
conversational_a
conversational_b
read_speech_a
read_speech_b
read_speech_c
read_speech_d
Default: conversational_a
languageLanguage code
speedPlayback speed multiplier
speaker_idSpeaker identifier (0-99)
max_audio_length_msMaximum audio duration in milliseconds
temperatureSampling temperature (0.0-2.0)
top_pNucleus sampling threshold (0.0-1.0)
object[]
Conversation context as an array of prior messages with optional speaker IDs
sesame/csm:1b - http › Responses
Successful synthesis
string · binary
Audio file content