Skip to main content

Interface: IImageGenerationBrainCapability

services.IImageGenerationBrainCapability

Extends IBrainCapability for image generation capabilities.

Hierarchy

Table of contents

Methods

Methods

generateImage

generateImage(prompts, options?): Promise\<BrainResponse>

Generates an image based on the provided prompts.

Parameters

NameTypeDescription
promptsImageGenerationBrainPrompt[]Array of ImageGenerationBrainPrompt objects.
options?PromptOptionsOptional PromptOptions.

Returns

Promise\<BrainResponse>

A promise resolving to a BrainResponse.

Defined in

src/services/brainClientService.ts:186