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
userIdstringconfigSpeechProviderConfigapiKeystring?requestSpeechSynthesisRequestctCancellationToken