Interface: IImageGenerationBrainCapability
services.IImageGenerationBrainCapability
Extends IBrainCapability for image generation capabilities.
Hierarchy
↳
IImageGenerationBrainCapability
Table of contents
Methods
Methods
generateImage
▸ generateImage(prompts
, options?
): Promise
\<BrainResponse
>
Generates an image based on the provided prompts.
Parameters
Name | Type | Description |
---|---|---|
prompts | ImageGenerationBrainPrompt [] | Array of ImageGenerationBrainPrompt objects. |
options? | PromptOptions | Optional PromptOptions. |
Returns
Promise
\<BrainResponse
>
A promise resolving to a BrainResponse.