How to Use AI to Edit and Generate Stunning Photos

Photo credit: Charles Desmarais
Photo credit: Charles Desmarais
TT

How to Use AI to Edit and Generate Stunning Photos

Photo credit: Charles Desmarais
Photo credit: Charles Desmarais

By Brian X. Chen

Much of the hype and fears around generative AI has been about text. But there have also been rapid and dramatic developments in systems that can generate images. In many cases, these share a similar structure to text-based generative AI, but they can also be much weirder — and lend themselves to some very fun creative pursuits.

Image generators are trained on billions of images, which enable them to produce new creations that were once the sole dominion of painters and other artists. Sometimes experts can’t tell the difference between AI-created images and actual photographs (a circumstance that has fueled dangerous misinformation campaigns in addition to fun creations).

Compared to products like ChatGPT, image generating AI tools are not as well developed. They require jumping through a few more hoops and may cost a bit of money. But if you’re interested in learning the ropes there’s no better time to start.

AI Photoshop

Last week, Adobe added a generative AI feature into a beta version of Photoshop, its iconic graphics software, and creators on social networks like TikTok and Instagram have been buzzing about it ever since.

When I tested the new feature, called “generative fill,” I was impressed with how quickly and competently the AI carried out tasks that would have taken me at least an hour to do on my own. In less than five minutes and with only a few clicks, I used the feature to remove objects, add objects and swap backgrounds.

(To experiment with these tools yourself, start by signing up for a free trial of Adobe Creative Suite. Then, install the new Adobe Photoshop beta, which includes generative fill.)

Once you have Photoshop beta installed, import a photo and try these tricks:

To change a background, click the “object selection” icon (it has an arrow pointed at a box), then under the Select menu, click “inverse” to select the background. Next, click the “generative fill” box and type in a prompt — or leave it blank to let Photoshop come up with a new background concept for you.

I used these steps to edit a photo of my corgi, Max. I typed “kennel” for the prompt and clicked “generate" to replace the background.

To remove objects, use the lasso tool. In this photo of my motorcycle, I wanted to erase a tractor behind a fence in the background. I traced around the tractor, and then I clicked the “generative fill” box and hit “generate” without entering a prompt. The software correctly removed the tractor and filled in the background while leaving the fence intact.

Photo editors at The New York Times do not enhance or alter photos or generate images using artificial intelligence. But my first thought after testing generative fill was that photo editors working in other contexts, like marketing, could be soon out of work. When I shared this theory with Adobe’s chief technology officer, Ely Greenfield, he said that it might make photo editing more accessible, but he was optimistic that humans would still be needed.

“I can make really pretty images with it, but frankly, I still make boring images,” he said. “When I look at the content that artists create when you put this in their hands versus what I create, their stuff is so much more interesting because they know how to tell a story.”

I confess that what I’ve done with generative fill is far less exciting than what others have been posting on social media. Lorenzo Green, who tweets about AI, posted a collage of famous album covers, including Michael Jackson’s “Thriller” and Adele’s “21” that were expanded with generative fill. The results were quite entertaining.

(One note: If installing Photoshop feels daunting, a quicker way to test Adobe’s AI is to visit the Adobe Firefly website. There, you can open the generative fill tool, upload an image and click the “add” tool to trace around a subject, such as a dog. Then click “background” and type in a prompt like “beach.”)

More image generators

Tools like DALL-E and Midjourney can create entirely new images in seconds. They work similarly to chatbots: You type in a text prompt — the more specific, the better.

To write a quality prompt, start with the medium you’d like to emulate, followed by the subject and any extra details. For example, typing “a photograph of a cat wearing a sweater in a brightly lit room” in the DALL-E prompt box will generate it.

DALL-E, which is owned by Open AI, the maker of ChatGPT, was one of the first widely available AI image generators that was simple for people to use. For $15, you get 115 credits; one credit can be used to generate a set of four images.

Midjourney, another popular image generator, is a work in progress, so the user experience is not as polished. The service costs $10 a month, and entering prompts can be a little more complicated, because it requires joining a separate messaging app, Discord. Nonetheless, the project can create high-quality, realistic images.

To use it, join Discord and then request an invitation to the Midjourney server. After joining the server, inside the chat box, type “/imagine” followed by a prompt. I typed “/imagine a manga cover of a corgi in a ninja turtle costume” and generated a set of convincing images.

Though it’s fine to type in a basic request, some have found obscure prompts that generated exceptional results. At Columbia University, Lance Weiler is teaching students how to leverage AI, including Midjourney, to produce artwork.

Whichever tool you use, bear in mind that the onus is on you to use this tech responsibly.

Technologists warn that image generators can increase the spread of deepfakes and misinformation. But the tools can also be used in positive and constructive ways, like making family photos look better and brainstorming artistic concepts.

The New York Times



Popular Websites Subverted in Bid to Steal Crypto, Target iPhone Users

Apple's new iPhone 11 phones are displayed at the Apple Store in IFC, Central district, Hong Kong, China October 10, 2019. (Reuters)
Apple's new iPhone 11 phones are displayed at the Apple Store in IFC, Central district, Hong Kong, China October 10, 2019. (Reuters)
TT

Popular Websites Subverted in Bid to Steal Crypto, Target iPhone Users

Apple's new iPhone 11 phones are displayed at the Apple Store in IFC, Central district, Hong Kong, China October 10, 2019. (Reuters)
Apple's new iPhone 11 phones are displayed at the Apple Store in IFC, Central district, Hong Kong, China October 10, 2019. (Reuters)

