Experimental
Experimental
Terminates the WebSocket connection.
Experimental
Temporarily halt the music stream. Use play
to resume from the current
position.
Experimental
Start the music stream.
Experimental
Resets the context of the music generation without stopping it. Retains the current prompts and config.
Experimental
Sets 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.Experimental
Sets 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.Experimental
Stop the music stream and reset the state. Retains the current prompts and config.
Represents a connection to the API.