stability method
Sets stability parameter for ElevenLabs TTS (0.0-1.0)
Controls the stability of the voice. Higher values make the voice more consistent but potentially less expressive. Lower values make it more variable and expressive but potentially less consistent.
- 0.0: Maximum variability and expressiveness
- 1.0: Maximum stability and consistency
- Default: Usually around 0.75
Implementation
ElevenLabsBuilder stability(double stability) {
_baseBuilder.extension('stability', stability);
return this;
}