The mechanism of experimentally observed high-temperature superconductivity (HTSC) in thin FeSe films on SrTiO<sub>3</sub>-type substrates has been theoretically investigated. Applying the theory of large-radius bipolaronic states developed based on the exact Hamiltonian of electron-phonon interaction for arbitrary multilayer structures, the bipolaronic mechanism of Cooper pairing of polarons in FeSe monolayers on SrTiO<sub>3</sub> substrates is investigated and in three-layer structures SrTiO<sub>3</sub>–FeSe–SrTiO<sub>3</sub>, which are typical "Ginzburg sandwiches". Approach proposed by Ginzburg to enhance the electron-phonon interaction and achieve HTSС by separating the regions where electrons are located (forming Cooper pairs or bipolarons) with the regions in which excitons are excited (or inertial polarization is induced), made it possible to implement the criteria for the formation of bipolaronic states in multilayer structures with high binding energy, due to the possibility of selecting optimal geometric and material parameters (layer thicknesses, dielectric permittivity, optical frequencies, effective masses). It is shown that the binding energy of bipolarons (<i>E<sub>bp</sub></i>) in these structures is in the range of values for which bipolarons remain stable quasiparticles and can exist at temperatures significantly higher than their Bose condensation temperature. The formation of bipolarons with high binding energy in the FeSe monolayer on the SrTiO<sub>3</sub> substrate provides the emergence of a bipolaronic HTS with a critical temperature (<i>T<sub>c</sub></i>) more than an order of magnitude higher than <i>T<sub>c</sub></i> for massive FeSe crystals. At the same time, the binding energy of the bipolaron in the FeSe layer with thickness <i>d</i> on the SrTiO<sub>3</sub> substrate increases exponentially with decreasing <i>d</i> (<i>E<sub>bp</sub></i>~<i>exp</i>(-<i>d </i>/ <I>R<SUB>S</SUB></I>) <I>R<SUB>S</SUB></I> is the radius of the polaron) and reaches its maximum value in the limit of the multilayer film FeSe (d→0). The presented theory allows modeling a multilayer system and determining the range of values of the material and geometric parameters of layers forming a multilayer structure with a large number of FeSe layers in which <i>T<sub>c</sub></i> values in the room temperature range can be achieved.