<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > SD - Stable Diffusion AI > Stable Diffusion Commands |
MiniRobotLanguage (MRL)
The Prompts are different,and also many Parameters are different.
Also the JSON-Output is different between the local Stable Diffusion and Stable Diffusion Online.
There are also a lot of common Parameters that are shared between both systems.
Here's a table that captures the standard parameters being used by
SDO.-Command, and the associated conditions:
Parameter |
Condition |
cfg_scale |
SD_cfg_scale > -1 |
clip_guidance_preset |
Len(SD_Clip_Guidance) > 0 |
height |
Always added |
width |
Always added |
text_prompts |
Always added, Array of positive and negative prompts + (weights) |
style_preset |
Len(SD_Style) > 0 |
sampler |
Len(SD_Sampler) > 0 |
samples |
SD_Samples <> 1 |
seed |
SD_Seed <> 0 |
steps |
SD_Steps <> 50 |
SDO_Extra |
Len(SDO_Extra) > 0. Other user-specified Parameters. |
Following are the Samplers that you can choose from using SDO.
Number |
Sampler Name |
0 |
DDIM |
1 |
DDPM |
2 |
K_DPMPP_2M |
3 |
K_DPMPP_2S_ANCESTRAL |
4 |
K_DPM_2 |
5 |
K_DPM_2_ANCESTRAL |
6 |
K_EULER |
7 |
K_EULER_ANCESTRAL |
8 |
K_HEUN |
9 |
K_LMS |
Additional you can specify other Sampler Names when they become available.
Here the Standard-Parameters being used for SDL.-Command
and the associated conditions:
Parameter |
Condition |
cfg_scale |
SD_cfg_scale > -1 |
height |
Always added |
width |
Always added |
prompt |
Always added. Prompts separated by , |
negative_prompt |
Len(NP) > 0. Negative Prompts separated by , |
styles |
Len(SD_Style) > 0 |
sampler_name |
Len(SD_Sampler) > 0 |
samples |
SD_Samples <> 1 |
seed |
SD_Seed <> 0 |
steps |
SD_Steps <> 50 |
SDL_Extra |
Len(SDL_Extra) > 0. Other user-specified Parameters. |
This table represents each parameter that might be added to sBody and the associated condition that determines its inclusion.
With SDL. you can choose these Samplers:
Index |
Sampler |
0 |
Euler |
1 |
Euler a |
2 |
LMS |
3 |
Heun |
4 |
DPM2 |
5 |
DPM2 a |
6 |
DPM++ 2S a |
7 |
DPM++ 2M |
8 |
DPM++ SDE |
9 |
DPM++ 2M SDE |
10 |
DPM fast |
11 |
DPM adaptive |
12 |
LMS Karras |
13 |
DPM2 Karras |
14 |
DPM2 a Karras |
15 |
DPM++ 2S a Karras |
16 |
DPM++ 2M Karras |
17 |
DPM++ SDE Karras |
18 |
DPM++ 2M SDE Karras |
19 |
DDIM |
20 |
PLMS |
21 |
UniPC |