MCPcopy Create free account
hub / github.com/vladmandic/sdnext / process_images

Method process_images

modules/scripts_manager.py:121–127  ·  view source on GitHub ↗

This function is called instead of main processing for AlwaysVisible scripts. You can modify the processing object (p) here, inject hooks, etc. args contains all values returned by components from ui()

(self, p: StableDiffusionProcessing, *args)

Source from the content-addressed store, hash-verified

119 pass # pylint: disable=unnecessary-pass
120
121 def process_images(self, p: StableDiffusionProcessing, *args):
122 """
123 This function is called instead of main processing for AlwaysVisible scripts.
124 You can modify the processing object (p) here, inject hooks, etc.
125 args contains all values returned by components from ui()
126 """
127 pass # pylint: disable=unnecessary-pass
128
129 def before_process_batch(self, p: StableDiffusionProcessing, *args, **kwargs):
130 """

Callers 11

process_batchFunction · 0.45
img2imgFunction · 0.45
process_images_innerFunction · 0.45
txt2imgFunction · 0.45
process_imagesMethod · 0.45
generateFunction · 0.45
control_processFunction · 0.45
run_tilingFunction · 0.45
run_ltxFunction · 0.45
runMethod · 0.45
instant_idFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected