An object containing parameters for defining the OpenAI speech model.
The OpenAI client instance.
OptionalmodelRef?: ModelReference<CustomOptions>Optional reference to the model's configuration and custom options.
The name of the model.
OptionalrequestBuilder?: SpeechRequestBuilderthe created ModelAction
Method to define a new Genkit Model that is compatible with the Open AI Audio API.
These models are to be used to create audio speech from a given request.