ptional, defaults to 5) —
Number of auto correction roll steps



Function used to generate inverted latents given a prompt and image.

Examples:


	Copied
>>> import torch
>>> from transformers import BlipForConditionalGeneration, BlipProcessor
>>> from diffusers import DDIMScheduler, DDIMInverseScheduler, StableDiffusionPix2PixZeroPipeline

>>> import requests
>>> from PIL import Image

>>> captioner_id = "Salesforce/blip-image-captioning-bas