@squidcloud/client
    Preparing search index...

    Interface StableDiffusionCoreOptions

    Options for generating images using the Stable Diffusion Core model.

    interface StableDiffusionCoreOptions {
        aspectRatio?:
            | "16:9"
            | "1:1"
            | "21:9"
            | "2:3"
            | "3:2"
            | "4:5"
            | "5:4"
            | "9:16"
            | "9:21";
        modelName: "stable-diffusion-core";
        negativePrompt?: string;
        outputFormat?: "jpeg"
        | "png"
        | "webp";
        seed?: number;
        stylePreset?:
            | "analog-film"
            | "anime"
            | "cinematic"
            | "comic-book"
            | "digital-art"
            | "enhance"
            | "fantasy-art"
            | "isometric"
            | "line-art"
            | "low-poly"
            | "modeling-compound"
            | "neon-punk"
            | "origami"
            | "photographic"
            | "pixel-art"
            | "tile-texture";
    }

    Hierarchy (View Summary)

    Index

    Properties

    aspectRatio?:
        | "16:9"
        | "1:1"
        | "21:9"
        | "2:3"
        | "3:2"
        | "4:5"
        | "5:4"
        | "9:16"
        | "9:21"

    The aspect ratio of the generated image; defaults to '1:1'.

    modelName: "stable-diffusion-core"

    Specifies the Stable Diffusion Core model for image generation.

    negativePrompt?: string

    An optional negative prompt to guide what to exclude from the image.

    outputFormat?: "jpeg" | "png" | "webp"

    The format of the output image; defaults to 'png'.

    seed?: number

    A random seed for reproducible generation, if specified.

    stylePreset?:
        | "analog-film"
        | "anime"
        | "cinematic"
        | "comic-book"
        | "digital-art"
        | "enhance"
        | "fantasy-art"
        | "isometric"
        | "line-art"
        | "low-poly"
        | "modeling-compound"
        | "neon-punk"
        | "origami"
        | "photographic"
        | "pixel-art"
        | "tile-texture"

    A style preset to apply to the generated image, if specified.