MurfOptions

Options & Configuration · AiDotNet.TextToSpeech.ProprietaryAPI

Options for the Murf text-to-speech client (POST /v1/speech/generate).

Inheritance: CloudTtsOptions → MurfOptions

For Beginners

Set ApiKey to your Murf API key.

How It Works

Defaults: the endpoint https://api.murf.ai, the voice en-US-natalie, mono WAV at 24 kHz (Murf offers 8, 24, 44.1 and 48 kHz) returned as base64 (encodeAsBase64, so no file is kept on Murf’s servers). The key goes in the api-key header.

Constructors

Constructor Summary
MurfOptions() Creates the default options.
MurfOptions(MurfOptions other) Initializes a new instance by copying from another instance.

Properties

Property Summary
int? Pitch { get; set; } Gets or sets the pitch adjustment (−50–50), or null for 0.
int? Rate { get; set; } Gets or sets the speed adjustment (−50–50), or null for 0.
string Locale { get; set; } Gets or sets the locale of a multilingual voice, or null.
string Style { get; set; } Gets or sets the voice style, or null for the voice’s default.