AI lessons · Lesson 5

Editing and extending an image

An almost perfect image isn't thrown away: it's fixed. In this lesson we look at how to change a detail, add something to a real photo and widen a shot, for example to turn a vertical photo into a banner.

Editing with words

Many image models accept a starting photo and a written request. It works well if you follow three rules:

Adding something to a real photo

You can insert an object or a person into one of your photos. The sentence I use: "add [what] to the existing photo; the person and the background stay identical, do not change them". If the object matters, for example a product with its logo, generate it on its own first on a plain background and use it as a reference: it comes out far more accurate than when described in words.

Text

Some models write readable text on signs, covers and posters. Two things to watch:

If the image is for a thumbnail or a banner, ask for empty space where you will add the title later in your design software.

Extending a scene

Need the same image but wider, for example from vertical to horizontal? The method that works best, tested on my own banners:

  1. Prepare a canvas in the final format and place the original image, sharp, in the centre.
  2. Fill the empty edges with a blurred version of the same image.
  3. Give the canvas to the AI as a reference with the request: "keep the sharp central rectangle exactly identical, only replace the blurred areas with a continuation of the same scene".
  4. Finally, place the original back on top with soft edges: faces and text stay perfect.

I also tried filling the edges by mirroring the image: the result looked fake. It's better to let the AI rebuild them.

Other useful tools

Camera angles: creates the same scene seen from another point of view. Upscale: increases the resolution before printing or animating. Variations: small variations of an image you already like.

Try it

  1. Take an image and change a single detail, saying what stays the same.
  2. Add an object to one of your real photos using the sentence from this lesson.
  3. Widen a vertical image into a horizontal format with the canvas method.

Words from this lesson: Inpainting · Outpainting

New here? Start from the beginning: Lesson 1 · How OpenArt works: credits, models and where to find things

Ad

I use OpenArt for everything in these lessons. The link below is an affiliate link: if you subscribe through it, I earn a commission and your price stays the same. I don't work for OpenArt and this is not an official OpenArt website.

Try OpenArt

All lessons