Method SynthesizeAsync
- Namespace
- Oscova.Agents.Speech
- Assembly
- Oscova.Agents.dll
SynthesizeAsync(SpeechProviderConfig, string?, string, SpeechSynthesisRequest, bool, CancellationToken)
Synthesizes speech through the configured provider.
public Task<SpeechSynthesisResponse> SynthesizeAsync(SpeechProviderConfig config, string? apiKey, string userId, SpeechSynthesisRequest request, bool requireLocalEndpoint, CancellationToken ct = default)Parameters
configSpeechProviderConfigapiKeystring?userIdstringrequestSpeechSynthesisRequestrequireLocalEndpointboolctCancellationToken