v1SpeechToTextPost method
Future<Response<SpeechToTextChunkResponseModel> >
v1SpeechToTextPost({
- bool? enableLogging,
- String? xiApiKey,
- required BodySpeechToTextV1SpeechToTextPost body,
Speech To Text @param enable_logging When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers. @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Implementation
Future<chopper.Response<SpeechToTextChunkResponseModel>> v1SpeechToTextPost({
bool? enableLogging,
String? xiApiKey,
required BodySpeechToTextV1SpeechToTextPost body,
}) {
generatedMapping.putIfAbsent(
SpeechToTextChunkResponseModel,
() => SpeechToTextChunkResponseModel.fromJsonFactory,
);
return _v1SpeechToTextPost(
enableLogging: enableLogging,
xiApiKey: xiApiKey?.toString(),
body: body,
);
}