Member Junction
    Preparing search index...

    Class ImageVariationParams

    Parameters for creating image variations

    Index

    Constructors

    Properties

    image: string | Buffer

    The original image to create variations of. Can be a Buffer, base64 string, or URL.

    model?: string

    Model name/ID to use for variations

    n?: number = 1

    Number of variations to generate

    outputFormat?: ImageResponseFormat = 'b64_json'

    How the result should be returned

    prompt?: string

    Optional prompt to guide the variation

    providerOptions?: Record<string, unknown>

    Provider-specific additional parameters

    size?: string

    Size of the output image(s)

    strength?: number

    Strength of variation (0-1). Higher values create more different images.