SDL. - Image to Image

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > SD - Stable Diffusion AI > SDL. - Stable Diffusion Local System > ! SDL - IMG2IMG >

SDL. - Image to Image

Adding Parameters

Previous Top Next


MiniRobotLanguage (MRL)

 

More Parameters

You can add other Parameters using the SDL.Set Extra Parameter Command

 

 

Intention

 

There are a lot of Parameters that are not represented by internal Registers.

These Parameters must be added using

SDL.Set Extra Parameter|$$EXT

 

You can just copy those lines that you need for your project.

 

Please be aware of the new Option to append to a variable using:

 

' First command will SET Variable TO (=)
$$EXT="resize_mode": 0,

' Following Commands APPEND to that variable (+)

$$EXT+"denoising_strength": 0.35

 

Here you can see all optional Parameters that are added this way. 

 

The following Parameters must use the provided internal Registers!

"negative_prompt", "height","width","cfg_scale","steps","sampler_name", "prompt"

 

Therefore you must use "SDL.Set Prompt|$$PRO" to set the Prompt same for the other Parameters that require the use of internal Registers.

 

' Parameters with internal Registers

$$EXT="prompt": "Positive Prompt Text",

$$EXT="negative_prompt": "Negative Prompt Text",

$$EXT+"styles": ["Styles that are available"],

$$EXT+"sampler_name": "SD_Sampler",

$$EXT="steps": SD_Steps,

$$EXT="cfg_scale": SD_cfg_scale,

$$EXT="width": SD_width,

$$EXT="height": SD_height,

 

' Parameters with NO Internal Registers

$$EXT+"resize_mode": 0,

$$EXT+"denoising_strength": 0.35,

$$EXT+"image_cfg_scale": 9,

 

$$EXT+"mask_blur": 0,

$$EXT+"mask_blur_x": 4,

$$EXT+"mask_blur_y": 4,

$$EXT+"inpainting_fill": 0,

$$EXT+"inpaint_full_res": true,

$$EXT+"inpaint_full_res_padding": 0,

$$EXT+"inpainting_mask_invert": 0,

$$EXT+"initial_noise_multiplier": 0,

 

$$EXT+"seed": -1,

$$EXT+"subseed": -1,

$$EXT+"subseed_strength": 0,

$$EXT+"seed_resize_from_h": -1,

$$EXT+"seed_resize_from_w": -1,

$$EXT+"batch_size": 1,

$$EXT+"n_iter": 1,

 

$$EXT+"restore_faces": false,

$$EXT+"tiling": false,

$$EXT+"do_not_save_samples": false,

$$EXT+"do_not_save_grid": false,

 

$$EXT+"eta": 0,

$$EXT+"s_min_uncond": 0,

$$EXT+"s_churn": 0,

$$EXT+"s_tmax": 0,

$$EXT+"s_tmin": 0,

$$EXT+"s_noise": 1,

$$EXT+"override_settings": {},

$$EXT+"override_settings_restore_afterwards": true,

$$EXT+"script_args": [],

$$EXT+"sampler_index": "Euler",

$$EXT+"include_init_images": false,

$$EXT+"script_name": "string",

$$EXT+"send_images": true,

$$EXT+"save_images": false,

$$EXT+"alwayson_scripts": {}

 

SDL.Set Extra Parameter|$$EXT

 

 

 

 

 

Example

 

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

' IRS.-Sample

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

 

 

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also:

 

    1.6.1. Program Flow Control

    ! Smart Package Robot 's Parallel Robot Operations

    1.5. Features and Hints