The preparation of CsyFA1−yPbIxBr3−x-based perovskite by ultrasonic spraying has valuable application in the preparation of tandem solar cells on textured substrates due to its excellent stability and the advantages of large-area uniform preparation from the spraying technology. However, the bandgap of perovskite prepared by spraying method is difficult to adjust, and perovskites with a wide bandgap have the issue of phase instability. Here, we improved the crystallinity of the perovskite by simply controlling the post-annealing temperature. The results show that perovskite film prepared by hybrid spray method has the best crystallinity and device performance at a post-annealing temperature of 170 °C. On this basis, the bandgap of perovskite was changed from 1.53 eV to 1.76 eV by controlling the ratio of the organic halogen precursor solution. When the bandgap is 1.57 eV, a perovskite solar cell with an efficiency of 18.31% is obtained.