Module: RunApi::OpenaiTts
- Defined in:
- lib/runapi/openai_tts.rb,
lib/runapi/openai_tts/types.rb,
lib/runapi/openai_tts/client.rb,
lib/runapi/openai_tts/contract_gen.rb,
lib/runapi/openai_tts/resources/text_to_speech.rb
Defined Under Namespace
Modules: Resources, Types Classes: Client
Constant Summary collapse
- AuthenticationError =
RunApi::Core::AuthenticationError
- RateLimitError =
RunApi::Core::RateLimitError
- InsufficientCreditsError =
RunApi::Core::InsufficientCreditsError
- NotFoundError =
RunApi::Core::NotFoundError
- ValidationError =
RunApi::Core::ValidationError
- CONTRACT =
{ "text-to-speech" => { "models" => ["tts-1", "tts-1-hd"], "fields_by_model" => { "tts-1" => { "text" => { "required" => true, "max" => 4096, "length" => true } }, "tts-1-hd" => { "text" => { "required" => true, "max" => 4096, "length" => true } } } } }.freeze