The official limit that TikTok allows is 12 pictures - photos or images. Each will appear for 2.5 seconds and you cannot change the default duration. The total time, therefore, will be 12 x 2.5 seconds, which is 30 seconds.