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



SDAIA Builds Regulatory Environment for Data, AI to Promote Responsible Use

SDAIA Builds Regulatory Environment for Data, AI to Promote Responsible Use
TT

SDAIA Builds Regulatory Environment for Data, AI to Promote Responsible Use

SDAIA Builds Regulatory Environment for Data, AI to Promote Responsible Use

The Saudi Data and AI Authority (SDAIA) has contributed to building and enhancing the regulatory environment for data and artificial intelligence through governance frameworks that protect individual privacy, safeguard national data sovereignty, and promote the responsible use of AI tools and applications in line with international best practices, reflecting the Kingdom’s commitment to global leadership in data and AI governance, SPA reported.

As part of the Kingdom’s efforts to strengthen the regulatory environment for data and AI, SDAIA has developed a range of regulatory tools that serve as a national reference.

These include the Personal Data Protection Law and its executive regulations, national data governance policies, data management and protection standards, and the National Data Index (NDI), which assesses data management maturity among government entities.

In the field of AI governance, SDAIA has launched 10 regulatory documents covering the ethical and responsible use of AI, including AI ethics principles and generative AI principles for government entities.


Meta Takes Legal Action Against Israeli Spyware Firm NSO

The logo of Meta at the Meta Lab in Los Angeles, California, US, May 20, 2026. (Reuters)
The logo of Meta at the Meta Lab in Los Angeles, California, US, May 20, 2026. (Reuters)
TT

Meta Takes Legal Action Against Israeli Spyware Firm NSO

The logo of Meta at the Meta Lab in Los Angeles, California, US, May 20, 2026. (Reuters)
The logo of Meta at the Meta Lab in Los Angeles, California, US, May 20, 2026. (Reuters)

Meta said on Monday it is filing a federal court contempt order against Israeli spyware firm NSO Group for violating a permanent injunction that barred it from ever targeting WhatsApp and its users. 

The company said its WhatsApp messaging service disrupted new spear phishing attempts linked to NSO, an entity blacklisted by the US government for engaging in activities that are contrary to ‌the national ‌security or foreign policy interests. 

These ‌attempts ⁠were similar to ⁠previous "1-click phishing campaigns," aimed to trick users into clicking malicious links and direct them to external websites, Meta said in a blogpost. 

"1-click" is a type of cyberattack where a single click on a malicious link or attachment is sufficient ⁠to compromise a victim's device or ‌account, without requiring them ‌to enter their credentials. 

Meta said WhatsApp took down test ‌accounts and groups created by NSO on its ‌platform. NSO did not immediately respond to a Reuters request for comment. 

Last year, a US court ordered NSO to stop targeting Meta's WhatsApp, a development the ‌spyware company warned could put it out of business. 

While the ruling significantly ⁠reduced the ⁠punitive damages NSO owed Meta to $4 million from an initial $167 million, the injunction itself was seen as a substantial challenge for the company, which faces ongoing accusations of enabling human rights abuses through its Pegasus hacking tool. 

Meta said on Monday that last month it was joined by 12 prominent civil rights organizations, a coalition of security researchers, privacy advocates and digital rights experts, who filed their amicus briefs to fight NSO's appeal against the permanent injunction. 


SDAIA, World Bank to Discuss Global Best Practices in Data Governance and AI in Belgium and Germany

The events aim to enhance international cooperation and explore global best practices in AI governance
The events aim to enhance international cooperation and explore global best practices in AI governance
TT

SDAIA, World Bank to Discuss Global Best Practices in Data Governance and AI in Belgium and Germany

The events aim to enhance international cooperation and explore global best practices in AI governance
The events aim to enhance international cooperation and explore global best practices in AI governance

The Saudi Data and Artificial Intelligence Authority (SDAIA), in partnership with the World Bank, will organize 25 specialized sessions and meetings in Belgium and Germany from June 8 to 12.

The events aim to enhance international cooperation and explore global best practices in AI governance, with participation from leading experts, policymakers, and representatives of international organizations and entities concerned with AI governance.

The sessions aim to strengthen international cooperation and exchange expertise in data and artificial intelligence, showcase Saudi Arabia's experience in building a leading national data and AI ecosystem, and explore key enablers, policies, and legislation for AI governance.

The discussions are expected to contribute to international efforts to develop responsible governance frameworks for emerging technologies.

The sessions will address a range of key topics related to AI governance, including the EU AI Act, data governance and privacy, international cooperation in AI, European standards and regulations, and responsible AI applications, in line with global efforts to promote the safe and trustworthy use of these technologies.