Request
public struct Request<Input, Options, Output>
-
Declaration
Swift
public let input: Input
Available where Input == URL, Options == Predictions.Convert.SpeechToText.Options, Output == AsyncThrowingStream<Predictions.Convert.SpeechToText.Result, Error>
-
Declaration
Swift
static func speechToText(url: URL) -> Predictions.Convert.Request<Input, Options, Output>
Available where Input == String, Options == Predictions.Convert.TextToSpeech.Options, Output == Predictions.Convert.TextToSpeech.Result
-
Declaration
Swift
static func textToSpeech(_ text: String) -> Predictions.Convert.Request<Input, Options, Output>
Available where Input == (String, Predictions.Language?, Predictions.Language?), Options == Predictions.Convert.TranslateText.Options, Output == Predictions.Convert.TranslateText.Result
-
Declaration
Swift
static func translateText( _ text: String, from: Predictions.Language? = nil, to: Predictions.Language? = nil ) -> Self
View on GitHub