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 

SDO.Show Error

Previous Top Next


MiniRobotLanguage (MRL)

 

SDO.Show_Error

Retrieve and display the latest errors encountered during Stable Diffusion processes using the SDO. and SDL. commands.

 

 

Sioux_origami_0001_1

 

 

Intention

 

The "SDO.Show Error" command is designed to aid in debugging and error handling by providing detailed information on the last errors that occurred during the execution of Stable Diffusion Online (SDO) and Stable Diffusion Local (SDL) commands.

 

This command opens a console window that displays these errors and presents a message box that the user must confirm to close the console window. This command is especially useful for understanding what might have gone wrong during a Stable Diffusion process and for informing corrective action.

 

Result of AIC.Show Error

clip0738

 

 

 

 

Syntax

 

 

SDO.[|P1]

 

 

Parameter Explanation

 

P1 - (optional): Variable to return the last Error Messages during the Stable Diffusion Call.
         If omitted the result is placed on TOS.

 

 

 

 

Example

 

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

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

$$PRO=native women, natural smile, beautiful,long hair rainbow colors,honeycomb, natural, a rainbow

$$PRO=slim Siren, long golden color hair, on rock over moonlit Rhine

$$NEG=ugly

SDO.Set_Samples|1

SDO.Set_Sampler|7|$$SMP

DBP.Sampler: $$SMP

SDO.Set Steps 120

SDO.Set Scale|1.5

$$FIL=?path\Lorea_?.jpg

FOR.$$STY|0|16

  $$FIL=?path\Lorea_$$STY.jpg

  SDO.gtf|$$PRO|$$FIL|$$NEG|$$STY

  POP.$$PAT

  POP.$$SUC

  IVV.$$SUC=1     

    ANA.load|0|$$PAT

    ANA.Resizeto|0|1|640|640

    SDL.Get Several|5|$$STA

    %PicPrint SPR/SDO. generated: Style $$STA

    ANA.show|1

    ANA.Save|1|$$PAT

  ELS.

    SDL.Get Several|6|$$RET

    DBP.$$RET

    SDL.Show Error

    MBT.No File generated.

  EIF.

NEX.

 

 

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also:

 

    1.6.1. Program Flow Control

    ! Smart Package Robot 's Parallel Robot Operations

    1.5. Features and Hints