@ai16z/eliza v1.0.0 / generateImage
Function: generateImage()
generateImage(
data
,runtime
):Promise
<object
>
Parameters
• data
• data.prompt: string
• data.width: number
• data.height: number
• data.count?: number
• data.negativePrompt?: string
• data.numIterations?: number
• data.guidanceScale?: number
• data.seed?: number
• data.modelId?: string
• data.jobId?: string
• runtime: IAgentRuntime
Returns
Promise
<object
>
success
success:
boolean
data?
optional
data:string
[]
error?
optional
error:any