Class AIModelStage<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest,E extends RuntimeSelectionStage>
- All Implemented Interfaces:
IntermediateStage
As for the current version of the API, this step is supported only for creating images. All other images related actions support dall-e-2 only.
-
Field Summary
Fields inherited from class bg.codexio.ai.openai.api.sdk.images.ImageConfigurationStage
builder, executor -
Method Summary
Modifier and TypeMethodDescriptionConfigures the AI Model to beDallE20Configures the AI Model to beDallE20StyleStage<R, E> Configures the AI Model to beDallE30
-
Method Details
-
poweredByDallE2
Configures the AI Model to beDallE20This model is the default model for images generation and the ancestor of the most recent dall-e-3 model. It can create original, realistic images based on other art or text description. Keep in mind that images may be more cartoon-ish looking and more similar to each other.
- Returns:
ChoicesStageto configure the choices count.
-
poweredByDallE3
Configures the AI Model to beDallE30This model is the most modern model for images generation and the successor of the default dall-e-2 model. It understands significantly more nuance and detail compared to the earlier systems. Creates accurate images by directly translating the provided instructions.
Note: Currently supports only images generation and is slightly more expensive in tokens
- Returns:
ChoicesStageto configure the choices count.
-
defaultModel
Configures the AI Model to beDallE20This model is the default model for images generation and the ancestor of the most recent dall-e-3 model. It can create original, realistic images based on other art or text description. Keep in mind that images may be more cartoon-ish looking and more similar to each other.
- Returns:
ChoicesStageto configure the choices count.
-