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.Construct Prompt 

Previous Top Next


MiniRobotLanguage (MRL)

 

SDO.Construct Prompt

Construct Text Prompt from negative and positive Prompts

 

clip0752

 

Intention

 

Generate the Text Prompt specific for SDO.
Length can be up to 2000 Characters in total.

 

There are two ways implemented how to construct a Prompt for SDO. as i could not find valid Sample for that in the documentation or online.

 

If you use "SDO.Set Prompt System|1" then you can make the SPR to generate this type of Prompts for SDO.

You can use this command to see the Text Prompt that is generated from your Input.

 

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

$$NEG=ugly

SDO.Construct Prompt|$$PRO|$$NEG|$$RET

MBX.$$RET

 

Result:

    clip0760

If you use "SDO.Set Prompt System|1" then you can make the SPR to generate this type of Prompts for SDO.

In my tests this has never worked (see below), therefore the standard value is "0".

 

The current Standard Method to construct the Prompt is just to Array.Elements where only the complete Array Elements can have a weight.

You can chose this Setting by applying "SDO.Set Prompt System|0".

 

clip0761

 

The "SDO.Construct Prompt" command has no influence on the Render-Results, its just for construction of the Prompt.

And you can Test what Prompt what you will get.

 

Lori_2

 

Syntax

 

 

SDO.Construct Prompt|P1[|P2][|P3]

 

 

Parameter Explanation

 

P1 - Positive Prompt.

P2 - (optional) Negative Prompt.

P3 - (optional) Variable for Result. If omitted result is placed on TOS.

 

 

 

 

Example

 

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

' SDO.-Sample

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

'

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

$$NEG=ugly

SDO.Construct Prompt|$$PRO|$$NEG|$$RET

MBX.$$RET

ENR.

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: