In this work dependences of the electron band structure and spectral function in the HTSC cuprates on magnitude of electron-phonon interaction (EPI) and temperature are investigated. We use three-band p-d model with diagonal and offdiagonal EPI with breathing and buckling phonon mode in the frameworks of polaronic version of the generalized tight binding (GTB) method. The polaronic quasiparticle excitation in the system with EPI within this approach is formed by a hybridization of the local multiphonon Franck-Condon excitations with lower and upper Hubbard bands. Increasing EPI leads to transfer of spectral weight to high-energy multiphonon excitations and broadening of the spectral function. Temperature effects are taken into account by occupation numbers of local excited polaronic states and variations in the magnitude of spin-spin correlation functions. Increasing the temperature results in band structure reconstruction, spectral weight redistribution, broadening of the spectral function peak at the top of the valence band and the decreasing of the peak intensity. The effect of EPI with two phonon modes on the polaron spectral function is discussed.