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.
-
-
Field Summary
-
Fields inherited from class bg.codexio.ai.openai.api.sdk.images.ImageConfigurationStage
builder, executor
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QualityStage<R,E>natural()Sets the style to natural.QualityStage<R,E>unstyled()Sets the style to natural.QualityStage<R,E>vivid()Sets the style to vivid.
-
-
-
Method Detail
-
vivid
public QualityStage<R,E> 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
public QualityStage<R,E> 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
public QualityStage<R,E> 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.
-
-