Skip to main content

Interface: Automatic1111ImageGenerationSettings

Hierarchy

Properties

api

Optional api: ApiConfiguration

Defined in

packages/modelfusion/src/model-provider/automatic1111/Automatic1111ImageGenerationModel.ts:26


cfgScale

Optional cfgScale: number

CFG Scale.

Defined in

packages/modelfusion/src/model-provider/automatic1111/Automatic1111ImageGenerationModel.ts:49


height

Optional height: number

Defined in

packages/modelfusion/src/model-provider/automatic1111/Automatic1111ImageGenerationModel.ts:33


model

model: string

Stable Diffusion checkpoint.

Defined in

packages/modelfusion/src/model-provider/automatic1111/Automatic1111ImageGenerationModel.ts:31


numberOfGenerations

Optional numberOfGenerations: number

Number of images to generate.

Specifies the number of images the model should generate for a given prompt.

Does nothing if the model does not support this setting.

Example: numberOfGenerations: 2 // The model will produce 2 images

Inherited from

ImageGenerationModelSettings.numberOfGenerations

Defined in

packages/modelfusion/src/model-function/generate-image/ImageGenerationModel.ts:15


observers

Optional observers: FunctionObserver[]

Observers that are called when the model is used in run functions.

Inherited from

ImageGenerationModelSettings.observers

Defined in

packages/modelfusion/src/model-function/Model.ts:8


sampler

Optional sampler: string

Sampling method.

Defined in

packages/modelfusion/src/model-provider/automatic1111/Automatic1111ImageGenerationModel.ts:39


seed

Optional seed: number

Defined in

packages/modelfusion/src/model-provider/automatic1111/Automatic1111ImageGenerationModel.ts:51


steps

Optional steps: number

Sampling steps.

Defined in

packages/modelfusion/src/model-provider/automatic1111/Automatic1111ImageGenerationModel.ts:44


width

Optional width: number

Defined in

packages/modelfusion/src/model-provider/automatic1111/Automatic1111ImageGenerationModel.ts:34