This application discloses an
image processing method, apparatus, device, and storage medium, belonging to the field of
artificial intelligence technology. The method is executed by a
computer device and includes: acquiring a first image and guiding text, the guiding text indicating the correlation between image
grayscale and depth information; inputting the first image into a structure prediction model to obtain structural features; performing encoding prediction on the guiding text using a
first generation sub-model in an
image generation model to obtain
hidden layer features corresponding to the correlation; and performing image depth prediction based on the structural features and the
hidden layer features using a second generation sub-model in the
image generation model to obtain a depth image corresponding to the first image.