Packages

Sans-IO OpenAI API client for Gleam, ported from async-openai

Current section

Files

Jump to
glopenai include glopenai@audio_CreateSpeechRequest.hrl
Raw

include/glopenai@audio_CreateSpeechRequest.hrl

-record(create_speech_request, {
input :: binary(),
model :: glopenai@audio:speech_model(),
voice :: glopenai@audio:voice(),
instructions :: gleam@option:option(binary()),
response_format :: gleam@option:option(glopenai@audio:speech_response_format()),
speed :: gleam@option:option(float()),
stream_format :: gleam@option:option(glopenai@audio:stream_format())
}).