An object containing parameters for defining the OpenAI image model.
The OpenAI client instance.
OptionalmodelRef?: ModelReference<CustomOptions>Optional reference to the model's configuration and custom options.
The name of the model.
OptionalpluginOptions?: PluginOptionsOptionalrequestBuilder?: ImageRequestBuilderthe created ModelAction
Method to define a new Genkit Model that is compatible with Open AI Images API.
These models are to be used to create images from a user prompt.