Google’s Pixel 3 and Pixel 3 XL smartphones were just unveiled this morning at an event in New York City. As expected, both phones are coming with a near-identical set of front-facing and rear-facing cameras that are powered by artificial intelligence. That allows them to do all sorts of algorithmic work behind the scenes, all powered by what Google calls its new Pixel Visual Core chip.

Among the new AI features built into the Pixel 3 camera are two new shooting modes called Top Shot and Photobooth. Top Shot uses Google’s work in image and object recognition and computer vision to analyze photos and pick the best shots in a given batch. With Top Shot, you’ll be able to capture a number of photos before and after the moment you press the virtual shutter button, while the software will pick out the best shot.

It’s similar to Google’s Motion Photos feature that creates GIFs from short snippets of video. You can still browse through the alternates to pick out others, Google says. Photobooth, on the other hand, takes a bunch of photos of you or your friends using the front-facing camera, but only when it recognizes that the subjects of the photo are making a funny face or smiling. You don’t need to even press the shutter.

Google also announced a feature called Super Res Zoom, which uses a burst of photos to amp resolution when you zoom into a subject, and Night Sight, which uses machine learning to artificially brighten dark spots in photos. For Pixel 3 XL owners, you’ll be able to access a wide-angle lens for a feature Google is calling Group Selfie Cam.

Some of the AI-powered software here, specifically a feature like Photobooth, was built initially for Google Clips, the company’s square-shaped photo and video capturing device that automatically operates on its own to let parents capture moments of their kids. Now, it appears that Google has taken a lot of the knowledge there and integrated it into its Pixel devices to help ease the pain of picking a photo or tinkering with all the settings to capture the perfect shot.

Since the original Pixel, the defining feature of the device line has not been its design or the relatively spartan stock Android it runs, but the camera. Using its advancements in artificial intelligence, Google was able to achieve a staggeringly capable camera that has only improved with last year’s Pixel 2 and Pixel 2 XL. So it makes sense that Google has put more resources toward improving the Pixel 3 camera and positioning it as one of, if not the most important, reason why you’d pick its device over an iPhone XS or a Samsung Galaxy S9 / Note 9.