Geological modeling technology has been a hot research topic in recent years. It plays a very important role in the field of reservoir description, and it is also an important part of it. For this, a stochastic inversion algorithm combined with seismic constraints between wells is proposed, which is used in the area of the target block. Firstly, the seismic data between wells are used with wave impedance inversion for logging constraint, and virtual well data is extracted from the inversion section, combined with the well logging data, the ground seismic data is being joint inversion of well. Finally, the simulation analysis of M target area block with various constraints is carried out. The results show that the inversion results of the random simulation and the lithology of geological statistics inversion results are combined with the logging data in actual drilling, and the inversion results are in high agreement with the actual data, which improves the resolution.