AIC Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command >

AIC Commands

AIC_---Artificial-Intelligenc2

Previous Top Next


Description

Short Name: gic

Generate image to clipboard

Syntax

AIC_---Artificial-Intelligenc2(Prompt)

Parameters

Parameter

Type

Required

Description

Prompt

String

Yes

Text description of the image to generate

Return Value

Type

Description

Long

Returns 1 on success, 0 on failure

Remarks

·Uses DALL-E API to generate images

·Image is copied to system clipboard

·Also saves to configured folder

Example

' Generate image and copy to clipboardDim result As Longresult = AIC_---Artificial-Intelligenc2("A red apple on a table")If result = 1 ThenPrint "Image generated and copied"End If

Generates an image from the prompt and copies it to the clipboard.

See Also

·AIC_---Artificial-Intelligenc2

·AIC_---Artificial-Intelligenc2