Table of Contents

Method SynthesizeAsync

Namespace
Oscova.Agents.Speech
Assembly
Oscova.Agents.dll

SynthesizeAsync(string, SpeechProviderConfig, string?, SpeechSynthesisRequest, CancellationToken)

Synthesizes speech for the supplied request.

Task<SpeechSynthesisResponse> SynthesizeAsync(string userId, SpeechProviderConfig config, string? apiKey, SpeechSynthesisRequest request, CancellationToken ct = default)

Parameters

userId string
config SpeechProviderConfig
apiKey string?
request SpeechSynthesisRequest
ct CancellationToken

Returns

Task<SpeechSynthesisResponse>