The invention belongs to the technical field of
image generation, and particularly discloses a multi-
modal scene fusion method based on a large
diffusion model. Firstly,
singular value decomposition is carried out on a weight matrix of a
diffusion model
backbone network to update the weight matrix of the
backbone network; then, inputting the text cue word into the
diffusion model to generate a text condition image; performing VAE decoding and preprocessing on the text condition image to obtain a preprocessed text condition image; inputting the preprocessed text condition image into a pre-trained visual classifier to predict the category, and obtaining a prediction
label; updating loss is calculated according to the predicted
label and the real
label, parameters of the diffusion model are updated, and fine adjustment of the diffusion model is achieved; and finally, generating a scene
fusion image by using the fine-tuned diffusion model. Scene fusion is divided into two stages, in the first stage, a combined
noise image is generated by sampling a
background image and a foreground image, and in the second stage, a scene
fusion image is generated through iteration of the combined
noise image. According to the method,
image generation is guided through the image, seamless fusion of the foreground image and the
background image is achieved, meanwhile,
image generation is guided through control information, and
controllability of scene fusion is enhanced.