HumeSpeechRequest
Namespace: Vercel.AI.Hume
public sealed class HumeSpeechRequestHume speech request.
Inheritance: object
Constructors
Section titled “Constructors”HumeSpeechRequest(string)
Section titled “HumeSpeechRequest(string)”public HumeSpeechRequest(string text)Creates a speech request.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string |
Fields
Section titled “Fields”DefaultVoiceId
Section titled “DefaultVoiceId”public const string DefaultVoiceId = "d8ab67c6-953d-4bd8-9370-8fa53a0f1453"Default Hume voice used when the caller does not set one.
Value: string
Properties
Section titled “Properties”Headers
Section titled “Headers”public IDictionary<string, string>? Headers { get; set; }Headers merged over the provider headers.
Value: IDictionary<string, string>
Language
Section titled “Language”public string? Language { get; set; }Ignored. Hume does not accept a language.
Value: string
OutputFormat
Section titled “OutputFormat”public string OutputFormat { get; set; }Output container. mp3, pcm, and wav are sent as-is.
Value: string
public double? Speed { get; set; }Speaking rate, when set.
Value: double?
public string Text { get; }Text to speak.
Value: string
public string? Voice { get; set; }Voice id. Null selects DefaultVoiceId.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product