<< 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 Free
Set a custom or specific engine model for the Stable Diffusion Online (SDO) tasks without similarity matching.
Intention
The "SDO.Set Model Free" command allows users to freely define a specific engine model for subsequent Stable Diffusion Online (SDO) operations.
Unlike the "SDO.Set Model" command, this variant does not use similarity matching to choose the model. Instead, it accepts any input provided by the user for the model name, including custom or newer models.
•No Similarity Matching: Unlike the "SDO.Set Model" command, this command does not validate or match the provided model name against a predefined list. It accepts any string as the model name.
•Potential Errors: If an incorrect or non-existent model name is provided, the command will not immediately return an error. Instead, the error will occur when attempting to generate a picture using the specified model. Users must be cautious and ensure that the provided model name is valid and corresponds to an existing engine model.
•Endpoint Construction: The provided model name is used internally to construct the endpoint for stable diffusion. An incorrect endpoint may lead to unexpected behavior or failures in subsequent SDO operations.
It is therefore recommended to use "SDO.Set Model" instead.
The "SDO.Set Model Free" command offers flexibility for advanced users who wish to work with custom or newer engine models that may not be part of the predefined list. However, this flexibility comes with the risk of potential errors if an incorrect or non-existent model name is provided. Users must exercise caution and verify the correctness of the provided model name, understanding that errors related to an incorrect model name will only become apparent when attempting to generate a picture.
Syntax
SDO.Set Model Free|P1[|P2]
Parameter Explanation
P1: Specifies the name of the desired engine model. This can be any string, including names of custom, newer, or unsupported models.
P2: (Optional) A variable to capture the selected engine's name. If omitted, the chosen model's name is returned on TOS.
Example
'***********************************
' SDO.-Sample
'***********************************
' Set a custom engine model for Stable Diffusion tasks
SDO.Set Model Free|custom-model-name|$$SEL
DBP.The selected model is: $$SEL
Remarks
-
Limitations:
-
See also:
•