Batch process with prompt list

Hello. I would like to be able to create a collection of images using img2img, applying a different prompt each time. That is, 20 images, each with a different prompt, to obtain, in an automated way, 20 variations of the same image. I see the batch option, with the prompt loading from a file, but I think I can’t read the data sequentially. Any ideas? Thank you.