View Source ExOpenAI.Components.CreateVoiceRequest (ex_openai.ex v2.0.0-beta2)
Module for representing the OpenAI schema CreateVoiceRequest.
Fields
:audio_sample- required -binary()
The sample audio recording file. Maximum size is 10 MiB.
Supported MIME types:
audio/mpeg, audio/wav, audio/x-wav, audio/ogg, audio/aac, audio/flac, audio/webm, audio/mp4.
Format: binary
:consent- required -String.t()
The consent recording ID (for example,cons_1234).:name- required -String.t()
The name of the new voice.