AudioService class

Constructors

AudioService({required String baseUrl, required bool secure})

Properties

baseUrl String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secure bool
final

Methods

createSpeech({required String apiKey, required String organizationId, required GptSpeechRequest request}) Future<Uint8List>
Generates audio from the input text.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transcribeAudio({required String apiKey, required String organizationId, required GptAudioTranscriptionRequest request, required Uint8List fileBytes}) Future<GptTranscriptionObject>
Transcribes audio into the input language.
translateAudio({required String apiKey, required String organizationId, required GptAudioTranslationRequest request, required Uint8List fileBytes}) Future<GptTranslationObject>
Translates audio into English.

Operators

operator ==(Object other) bool
The equality operator.
inherited