<< 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 |
MiniRobotLanguage (MRL)
SDO.Generate to Clipboard
Generate and copy AI-created images to clipboard.
Intention
Generate images based on a given positive prompt and optionally a negative prompt and style, then copy the generated images to the system clipboard. This command uses the Stable Diffusion Online (SDO) suite of commands.
The "SDO.Generate to Clipboard" 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 style parameter. The generated images are then copied directly to the system clipboard, making it easy to paste and use them in other applications or Social Networks like Facebook or "X".
Syntax
SDO.Generate to Clipboard|P1[|P2][|P3]
SDO.gtc|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) The style in which the image will be generated. For details on available styles, see the SDO.Set Style command.
For P3 you can just use a number from the table below. Internally the command calls the Set Style Command.
Case Number |
SD_Style |
0 |
3d-model |
1 |
analog-film |
2 |
anime |
3 |
cinematic |
4 |
comic-book |
5 |
digital-art |
6 |
enhance |
7 |
fantasy-art |
8 |
isometric |
9 |
line-art |
10 |
low-poly |
11 |
modeling-compound |
12 |
neon-punk |
13 |
origami |
14 |
photographic |
15 |
pixel-art |
16 |
tile-texture |
Example
'***********************************
' SDO.-Sample
'***********************************
SDO.SetKey|File
SDO.SetSize|512|512|stable-diffusion-v1-5
SDO.Set_Samples|1
SDO.Set Scale|7
$$PRO=Native Sioux tribe girl age 23 rainbow colors
$$NEG=ugly
' Parameter 3 is the style
SDO.gtc|$$PRO|$$NEG|1
SDL.Get Several|5|$$RET
DBP.Style: $$RET
ENR.
Remarks
-
Limitations:
-
See also:
•