 optional, defaults to 1) —
The frequency at which the callback function will be called. If not specified, the callback will be
called at every step.


cross_attention_kwargs (dict, optional) —
A kwargs dictionary that if specified is passed along to the AttentionProcessor as defined under
self.processor in
diffusers.cross_attention.


Returns

StableDiffusionPipelineOutput or tuple



StableDiffusionPipelineOutput if return_dict is True, other