Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
Generates audio from the input text.
Link copied to clipboard
class SpeechRequestBuilder
A speech request builder.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TranscriptionRequest(val audio: FileSource, val model: ModelId, val prompt: String? = null, val responseFormat: AudioResponseFormat? = null, val temperature: Double? = null, val language: String? = null, val timestampGranularities: List<TimestampGranularity>? = null)
Request to transcribe audio into the input language.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TranslationRequest(val audio: FileSource, val model: ModelId, val prompt: String? = null, val responseFormat: String? = null, val temperature: Double? = null)
Request to translate an audio into english.
Link copied to clipboard
Functions
Link copied to clipboard
Creates a new SpeechRequest instance.
Link copied to clipboard
Creates a transcription request.
Link copied to clipboard
Creates a translation request.