Previously, we introduced photomagnetic imaging (PMI) that synergistically utilizes laser light to slightly elevate the tissue temperature and magnetic resonance thermometry (MRT) to measure the induced temperature. The MRT temperature maps are then converted into absorption maps using a dedicated PMI image reconstruction algorithm. In the MRT maps, the presence of abnormalities such as tumors would create a notable high contrast due to their higher hemoglobin levels. In this study, we present a new artificial intelligence-based image reconstruction algorithm that improves the accuracy and spatial resolution of the recovered absorption maps while reducing the recovery time. Technically, a supervised machine learning approach was used to detect and delineate the boundary of tumors directly from the MRT maps based on their temperature contrast to the background. This information was further utilized as a soft functional a priori in the standard PMI algorithm to enhance the absorption recovery. Our new method was evaluated on a tissue-like phantom with two inclusions representing tumors. The reconstructed absorption map showed that the well-trained neural network not only increased the PMI spatial resolution but also improved the accuracy of the recovered absorption to as low as a 2% percentage error, reduced the artifacts by 15%, and accelerated the image reconstruction process approximately 9-fold.