A mobile device comprising: a camera module including a lens module and an image sensing module configured to obtain first image data of an input image with an original white balance corrected by image signal processing by an ISP of the camera module from light collected through the lens module: a sensor module configured to obtain information about a shooting condition; a storage module storing information about a plurality of artificial intelligence, Al, models for white-balance control; an image signal processor configured to obtain second image data by processing at least one of the stored Al models; and at least one application processor, wherein the at least one application processor is configured to: determine an Al model corresponding to the shooting condition among the plurality of Al models, for white-balance control, stored in the storage module, based on the information about the shooting condition obtained by the sensor module; and control the determined Al model to be loaded into the image signal processor, and the image signal processor is further configured to input the first image data to the determined Al model so as to obtain the second image data with a white balance controlled to correspond to the shooting condition, and wherein the plurality of Al models each comprise an encoder model for obtaining, based on the first image data, an intermediate representation of the input image with the original white balance that is not corrected by the image signal processing, and a decoder model for obtaining the second image data of a first output image with a first white balance different from the original white balance, based on the intermediate representation, and the plurality of Al models each comprise different decoder models, each decoder model having a predetermined WB attribute corresponding thereto. a sensor module configured to obtain information about a shooting condition; a storage module storing information about a plurality of artificial intelligence, Al, models for white-balance control; an image signal processor configured to obtain second image data by processing at least one of the stored Al models; and at least one application processor, wherein the at least one application processor is configured to: determine an Al model corresponding to the shooting condition among the plurality of Al models, for white-balance control, stored in the storage module, based on the information about the shooting condition obtained by the sensor module; and control the determined Al model to be loaded into the image signal processor, and the image signal processor is further configured to input the first image data to the determined Al model so as to obtain the second image data with a white balance controlled to correspond to the shooting condition, and wherein the plurality of Al models each comprise an encoder model for obtaining, based on the first image data, an intermediate representation of the input image with the original white balance that is not corrected by the image signal processing, and a decoder model for obtaining the second image data of a first output image with a first white balance different from the original white balance, based on the intermediate representation, and the plurality of Al models each comprise different decoder models, each decoder model having a predetermined WB attribute corresponding thereto. determine an Al model corresponding to the shooting condition among the plurality of Al models, for white-balance control, stored in the storage module, based on the information about the shooting condition obtained by the sensor module; and control the determined Al model to be loaded into the image signal processor, and the image signal processor is further configured to input the first image data to the determined Al model so as to obtain the second image data with a white balance controlled to correspond to the shooting condition, and wherein the plurality of Al models each comprise an encoder model for obtaining, based on the first image data, an intermediate representation of the input image with the original white balance that is not corrected by the image signal processing, and a decoder model for obtaining the second image data of a first output image with a first white balance different from the original white balance, based on the intermediate representation, and the plurality of Al models each comprise different decoder models, each decoder model having a predetermined WB attribute corresponding thereto.