Skip to content

consts

KNOWN_IMAGE_SAMPLERS

Bases: StrEnum

The samplers that are known to the API.

(k_lms, k_heun, DDIM, etc)

Source code in horde_sdk/generation_parameters/image/consts.py
class KNOWN_IMAGE_SAMPLERS(StrEnum):
    """The samplers that are known to the API.

    (k_lms, k_heun, DDIM, etc)
    """

    k_lms = auto()
    k_heun = auto()
    k_euler = auto()
    k_euler_a = auto()
    k_dpm_2 = auto()
    k_dpm_2_a = auto()
    k_dpm_fast = auto()
    k_dpm_adaptive = auto()
    k_dpmpp_2s_a = auto()
    k_dpmpp_2m = auto()
    dpmsolver = auto()
    k_dpmpp_sde = auto()
    lcm = auto()
    DDIM = "DDIM"

k_lms class-attribute instance-attribute

k_lms = auto()

k_heun class-attribute instance-attribute

k_heun = auto()

k_euler class-attribute instance-attribute

k_euler = auto()

k_euler_a class-attribute instance-attribute

k_euler_a = auto()

k_dpm_2 class-attribute instance-attribute

k_dpm_2 = auto()

k_dpm_2_a class-attribute instance-attribute

k_dpm_2_a = auto()

k_dpm_fast class-attribute instance-attribute

k_dpm_fast = auto()

k_dpm_adaptive class-attribute instance-attribute

k_dpm_adaptive = auto()

k_dpmpp_2s_a class-attribute instance-attribute

k_dpmpp_2s_a = auto()

k_dpmpp_2m class-attribute instance-attribute

k_dpmpp_2m = auto()

dpmsolver class-attribute instance-attribute

dpmsolver = auto()

k_dpmpp_sde class-attribute instance-attribute

k_dpmpp_sde = auto()

lcm class-attribute instance-attribute

lcm = auto()

DDIM class-attribute instance-attribute

DDIM = 'DDIM'

KNOWN_IMAGE_SCHEDULERS

Bases: StrEnum

The schedulers that are known to the API.

(normal, karras, exponential, etc)

Source code in horde_sdk/generation_parameters/image/consts.py
class KNOWN_IMAGE_SCHEDULERS(StrEnum):
    """The schedulers that are known to the API.

    (normal, karras, exponential, etc)
    """

    normal = auto()
    karras = auto()
    exponential = auto()
    sgm_uniform = auto()
    simple = auto()
    ddim_uniform = auto()
    beta = auto()
    linear_quadratic = auto()
    kl_optimal = auto()

normal class-attribute instance-attribute

normal = auto()

karras class-attribute instance-attribute

karras = auto()

exponential class-attribute instance-attribute

exponential = auto()

sgm_uniform class-attribute instance-attribute

sgm_uniform = auto()

simple class-attribute instance-attribute

simple = auto()

ddim_uniform class-attribute instance-attribute

ddim_uniform = auto()

beta class-attribute instance-attribute

beta = auto()

linear_quadratic class-attribute instance-attribute

linear_quadratic = auto()

kl_optimal class-attribute instance-attribute

kl_optimal = auto()

KNOWN_IMAGE_CONTROLNETS

Bases: StrEnum

The controlnets that are known to the API.

Source code in horde_sdk/generation_parameters/image/consts.py
class KNOWN_IMAGE_CONTROLNETS(StrEnum):
    """The controlnets that are known to the API."""

    canny = auto()
    hed = auto()
    depth = auto()
    normal = auto()
    openpose = auto()
    seg = auto()
    scribble = auto()
    fakescribbles = auto()
    hough = auto()

canny class-attribute instance-attribute

canny = auto()

hed class-attribute instance-attribute

hed = auto()

depth class-attribute instance-attribute

depth = auto()

normal class-attribute instance-attribute

normal = auto()

openpose class-attribute instance-attribute

openpose = auto()

seg class-attribute instance-attribute

seg = auto()

scribble class-attribute instance-attribute

scribble = auto()

fakescribbles class-attribute instance-attribute

fakescribbles = auto()

hough class-attribute instance-attribute

hough = auto()

KNOWN_IMAGE_SOURCE_PROCESSING

Bases: StrEnum

The source processing methods that are known to the API.

(txt2img, img2img, inpainting, etc)

Source code in horde_sdk/generation_parameters/image/consts.py
class KNOWN_IMAGE_SOURCE_PROCESSING(StrEnum):
    """The source processing methods that are known to the API.

    (txt2img, img2img, inpainting, etc)
    """

    txt2img = auto()
    img2img = auto()
    inpainting = auto()
    outpainting = "inpainting"
    """Outpainting is just"""
    remix = auto()
    """Stable Cascade Remix"""

