Generate an image with artificial intelligence in Photoshop

Photoshop can now generate an image from a description typed as text, thanks to the artificial intelligence (AI) Adobe Firefly.

This tutorial presents three use cases: generating an image from a description, generating with a more complex prompt, then removing text from an existing image.

Catalog reference: Photoshop Tutorial_0017.

Identify the level of each chapter

🟢 All levels

  • Core concepts to master.
  • Recommended for all users.

🟡 Intermediate level

  • Requires mastery of the core concepts.
  • Commonly used techniques.

🔴 Expert level

  • Advanced techniques.
  • Used in specific or professional cases.

🟢 Check the Photoshop version

The Adobe Firefly AI is built into Photoshop starting with version 25.0. If you use an earlier version, update Photoshop to benefit from the AI features.

Locate the Photoshop 25.0 update that includes Adobe Firefly

🟢 Generate an image from a description

Create a new document

Create a new document with the menu: File → New…. You can also use the keyboard shortcut [Windows shortcut: Ctrl + N] [Mac shortcut: Cmd + N].

Choose New in the File menu

In the New Document window, set the size of the document. In this example, enter 800 × 800 pixels (marker 1), then click the Create button (marker 2). Other options remain possible, such as an A4 document.

Set the document to 800 × 800 pixels, then click Create

Display the contextual task bar

Select the whole surface of the document with a selection tool. The Contextual Task Bar then appears under the image.

Display the Contextual Task Bar under the image after the selection

If this bar does not appear under the image, the option is not turned on. To display it, check the option: Window → Contextual Task Bar.

Check Contextual Task Bar in the Window menu

Accept the terms of use

The first time you use AI image generation, the Generative AI in Adobe apps window appears. Accept the terms of use by clicking the Agree button.

Accept the terms of use of Adobe generative AI with the Agree button

Write the prompt

In the Contextual Task Bar, click Generative Fill. Then enter your prompt in the input field (marker 1), and click the Generate button (marker 2). In this example, enter “pink flamingo on a lake”.

Enter the prompt pink flamingo on a lake, then click Generate

The AI takes the prompt into account and generates the matching image. A progress bar is displayed during processing.

Follow the progress bar while the AI generates the image

The generated image appears in the document. The AI offers three variations.

Obtain a flamingo generated by the AI from the prompt

Choose the variation that best matches your expectations (orange arrow).

Choose one of the three variations offered by the AI for the flamingo

🟡 Generate an image with a more complex prompt

In this example, enter a more complex prompt: “pink flamingo in pop art style”. Then click the Generate button.

Enter the pop art prompt in the Contextual Task Bar

The AI generates three images showing a pink flamingo in pop art style. Again, select the image that best matches your expectations.

Compare the three pop art flamingos generated by the AI

🟡 Remove text with AI

In this example, the goal is to remove the text “Happy summer Holidays” from the image below, without spoiling it.

Until now, the tool best suited to this edit was the Clone Stamp Tool.

Display the starting image with the Happy summer Holidays text to remove

Select the text area (marker 1) with the Rectangular Marquee Tool [Windows shortcut: M] [Mac shortcut: M]. Then click Generative Fill in the Contextual Task Bar (marker 2).

Select the text with the Rectangular Marquee Tool

In the input field of the Contextual Task Bar (marker 1), enter the instruction “Delete text”, then click the Generate button (marker 2).

Enter the instruction Delete text, then click Generate

The AI takes the instruction into account and generates the matching image.

Follow the generation of the new content that replaces the text

The AI creates a new mask to display the result. In the illustration below, the text is removed without spoiling the sky in the background.

Notice the text removed without altering the sky in the background