Facile electrochemical deposition of Cu7Te4 thin films with visible-light driven photocatalytic activity and thermoelectric performance