Skip to content

ImgGeneratorToolParams

ImgGeneratorToolParams = object

Defined in: .build/typescript/packages/tools/src/tools/img-gen.ts:16

optional outputDir: string

Defined in: .build/typescript/packages/tools/src/tools/img-gen.ts:18

Directory where generated images will be saved


apiKey: string

Defined in: .build/typescript/packages/tools/src/tools/img-gen.ts:20

STABILITY_API_KEY key is required to run image generator. Get it here: https://platform.stability.ai/account/keys


optional outputFormat: string

Defined in: .build/typescript/packages/tools/src/tools/img-gen.ts:22

Output format of the generated image


optional fileServerURLPrefix: string

Defined in: .build/typescript/packages/tools/src/tools/img-gen.ts:24

Prefix for the file server URL