Rendering changing one image on a material

I need to render a few times automatically the same thing just changing one image on a material, is there a way?