ExperimentalExperimentalTerminates the WebSocket connection.
ExperimentalTemporarily halt the music stream. Use play to resume from the current
position.
ExperimentalStart the music stream.
ExperimentalResets the context of the music generation without stopping it. Retains the current prompts and config.
ExperimentalSets a configuration to the model. Updates the session's current music generation config.
Contains one property, musicGenerationConfig.
musicGenerationConfig to set in the model. Passing an empty or
undefined config to the model will reset the config to defaults.ExperimentalSets inputs to steer music generation. Updates the session's current weighted prompts.
Contains one property, weightedPrompts.
weightedPrompts to send to the model; weights are normalized to
sum to 1.0.ExperimentalStop the music stream and reset the state. Retains the current prompts and config.
Represents a connection to the API.