Package dev.langchain4j.model.workersai
Enum Class WorkersAiImageModelName
- All Implemented Interfaces:
Serializable
,Comparable<WorkersAiImageModelName>
,Constable
Enum for Workers AI Omage Model Name.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionStable Diffusion model that has been fine-tuned to be better at photorealism without sacrificing range.Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images.Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask.Diffusion-based text-to-image generative model by Stability AI.SDXL-Lightning is a lightning-fast text-to-image generation model. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static WorkersAiImageModelName
Returns the enum constant of this class with the specified name.static WorkersAiImageModelName[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STABLE_DIFFUSION_XL
Diffusion-based text-to-image generative model by Stability AI. Generates and modify images based on text prompts. -
DREAM_SHAPER_8_LCM
Stable Diffusion model that has been fine-tuned to be better at photorealism without sacrificing range. -
STABLE_DIFFUSION_V1_5_IMG2IMG
Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images. Img2img generate a new image from an input image with Stable Diffusion. -
STABLE_DIFFUSION_V1_5_IN_PAINTING
Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask. -
STABLE_DIFFUSION_XL_LIGHTNING
SDXL-Lightning is a lightning-fast text-to-image generation model. It can generate high-quality 1024px images in a few steps.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<WorkersAiImageModelName>
-