Skip to content

HumeSpeechRequest

Namespace: Vercel.AI.Hume

public sealed class HumeSpeechRequest

Hume speech request.

Inheritance: object

View source

public HumeSpeechRequest(string text)

Creates a speech request.

Parameters

Name Type Description
text string

View source

public const string DefaultVoiceId = "d8ab67c6-953d-4bd8-9370-8fa53a0f1453"

Default Hume voice used when the caller does not set one.

Value: string

View source

public IDictionary<string, string>? Headers { get; set; }

Headers merged over the provider headers.

Value: IDictionary<string, string>

View source

public string? Language { get; set; }

Ignored. Hume does not accept a language.

Value: string

View source

public string OutputFormat { get; set; }

Output container. mp3, pcm, and wav are sent as-is.

Value: string

View source

public double? Speed { get; set; }

Speaking rate, when set.

Value: double?

View source

public string Text { get; }

Text to speak.

Value: string

View source

public string? Voice { get; set; }

Voice id. Null selects DefaultVoiceId.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product