struct

Arcana::AI::TTS::Request

Inherits Struct < Value < Object

Constructors

new(text : String, voice : String = "alloy", model : String = "gpt-4o-mini-tts", response_format : String = "opus", instructions : String | Nil = nil, speed : Float64 | Nil = nil, previous_text : String | Nil = nil, next_text : String | Nil = nil, trace_tags : Hash(String, String) | Nil = nil)
Source

Instance methods

instructions
Source
instructions=(instructions : String | Nil)
Source
model
Source
model=(model : String)
Source
next_text
Source
next_text=(next_text : String | Nil)
Source
previous_text
Source
previous_text=(previous_text : String | Nil)
Source
response_format
Source
response_format=(response_format : String)
Source
speed
Source
speed=(speed : Float64 | Nil)
Source
text
Source
text=(text : String)
Source
trace_tags
Source
trace_tags=(trace_tags : Hash(String, String) | Nil)
Source
voice
Source
voice=(voice : String)
Source