Class QualityStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest,E extends RuntimeSelectionStage>
java.lang.Object
bg.codexio.ai.openai.api.sdk.images.ImageConfigurationStage<R>
bg.codexio.ai.openai.api.sdk.images.QualityStage<R,E>
- All Implemented Interfaces:
IntermediateStage
public class QualityStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest,E extends RuntimeSelectionStage>
extends ImageConfigurationStage<R>
implements IntermediateStage
A stage to choose the quality of the images generated.
Currently, this is supported only by dall-e-3 model, therefore applicable only for creating images.
-
Field Summary
Fields inherited from class bg.codexio.ai.openai.api.sdk.images.ImageConfigurationStage
builder, executor -
Method Summary
Modifier and TypeMethodDescriptionSets the quality to HD.Sets the quality to Standard.
-
Method Details
-
highDefinitioned
Sets the quality to HD. The images will be with finer details and greater consistency across the image. This might increase the tokens usage.
- Returns:
Dalle3SizeStageto configure the dimensions of the images.
-
standardQuality
Sets the quality to Standard. This might increase the tokens usage.
- Returns:
Dalle3SizeStageto configure the dimensions of the images.
-