script needed to apply image into a model

for a container project i have need a script to apply image on a 3d object (cube for example). this picture should transform the object (extrude face/change opacity etc). i need to try several images on that project so i need a simple script to apply on them.
i am really new at this script issue and need a quick help.
thanks for now