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.SetImageSize

Top


MiniRobotLanguage (MRL)

 

AIC.SetImageSize

Set image size for generation

 

Intention

 

The AIC.SetImageSize command sets the dimensions for AI-generated images. Supported sizes depend on the model being used (DALL-E 2, DALL-E 3, etc.).

 

Syntax

 

AIC.SetImageSize|$$Size

 

P1 - $$Size - Image dimensions (e.g., 256x256, 512x512, 1024x1024)

 

Example

 

' Set image size for DALL-E

AIC.SetImageSize|1024x1024

AIC.GenerateImage|A cat in a hat|$$ImagePath

 

' Use smaller size for faster generation

AIC.SetImageSize|512x512