Skip to main content

Class: AiImageClient

Methods

generate

generate(prompt, options): Promise<string>

Parameters

NameType
promptstring
optionsAiGenerateImageOptions

Returns

Promise<string>


removeBackground

removeBackground(file): Promise<string>

Parameters

NameType
fileFile

Returns

Promise<string>