SmythOS SDK
    Preparing search index...

    Interface TImageGeneratorSettings

    interface TImageGeneratorSettings {
        aspectRatio?: "1:1" | "3:4" | "4:3" | "9:16" | "16:9";
        height?: number;
        isRawInputPrompt?: boolean;
        model: string;
        name?: string;
        negativePrompt?: string;
        outputFormat?: "auto" | "PNG" | "JPEG" | "WEBP" | "jpeg" | "png" | "webp";
        personGeneration?: "dont_allow" | "allow_adult" | "allow_all";
        prompt?: string;
        quality?: "high" | "medium" | "low" | "auto" | "standard" | "hd";
        size?: string;
        sizeDalle2?: "256x256" | "512x512" | "1024x1024";
        sizeDalle3?: "1024x1024" | "1792x1024" | "1024x1792";
        style?: "vivid" | "natural";
        width?: number;
    }
    Index

    Properties

    aspectRatio?: "1:1" | "3:4" | "4:3" | "9:16" | "16:9"

    Aspect Ratio

    height?: number
    isRawInputPrompt?: boolean
    model: string
    name?: string
    negativePrompt?: string

    Negative Prompt

    outputFormat?: "auto" | "PNG" | "JPEG" | "WEBP" | "jpeg" | "png" | "webp"
    personGeneration?: "dont_allow" | "allow_adult" | "allow_all"

    Person Generation

    prompt?: string

    Prompt

    quality?: "high" | "medium" | "low" | "auto" | "standard" | "hd"
    size?: string

    Size

    sizeDalle2?: "256x256" | "512x512" | "1024x1024"
    sizeDalle3?: "1024x1024" | "1792x1024" | "1024x1792"
    style?: "vivid" | "natural"
    width?: number