QR code Image saved In database

Hello
Creates QR image On button click but unable to save this image on wix database , could you please guide me for that

Yes sure , i generated QR Image using API and wix code but unable to save this image in wix database on button please check below image on button click

I don´t understand fully what you are trying to “save” (the word/concept if often misused). There are 2 possibilities: you have an image somewhere stored or it is generated, but not stored somewhere else.
In case 1, you can just set the .src property of an image. In case 2, you will need to upload the image to a Wix collection. See https://www.wix.com/corvid/reference/$w.UploadButton.html