Package dev.langchain4j.model.vertexai
Class VertexAiImageModel.Builder
java.lang.Object
dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
- Enclosing class:
VertexAiImageModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaspectRatio
(VertexAiImageModel.AspectRatio aspectRatio) build()
compressionQuality
(Integer compressionQuality) guidanceScale
(Integer guidanceScale) logRequests
(Boolean logRequests) logResponses
(Boolean logResponses) maxRetries
(Integer maxRetries) mimeType
(VertexAiImageModel.MimeType mimeType) negativePrompt
(String negativePrompt) persistToCloudStorage
(String gcsUri) personGeneration
(VertexAiImageModel.PersonGeneration personGeneration) sampleImageSize
(Integer sampleImageSize) sampleImageStyle
(VertexAiImageModel.ImageStyle sampleImageStyle)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpoint
-
project
-
location
-
publisher
-
modelName
-
seed
-
language
-
guidanceScale
-
negativePrompt
-
sampleImageStyle
-
sampleImageSize
-
aspectRatio
-
mimeType
-
compressionQuality
-
personGeneration
public VertexAiImageModel.Builder personGeneration(VertexAiImageModel.PersonGeneration personGeneration) -
watermark
-
maxRetries
-
persistToCloudStorage
-
withPersisting
-
persistTo
-
logRequests
-
logResponses
-
build
-