<< 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.Set Model
Select a specific engine model for the Stable Diffusion Online (SDO) tasks.
Intention
The "SDO.Set Model" command allows users to define a specific engine model for subsequent Stable Diffusion Online (SDO) operations.
By setting the desired model, users can tailor the diffusion process to the characteristics of a particular engine, benefiting from its unique capabilities and optimizations.
Note that each model has its own resolutions and characteristics. Not all Models can be used for all tasks.
For example the ESRGAN-Models should be used for upscaling, not for other uses.
•Similarity System: This command internally uses a similarity system to choose the nearest matching model from the supported list. If an exact match is not found, the system will select the model that closely resembles the provided name or number.
•Custom or Newer Models: To choose a model that is not available in the SPR, such as a newer or custom model, you must use the "SDO.Set Model Free" command. This allows more flexibility in selecting specific models outside the predefined list.
The following models are supported at the time of writing (08/2023):
1.esrgan-v1-x2plus
2.stable-diffusion-xl-1024-v0-9
3.stable-diffusion-xl-1024-v1-0
4.stable-diffusion-v1
5.stable-diffusion-v1-5
6.stable-diffusion-512-v2-0
7.stable-diffusion-768-v2-0
8.stable-diffusion-depth-v2-0
9.stable-diffusion-512-v2-1
10.stable-diffusion-768-v2-1
11.stable-diffusion-xl-beta-v2-2-2
12.stable-diffusion-x4-latent-upscaler
13.stable-inpainting-v1-0
14.stable-inpainting-512-v2-0
' Set a specific engine model for Stable Diffusion tasks
SDO.Set Model|stable-diffusion-xl-1024-v1-0|$$SEL
DBP.The selected model is: $$SEL
Syntax
SDO.Set Model|P1[|P2]
Parameter Explanation
P1: Specifies the name or number of the desired engine model. The engine is chosen based on similarity if the name is provided.
P2: (Optional) A variable to capture the selected engine's name. If omitted, the chosen model's name is placed on TOS.
Example
'***********************************
' SDO.-Sample
'***********************************
Remarks
-
Limitations:
-
See also:
•