Skip to main content
the import name is rumikai. everything below is importable from the top level, for example from rumikai import Rumik, AudioChunk, RateLimitError.

clients

Rumik is synchronous, AsyncRumik is asynchronous with the same surface. both are context managers (with / async with) and expose .close(). synthesis lives under the client.speech namespace.

client.speech

stream and session require the ws extra. see synthesis for usage and parameters.

types

Audio

SpeechStream

a context manager. iterate it for raw PCM chunks.

SpeechSession

a context manager. iterate it for events.

events

helpers

exceptions

all inherit from RumikError. see error handling for the full tree.