Class StyleStage<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.StyleStage<R,E>
- All Implemented Interfaces:
IntermediateStage
public class StyleStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest,E extends RuntimeSelectionStage>
extends ImageConfigurationStage<R>
implements IntermediateStage
A stage to choose the style of the images generated.
Currently, this is supported only by dall-e-3 model, therefore applicable only for creating images.
-
Method Details
-
vivid
Sets the style to vivid. Causes the model to lean towards generating hyper-real and dramatic images.
- Returns:
QualityStageto configure the quality of the images.
-
natural
Sets the style to natural. Causes the model to produce more natural, less hyper-real looking images, closer to the dall-e-2 style.
- Returns:
QualityStageto configure the quality of the images.
-
unstyled
Sets the style to natural. Causes the model to produce more natural, less hyper-real looking images, closer to the dall-e-2 style.
- Returns:
QualityStageto configure the quality of the images.
-