Stable Diffusion Commands

<< Click to Display Table of Contents >>

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

Stable Diffusion Commands

SDL. - JSON Structure

Previous Top Next


MiniRobotLanguage (MRL)

 

SDL. - JSON Structure

These Parameters can be used with Text-to-Image

 

 

Script 1

 

To make it more easy to use the Parameters, here is the JSON Structure with the variable already prefixed.

You can just copy and use each line "as is".

 

$$EXT+"enable_hr": false,

$$EXT+"denoising_strength": 0,

$$EXT+"firstphase_width": 0,

$$EXT+"firstphase_height": 0,

$$EXT+"hr_scale": 2,

$$EXT+"hr_upscaler": "string",

$$EXT+"hr_second_pass_steps": 0,

$$EXT+"hr_resize_x": 0,

$$EXT+"hr_resize_y": 0,

$$EXT+"hr_sampler_name": "string",

$$EXT+"hr_prompt": "",

$$EXT+"hr_negative_prompt": "",

$$EXT+"prompt": "",

$$EXT+"styles": ["string"],

$$EXT+"seed": -1,

$$EXT+"subseed": -1,

$$EXT+"subseed_strength": 0,

$$EXT+"seed_resize_from_h": -1,

$$EXT+"seed_resize_from_w": -1,

$$EXT+"sampler_name": "string",

$$EXT+"batch_size": 1,

$$EXT+"n_iter": 1,

$$EXT+"steps": 50,

$$EXT+"cfg_scale": 7,

$$EXT+"width": 512,

$$EXT+"height": 512,

$$EXT+"restore_faces": false,

$$EXT+"tiling": false,

$$EXT+"do_not_save_samples": false,

$$EXT+"do_not_save_grid": false,

$$EXT+"negative_prompt": "string",

$$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+"script_name": "string",

$$EXT+"send_images": true,

$$EXT+"save_images": false,

$$EXT+"alwayson_scripts": {}

 

 

Official JSON Structure

of the Automatic1111 (SDL.-Command)  API:

 

 

{
  "enable_hr"false,
  "denoising_strength"0,
  "firstphase_width"0,
  "firstphase_height"0,
  "hr_scale"2,
  "hr_upscaler""string",
  "hr_second_pass_steps"0,
  "hr_resize_x"0,
  "hr_resize_y"0,
  "hr_sampler_name""string",
  "hr_prompt""",
  "hr_negative_prompt""",
  "prompt""",
  "styles": [
    "string"
  ],
  "seed"-1,
  "subseed"-1,
  "subseed_strength"0,
  "seed_resize_from_h"-1,
  "seed_resize_from_w"-1,
  "sampler_name""string",
  "batch_size"1,
  "n_iter"1,
  "steps"50,
  "cfg_scale"7,
  "width"512,
  "height"512,
  "restore_faces"false,
  "tiling"false,
  "do_not_save_samples"false,
  "do_not_save_grid"false,
  "negative_prompt""string",
  "eta"0,
  "s_min_uncond"0,
  "s_churn"0,
  "s_tmax"0,
  "s_tmin"0,
  "s_noise"1,
  "override_settings": {},
  "override_settings_restore_afterwards"true,
  "script_args": [],
  "sampler_index""Euler",
  "script_name""string",
  "send_images"true,
  "save_images"false,
  "alwayson_scripts": {}
}