similarityBoost method
Sets similarity boost parameter for ElevenLabs TTS (0.0-1.0)
Controls how closely the AI should adhere to the original voice. Higher values make the output more similar to the original voice, while lower values allow for more creative interpretation.
- 0.0: Maximum creative freedom
- 1.0: Maximum similarity to original voice
- Default: Usually around 0.75
Implementation
ElevenLabsBuilder similarityBoost(double similarityBoost) {
_baseBuilder.extension('similarityBoost', similarityBoost);
return this;
}