 represents "not-safe-for-work" (nsfw) content, according to the safety_checker`.


Function invoked when calling the pipeline for generation.

Examples:


	Copied
>>> import requests
>>> import torch
>>> from PIL import Image
>>> from io import BytesIO

>>> from diffusers import StableDiffusionImg2ImgPipeline

>>> device = "cuda"
>>> model_id_or_path = "runwayml/stable-diffusion-v1-5"
>>> pipe = StableDiffusionImg2ImgPipeline.from_pretrained(m