SDO. Stable Diffusion Online

<< 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

SDO.Set Samples 

Previous Top Next


MiniRobotLanguage (MRL)

 

SDO.Set Samples

Set the number of pictures that will be produced in one run for the Stable Diffusion (SD) process for SDO.

 

Sample_0002 Sample_0008 Sample_0007 Sample_0010

You can return up to 10 Pictures in one run.

 

 

Intention

 

The SDO.Set Samples command is only documented for Stable Diffusion Online.
For the generation of 4 Pictures SDO. need here about 6-7 Seconds.

 

Number of Samples - Technical Explanation

This is the number of Pictures that shall be generated in one run.

 

Syntax

 

 

SDO.Set Samples[|P1]

 

 

Parameter Explanation

 

P1 - (optional) <Number of Samples>: Optional. The desired number of pictures that will be returned in one run.
        This should be a number between 1 and 10. If omitted, the default value is set to 1.

 

 

 

Example

 

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

' SDO.-Sample

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

SDO.SetKey|File

SDO.SetSize|512|512|stable-diffusion-v1-5

$$PRO=wooden Geodesic Dome,natural, a rainbow

$$NEG=ugly,comic,unrealistic,fat,unhealty,malformed faces

$$FIL=?exeloc\Sample_?.png

SDO.SetSteps|100

SDO.Set Samples|4

POP.$$SAM  

SDO.Set_Sampler|1

VAN.$$TIM=#dtime#

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

VAN.$$TIM=#dsince#|i

DBP. Set $$SAM Samples. In $$TIM Seconds.

DMP.6

MBX.!

 

 

 

Remarks

 

  The number of samples directly influences the fidelity and clarity of the output from the SD process.

  While a higher number of samples might produce more detailed results, it could also increase computational demands.

 

 

Limitations:

 

The allowable range for the number of samples is between 1 to 10. Any value outside this range will be changed to these allowed values.

This Command changes the internal SD_Samples-Register which is used by SDO. as well as SDL.-Command

 

 

See also: