AIC. - Artificial Intelligence Command

<< Click to Display Table of Contents >>

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

AIC. - Artificial Intelligence Command

AIC.GenerateImage

Top


MiniRobotLanguage (MRL)

 

AIC.GenerateImage

DALL-E image generation

 

Intention

 

The AIC.GenerateImage command creates images from text descriptions using OpenAI's DALL-E models (DALL-E 2 or DALL-E 3). Generated images can be saved to a specified path.

 

Syntax

 

AIC.GenerateImage|$$Prompt|$$SavePath[|$$RetVar]

 

P1 - $$Prompt - Text description of image to generate

P2 - $$SavePath - Full path to save image (PNG)

P3 - $$RetVar (optional) - Returns image URL or path

 

Example

 

' Generate an image

AIC.GenerateImage|A cat wearing sunglasses|C:\Images\coolcat.png|$$Result

 

' Use DALL-E 3 for better quality

AIC.SetDalleModel|dall-e-3

AIC.GenerateImage|Futuristic city skyline|C:\Images\city.png

 

Related Commands

 

- AIC.SetDalleModel - Set DALL-E version

- AIC.SetImageSize - Set image dimensions