consts
ALCHEMY_PARAMETER_FIELDS
Bases: StrEnum
Field names that commonly appear in alchemy parameter payloads.
Source code in horde_sdk/generation_parameters/alchemy/consts.py
KNOWN_ALCHEMY_FORMS
Bases: StrEnum
Forms (type of services) for alchemist type workers.
(nsfw, caption, interrogation, post_process, etc...)
Source code in horde_sdk/generation_parameters/alchemy/consts.py
vectorize
class-attribute
instance-attribute
Vectorization (raster image -> SVG).
palette
class-attribute
instance-attribute
Dominant-colour palette extraction (raster image -> ordered colour list).
describe
class-attribute
instance-attribute
Technical-metadata bundle (blurhash, perceptual hashes, dimensions, dominant colour).
aesthetic
class-attribute
instance-attribute
LAION aesthetic score (raster image -> 0-10 quality float).
KNOWN_ANNOTATION_CONTROL_TYPES
Bases: StrEnum
The controlnet control-map types the parameterized annotation alchemy form can produce.
This is the closed set the image-utilities backend can serve. It spells the line detector mlsd
(its real name), unlike :class:horde_sdk.generation_parameters.image.consts.KNOWN_IMAGE_CONTROLNETS,
which still spells the same detector hough for image-generation control_type compatibility.
Source code in horde_sdk/generation_parameters/alchemy/consts.py
KNOWN_UPSCALERS
Bases: StrEnum
The upscalers that are known to the API.
(RealESRGAN_x4plus, RealESRGAN_x2plus, RealESRGAN_x4plus_anime_6B, etc)
Source code in horde_sdk/generation_parameters/alchemy/consts.py
BACKEND_DEFAULT
class-attribute
instance-attribute
The default model for the worker backend.
four_4x_AnimeSharp
class-attribute
instance-attribute
AKA 4x_AnimeSharp
four_4xNomosWebPhoto_RealPLKSR
class-attribute
instance-attribute
four_4xNomos2_realplksr_dysample
class-attribute
instance-attribute
KNOWN_FACEFIXERS
Bases: StrEnum
The facefixers that are known to the API.
(CodeFormers, etc)
Source code in horde_sdk/generation_parameters/alchemy/consts.py
BACKEND_DEFAULT
class-attribute
instance-attribute
The default model for the worker backend.
GFPGANv1_3
class-attribute
instance-attribute
GFPGANv1.3: the predecessor GFPGAN weight, more identity-faithful than the default v1.4.
KNOWN_MISC_POST_PROCESSORS
Bases: StrEnum
The misc post processors that are known to the API.
(strip_background, etc)
Source code in horde_sdk/generation_parameters/alchemy/consts.py
KNOWN_CLIP_BLIP_TYPES
Bases: StrEnum
The CLIP and BLIP models that are known to the API.
Source code in horde_sdk/generation_parameters/alchemy/consts.py
KNOWN_INTERROGATORS
Bases: StrEnum
The interrogators that are known to the API.
Source code in horde_sdk/generation_parameters/alchemy/consts.py
BACKEND_DEFAULT
class-attribute
instance-attribute
The default model for the worker backend.
KNOWN_CAPTION_MODELS
Bases: StrEnum
The caption models that are known to the API.
Source code in horde_sdk/generation_parameters/alchemy/consts.py
BACKEND_DEFAULT
class-attribute
instance-attribute
The default model for the worker backend.
BLIP_BASE_SALESFORCE
class-attribute
instance-attribute
KNOWN_ALCHEMY_TYPES
Bases: StrEnum
The alchemy processes (types) that are known to the API.
(caption, GFPGAN, strip_background, etc)
Source code in horde_sdk/generation_parameters/alchemy/consts.py
interrogation
class-attribute
instance-attribute
RealESRGAN_x4plus
class-attribute
instance-attribute
RealESRGAN_x2plus
class-attribute
instance-attribute
RealESRGAN_x4plus_anime_6B
class-attribute
instance-attribute
fourx_AnimeSharp
class-attribute
instance-attribute
four_4xNomos8kSC
class-attribute
instance-attribute
four_4xLSDIRplus
class-attribute
instance-attribute
four_4xNomosWebPhoto_RealPLKSR
class-attribute
instance-attribute
four_4xNomos2_realplksr_dysample
class-attribute
instance-attribute
four_4xNomos2_hq_dat2
class-attribute
instance-attribute
two_2xModernSpanimationV1
class-attribute
instance-attribute
strip_background
class-attribute
instance-attribute
is_upscaler_form
Check if the form is an upscaler form.
Source code in horde_sdk/generation_parameters/alchemy/consts.py
is_facefixer_form
Check if the form is a facefixer form.
Source code in horde_sdk/generation_parameters/alchemy/consts.py
is_interrogator_form
is_caption_form
is_nsfw_detector_form
is_strip_background_form
Check if the form is a strip background form.
is_image_vectorizer_form
Check if the form is an image vectorizer (raster -> SVG) form.
is_palette_form
is_describe_form
Check if the form is a technical-metadata (describe) form.
is_aesthetic_form
is_annotation_form
Check if the form is a controlnet annotation (raster -> control map) form.