Speech Sessions

Create speech session

speech.sessions.create(body: SpeechSessionParams): SpeechSession
WSS
wss://api.lmnt.com/v1/ai/speech/stream

Stream text to our servers and receive generated speech in real-time. Great for latency-sensitive applications and situations where you don't have all the text upfront.

Models


class SpeechSessionError: …
class ErrorBody: …
class SpeechSessionFinish: …
class SpeechSessionFlush: …
class SpeechSessionFlushComplete: …
class SpeechSessionInit: …
class SpeechSessionReady: …
class SpeechSessionReset: …
class SpeechSessionResetComplete: …
class SpeechSessionText: …
class Timestamp: …
class SpeechSessionTimestamps: …