struct AI::Google::ImageConfig

Overview

Configuration for the Google image model.

Defined in:

ai/google/google_generative_ai_image_model.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(provider : String, base_url : String, headers : Proc(Hash(String, String)) | Nil = nil, current_date : Proc(Time) | Nil = nil) #

[View source]

Instance Method Detail

def base_url : String #

[View source]
def current_date : Proc(Time) | Nil #

[View source]
def headers : Proc(Hash(String, String)) | Nil #

[View source]
def provider : String #

[View source]