## Save to metadata Notes: - Fields that are set to default value or `None` are omitted - Some fields are compound fields, e.g. `size` contains width and height or `sampler options` can have any number of non-default options - Field `operations` is appended with every operation performed on the image to maintain the chain history List of all fields saved to metadata: - **global**: `processing.py:create_infotext:generation_params`: Prompt, Negative prompt, Steps, Seed, Sampler, CFG Scale, Size, Batch, Parser, Model, Model hash, Refiner, VAE, Variation seed, Variation strength, Seed resize from, Init image hash, Conditional mask weight, Clip skip, ENSD, Face restoration, Tiling, Prompt2, Negative2, Hires sampler, Denoising strength, Backend, Version, Comment, Operations - **diffusers**: `extra_generation_params` Pipeline, Sampler options, CFG rescale, Eta DDIM, Lora method - **refiner**: `extra_generation_params` Refiner start, Refiner CFG scale, Hires steps - **img2img**: `extra_generation_params` Resize mode, Mask blur - **hires**: `extra_generation_params` Hires upscale, Hires resize, Hires steps, Hires upscaler, Noise multiplier - **lora**: `extra_generation_params` Lora hashes ## Load from metadata *Internal dev notes* ### Settings apply from metadata - `generation_parameters_copypaste.py` **infotext_to_setting_name_mapping** ### UI apply from metadata - `ui.py` **txt2img_paste_fields** **img2img_paste_fields**