SDO. Stable Diffusion Online

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > SD - Stable Diffusion AI > SDO. Stable Diffusion Online >

SDO. Stable Diffusion Online

SDO.Generate Picture

Previous Top Next


MiniRobotLanguage (MRL)

 

SDO.Generate Picture

Generate images based on a given positive and optional negative prompt using the Stable Diffusion Online (SDO) suite of commands.

 

Temp_3

Created using the Script below with SDO.gpi

 

Intention

 

The "SDO.Generate Picture" command is designed to create visual content based on textual prompts using the Stable Diffusion Online (SDO) suite of commands. This command takes a positive prompt, an optional negative prompt, and an optional variable to store the filenames of the created files.

The generated images are saved as "Temp_[number].png" in the ?exeloc\ directory (the path where the script is running).

 

The number of pictures that shall be generated in one run, can be set using the Command:

 
' Create only 1 picture, name is "Temp_1.png"

SDO.Set Samples|1

' Created 10 Pictures in one run.

SDO.Set Samples|10

 

 

Syntax

 

 

SDO.Generate Picture|P1[|P2][|P3]

SDO.gpi|P1[|P2][|P3]

 

 

 

Parameter Explanation

 

P1: (Required) The positive prompt made from words or phrases, which guides the generation of the image.

 

P2: (Optional) The negative prompt made from words or phrases, which guides what the generated image should not include.

 

P3: (Optional) A variable that will be used to store the filenames of the created files. If omitted, the filenames are store on TOS.

  P3 could look like this, the pathes are separated using the "*".

C:\temp\Temp_1.png*C:\temp\Temp_2.png*C:\temp\Temp_3.png

 

 

 

Example

 

'***********************************

' SDO.-Sample

'***********************************

SDO.SetKey|File

SDO.SetSize|512|512|stable-diffusion-v1-5

SDO.Set_Samples|3

$$PRO=blonde women, natural smile, beautiful,long hair rainbow colors,honeycomb, natural, a rainbow

$$NEG=ugly

SDO.Set Style|3

SDO.gpi|$$PRO|$$NEG|$$RET

DBP.$$RET

ENR.

 

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: