Skip to main content

Function: generateImage()

generateImage(data, runtime): Promise<object>

Parameters

data

data.count?: number

data.height: number

data.prompt: string

data.width: number

runtime: IAgentRuntime

Returns

Promise<object>

data?

optional data: string[]

error?

optional error: any

success

success: boolean

Defined in

packages/core/src/generation.ts:650