GenerateSpeechRequest
Namespace: Vercel.AI.Operations
public sealed class GenerateSpeechRequest : OperationRequestOptions for CancellationToken).
Inheritance: object → OperationRequest
Properties
Section titled “Properties”Instructions
Section titled “Instructions”public string? Instructions { get; set; }Speaking instructions.
Value: string
Language
Section titled “Language”public string? Language { get; set; }Language code or auto.
Value: string
public ISpeechCaller? Model { get; set; }Speech model.
Value: ISpeechCaller
OutputFormat
Section titled “OutputFormat”public string? OutputFormat { get; set; }Output format such as mp3 or pcm.
Value: string
public double? Speed { get; set; }Playback speed.
Value: double?
public string Text { get; set; }Text to speak.
Value: string
public string? Voice { get; set; }Voice id.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product