Some of the world's most visited websites, including those belonging to Zoom, HSBC, Equifax, CNN, Salesforce and IKEA, were subverted in an effort to steal cryptocurrency and infect iPhones, a security researcher said on Monday.

Malicious JavaScript was aimed at visitors to the ‌websites of 178 ‌organizations across various sectors ‌through ⁠Optimizely, a website optimization ⁠platform, according to researcher Scott Helme.

The scripts attempted to replace cryptocurrency payment addresses with the attacker's wallet, skim card numbers as users entered credit card details, steal cookies and ⁠screenshots, and plant exploit code on ‌iOS devices.

Cybersecurity ‌firm HudsonRock also said it had found evidence ‌that the sites had served ‌malicious code to their visitors.

Reuters could not immediately ascertain whether the code was successfully used in each case, or the ‌extent of any resulting hacks.

Salesforce said it was investigating unauthorized Optimizely script ⁠changes, ⁠and had disabled them as a precaution.

Equifax also investigated the issue and ceased using Optimizely. The company said it did not find evidence of any compromise to its systems.

Optimizely, Apple, Zoom, HSBC, CNN and IKEA did not immediately respond to Reuters' requests for comment.


US Closes Loophole on China’s Access to AI Chips After Nvidia Scandal

Semiconductor chips are seen on a printed circuit board in this illustration picture taken February 17, 2023. (Reuters)
Semiconductor chips are seen on a printed circuit board in this illustration picture taken February 17, 2023. (Reuters)
TT

US Closes Loophole on China’s Access to AI Chips After Nvidia Scandal

Semiconductor chips are seen on a printed circuit board in this illustration picture taken February 17, 2023. (Reuters)
Semiconductor chips are seen on a printed circuit board in this illustration picture taken February 17, 2023. (Reuters)

The US Commerce Department on Monday issued a rule aimed at stopping Chinese companies from using advanced American AI chips housed in data centers in other countries.

The move comes days after a spy scandal forced Jensen Huang to step down as head of Nvidia, amid widening suspicions that he may have helped Chinese companies gain access to his company's most powerful AI chips in violation of US rules.

The Commerce Department, led by Howard Lutnick, has been accused by other voices inside the Trump White House of failing to properly enforce export controls that bar sales of Nvidia's most powerful AI chips to China.

One loophole allowed Chinese firms to rent AI computing power from data centers in Southeast Asia and elsewhere that run on US hardware not available for export to China.

Scrutiny of that loophole grew after Huang resigned last week over his relationship with Alice Huang, a former executive at Singapore-based Megaspeed.

US investigators suspect the Nvidia customer of illegally channeling the company's technology to China.

She is also suspected by some in US government to be an asset for Chinese secret services, according to The New York Times.

Megaspeed is under US investigation for possible export control violations and has denied wrongdoing. Alice Huang, who is not related to Jensen Huang, has not been charged, and Beijing has rejected the espionage allegations.

Treasury Secretary Scott Bessent on Friday blamed the Commerce Department for failing to blacklist Megaspeed over the alleged violations.

Under the new rule, data centers anywhere in the world will need a US license to provide large volumes of computing power from advanced chips to companies headquartered in China, Macau or other countries under US arms embargoes.

The rule also requires licenses to ship advanced chips to Singapore, Malaysia, Thailand, Indonesia and Brazil, which it says present a "higher-than-normal risk of diversion."

The rule "is designed to ensure that existing restrictions on access to sensitive American technology cannot be circumvented through remote computing arrangements involving data centers in third countries," the department's Bureau of Industry and Security (BIS) said in a statement.

BIS said the rule was "written by and at the direction of" the Treasury Department and the National Security Council.

The rule also formally rescinds the AI Diffusion Rule issued under former president Joe Biden. That rule set up a global licensing system for AI chips, and the Trump administration said in May 2025 that it would scrap it.


Tesla Invites Select Customers to Buy Cybercab for Personal Use

A passenger waves from a Tesla Cybercab driverless taxi as it travels through downtown Austin, Texas, US, October 27, 2026. (Reuters)
A passenger waves from a Tesla Cybercab driverless taxi as it travels through downtown Austin, Texas, US, October 27, 2026. (Reuters)
TT

Tesla Invites Select Customers to Buy Cybercab for Personal Use

A passenger waves from a Tesla Cybercab driverless taxi as it travels through downtown Austin, Texas, US, October 27, 2026. (Reuters)
A passenger waves from a Tesla Cybercab driverless taxi as it travels through downtown Austin, Texas, US, October 27, 2026. (Reuters)

Tesla said on Friday it was inviting select customers to buy the Cybercab for personal use, marking a push towards delivering fully designed autonomous vehicles to customers.

Tesla posted the announcement on X ‌with an ‌image of the golden butterfly door ‌two-seater, ⁠priced at $29,990 with ⁠an “Autonomy Subscription” of $299 a month.

Chief Executive Elon Musk said in a post on X that the offering would be available nationwide as Tesla receives regulatory approval.

"The monthly fee is too ⁠high," Musk said, adding that ‌it should match the ‌cost of Tesla Full Self Driving and connectivity ‌for other models, which is about $115 ‌per month.

The EV maker aims to start selling its Cybercab robotaxis to the public by the end of this year, ‌Lars Moravy, Tesla's vice president of vehicle engineering, said last month.

The ⁠Cybercab will work unsupervised in all the same geo locations as the robotaxi, Tesla’s head of artificial intelligence, Ashok Elluswamy, said in a separate X post.

Tesla launched its unsupervised robotaxi service in Austin, Texas, in June 2025, expanded the offering to Dallas and Houston in April 2026 and rolled it out in Miami in July 2026.