Class GoogleGenAiBatchImageModel.Builder
java.lang.Object
dev.langchain4j.model.google.genai.GoogleGenAiBatchImageModel.Builder
- Enclosing class:
GoogleGenAiBatchImageModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiEndpoint(String apiEndpoint) aspectRatio(String aspectRatio) build()client(com.google.genai.Client client) customHeaders(Map<String, String> customHeaders) googleCredentials(com.google.auth.oauth2.GoogleCredentials credentials) maxRetries(Integer maxRetries) personGeneration(String personGeneration) safetySettings(List<com.google.genai.types.SafetySetting> safetySettings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
client
-
googleCredentials
public GoogleGenAiBatchImageModel.Builder googleCredentials(com.google.auth.oauth2.GoogleCredentials credentials) -
apiKey
-
projectId
-
location
-
modelName
-
maxRetries
-
timeout
-
aspectRatio
-
imageSize
-
personGeneration
-
safetySettings
public GoogleGenAiBatchImageModel.Builder safetySettings(List<com.google.genai.types.SafetySetting> safetySettings) -
apiEndpoint
-
customHeaders
-
labels
-
build
-