AI::OpenAI::OpenAISpeechProviderOptions
Inherits JSON::Serializable < Struct < Value < Object
OpenAI-specific provider options for speech generation.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
instructions
Instructions for the speech generation (e.g. "Speak in a slow and steady tone"). Does not work with tts-1 or tts-1-hd.