txt2img class-attribute instance-attribute

txt2img = auto()

img2img class-attribute instance-attribute

img2img = auto()

inpainting class-attribute instance-attribute

inpainting = auto()

outpainting class-attribute instance-attribute

outpainting = 'inpainting'

Outpainting is just

remix class-attribute instance-attribute

remix = auto()

Stable Cascade Remix

TI_TRIGGER_INJECT_CHOICE

Bases: StrEnum

The TI trigger inject choices that are known to the API.

Source code in horde_sdk/generation_parameters/image/consts.py
class TI_TRIGGER_INJECT_CHOICE(StrEnum):
    """The TI trigger inject choices that are known to the API."""

    NO_INJECT = auto()
    """No injection - the model either does not require it or the user will add the trigger manually."""

    POSITIVE_PROMPT = auto()
    """Injects into the 'positive' prompt."""

    NEGATIVE_PROMPT = auto()
    """Injects into the 'negative' prompt."""

NO_INJECT class-attribute instance-attribute

NO_INJECT = auto()

No injection - the model either does not require it or the user will add the trigger manually.

POSITIVE_PROMPT class-attribute instance-attribute

POSITIVE_PROMPT = auto()

Injects into the 'positive' prompt.

NEGATIVE_PROMPT class-attribute instance-attribute

NEGATIVE_PROMPT = auto()

Injects into the 'negative' prompt.

LORA_TRIGGER_INJECT_CHOICE

Bases: StrEnum

The LoRa trigger inject choices that are known to the API.

Source code in horde_sdk/generation_parameters/image/consts.py
class LORA_TRIGGER_INJECT_CHOICE(StrEnum):
    """The LoRa trigger inject choices that are known to the API."""

    NO_INJECT = auto()
    """No injection - the model either does not require it or the user will add the trigger manually."""

    EXACT_POSITIVE = auto()
    """Injects the exact specified trigger term into the 'positive' prompt."""

    EXACT_NEGATIVE = auto()
    """Injects the exact specified trigger term into the 'negative' prompt."""

    FUZZY_POSITIVE = auto()
    """Attempt to match the specified trigger term to a published trigger term into the 'positive' prompt."""

    FUZZY_NEGATIVE = auto()
    """Attempt to match the specified trigger term to a published trigger term into the 'negative' prompt."""

NO_INJECT class-attribute instance-attribute

NO_INJECT = auto()

No injection - the model either does not require it or the user will add the trigger manually.

EXACT_POSITIVE class-attribute instance-attribute

EXACT_POSITIVE = auto()

Injects the exact specified trigger term into the 'positive' prompt.

EXACT_NEGATIVE class-attribute instance-attribute

EXACT_NEGATIVE = auto()

Injects the exact specified trigger term into the 'negative' prompt.

FUZZY_POSITIVE class-attribute instance-attribute

FUZZY_POSITIVE = auto()

Attempt to match the specified trigger term to a published trigger term into the 'positive' prompt.

FUZZY_NEGATIVE class-attribute instance-attribute

FUZZY_NEGATIVE = auto()

Attempt to match the specified trigger term to a published trigger term into the 'negative' prompt.

KNOWN_IMAGE_WORKFLOWS

Bases: StrEnum

The controlnets that are known to the API.

Source code in horde_sdk/generation_parameters/image/consts.py
class KNOWN_IMAGE_WORKFLOWS(StrEnum):
    """The controlnets that are known to the API."""

    qr_code = auto()

qr_code class-attribute instance-attribute

qr_code = auto()

CLIP_SKIP_REPRESENTATION

Bases: StrEnum

The CLIP skip representations that are known.

Source code in horde_sdk/generation_parameters/image/consts.py
class CLIP_SKIP_REPRESENTATION(StrEnum):
    """The CLIP skip representations that are known."""

    NEGATIVE_OFFSET = auto()
    """CLIP skip is used with a negative offset.

    For example, -1 means "no skipped layers" and -2 means "skip the last layer". This is the case for comfyui.
    """

    POSITIVE_OFFSET = auto()
    """CLIP skip is used with a positive offset.

    For example, 1 means "skip no layers" and 2 means "skip the first layer". This is the case for many frontends.
    """

NEGATIVE_OFFSET class-attribute instance-attribute

NEGATIVE_OFFSET = auto()

CLIP skip is used with a negative offset.

For example, -1 means "no skipped layers" and -2 means "skip the last layer". This is the case for comfyui.

POSITIVE_OFFSET class-attribute instance-attribute

POSITIVE_OFFSET = auto()

CLIP skip is used with a positive offset.

For example, 1 means "skip no layers" and 2 means "skip the first layer". This is the case for many frontends.