Skip to content

GenerateSpeechRequest

Namespace: Vercel.AI.Operations

public sealed class GenerateSpeechRequest : OperationRequest

Options for CancellationToken).

Inheritance: object → OperationRequest

View source

public string? Instructions { get; set; }

Speaking instructions.

Value: string

View source

public string? Language { get; set; }

Language code or auto.

Value: string

View source

public ISpeechCaller? Model { get; set; }

Speech model.

Value: ISpeechCaller

View source

public string? OutputFormat { get; set; }

Output format such as mp3 or pcm.

Value: string

View source

public double? Speed { get; set; }

Playback speed.

Value: double?

View source

public string Text { get; set; }

Text to speak.

Value: string

View source

public string? Voice { get; set; }

Voice id.

Value: string

View source

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