Controller generateProduct