Stable Diffusion - Shared Commands 

<< Click to Display Table of Contents >>

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

 Stable Diffusion - Shared Commands 

SDL.Set Scale

Previous Top Next


MiniRobotLanguage (MRL)

 

SDL.Set Scale

Set the CfgScale for SDO. and SDL.
Configure the adherence level of the Stable Diffusion process to the provided prompt text.

 

 

Intention

 

The SDL.Set cfgScale command allows users to determine how strictly the Stable Diffusion (SDL. and SDO.) process should adhere to the prompt text provided. By adjusting the cfgScale value, users can control the degree to which the resultant output mirrors or diverges from the initial prompt, offering flexibility in achieving desired results.

 

Technical Explanation - cfgScale

The cfgScale parameter plays a pivotal role in guiding the SD.- process:

 

Adherence to Prompt: A higher cfgScale value ensures that the diffusion process remains more faithful to the provided prompt text. This means that the generated output will closely resemble or align with the initial prompt's intent.

 

Flexibility & Creativity: Conversely, a lower cfgScale value allows the SD.- process more latitude to deviate from the prompt, potentially leading to more unique or unexpected results. This setting can be useful when seeking more varied or creative outputs.

 

Balanced Approach: The default cfgScale value of 7 offers a balanced approach, ensuring a reasonable blend of adherence to the prompt while allowing for some creative freedom.

 

 

 

Syntax

 

 

SDL.Set Scale[|P1]

 

 

Parameter Explanation

 

P1 - (optional) <CfgScale Value>: Optional. Specifies the desired cfgScale value that determines the adherence level of the SD.- process to the prompt text. The valid range is between 0 and 35. If omitted, the default value is set to 7.

 

 

 

 

Example

 

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

'

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

 

 

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: