🏛️ Issues and Advocacy Training
Courses › AI Image, Video and Voice Generation

Lesson 3 of 9 · about 15 minutes

Editing, Consistency and Upscaling

You'll be able to

  • Tell regenerating, inpainting and outpainting apart and know which flaw each one fixes
  • Understand how tools keep an invented character or visual style consistent across several images
  • Know what a style sheet and reference images do for a series
  • Know what AI upscaling cannot honestly add, and why that matters for anything offered as evidence

The first image a generator returns is almost never the one that gets used. Usually it is 90 percent right with one ruined detail, or right in content and wrong in shape, or right on its own and wrong next to the other four images in the series. Each of those has a different fix.

Regenerate, inpaint or outpaint

ProblemFixWhy
Wrong idea, wrong compositionRewrite the prompt and regenerateLayout is decided early. Patching a bad layout wastes time.
One bad detail (hand, sign, extra lamp post)Inpaint that areaKeeps everything that worked
Right picture, wrong shapeOutpaint to the new frameAdds canvas instead of cutting the subject
Fine but too smallUpscaleOnly for display size, never to "find" detail

Inpainting

Inpainting means painting a mask over the part to change, typing what should be there, and letting the model regenerate only the masked pixels. It blends edges with the surrounding image. Adobe's Generative Fill in Photoshop works this way (select an area, type a prompt), and OpenAI's image edits endpoint can modify an image partially or entirely from a new prompt. Chat tools like ChatGPT and Gemini also accept "change only the sign on the left to read CLOSED" in plain words, which works surprisingly often and fails surprisingly often.

How it behaves:

  • A mask drawn tight to the flaw tends to leave a seam. A slightly wider one blends better.
  • The prompt describes only what belongs in the masked area, not the whole image: "A relaxed hand resting on the table, five fingers."
  • Results vary run to run, and inpainting is cheap, so users typically run it three or four times and pick.

Outpainting

Outpainting grows the canvas. A square becomes a wide frame, and the model invents what lies beyond the old edges. Adobe calls its version Generative Expand. It is the right move when a good 1024x1024 image needs a 1920x1080 version.

Worked example: square to wide

Start with a 1024x1024 square. To reach 16:9 at the same height, the width must be 1024 x 16 / 9 = 1,820 pixels (rounded). That means 1,820 minus 1,024 = 796 new columns, about 398 on each side to keep the subject centered, or all 796 on one side to put the subject on the left third with open space on the right for a headline.

Then scale 1820x1024 up to 1920x1080: factor 1920 / 1820 = 1.055. A 5.5 percent enlargement is invisible. Compare with cropping a square to 16:9: that keeps 1024 columns and only 576 rows, losing 44 percent of the height.

The new areas deserve a close look. Outpainting loves to add a second, slightly different version of whatever was near the edge: a twin fence post, a phantom doorway.

Keeping a character or style consistent

This is the hard part. Ask for "a tired woman in a green jacket" five times and you get five women. An explainer series, a reel with several stills or a recurring mascot needs the same one every time.

Tools offer a few handles for this, and they work best together.

1. Exact repeated wording

One fixed character description, pasted word for word into every prompt, gives the model the same target each time.

Character: Rosa, a woman about 60, short gray hair, round wire glasses, olive green canvas jacket, red scarf.

Distinct, nameable features carry over best: a red scarf, round glasses, a specific hat. "Kind face" carries over not at all.

2. Reference images

A reference image is a picture handed to the model as a visual target. Most leading tools in 2026 accept them. Google's Veo 3.1 documentation lists up to 3 reference images to preserve a subject's look in video. FLUX.2 is known for taking several references at once. ChatGPT and Gemini accept uploaded images in the chat and can be told "keep this character exactly, change the setting to a hardware store."

The usual approach is to make the first good image of the character the reference for every later one. A plain, front-facing, evenly lit image works best as a reference. A dramatic, half-shadowed image teaches the model the shadows too.

3. Fixed seed and settings

Where a tool exposes a seed, locking it while only the setting text changes helps. It will not guarantee the same face, and Midjourney's docs warn seeds can drift between versions and modes. It narrows the spread.

Consistency lives in the style sheet. Series that hold together reuse the same document, unchanged, for every image after the first.

Example: a style sheet for a four-image series

Series: explainer on the invented Pine Hollow road bond.

STYLE: flat vector illustration, clean shapes, subtle paper grain
PALETTE: slate blue, ochre, off-white, charcoal accents
LIGHT: soft overcast, no dramatic shadows
CHARACTER: Rosa, a woman about 60, short gray hair,
  round wire glasses, olive green canvas jacket, red scarf
FRAME: 1920x1080, Rosa on the left third, open space right
REFERENCE: rosa-front-v3.png (attach every time)
NO: text, logos, real place names

Image 1: Rosa at a mailbox reading a ballot. Image 2: Rosa driving over a patched road. Image 3: Rosa at a town hall meeting, raised hand. Image 4: Rosa looking at a new bridge. Each prompt is the scene line plus the style sheet, unchanged.

Checking a series side by side

Drift shows up when the finals sit side by side in a row. The usual differences:

  • Same jacket color, same scarf, same glasses shape
  • Same age (models drift younger, often)
  • Same palette, same light direction
  • No surprise text, logos or real landmarks

Inpainting usually fixes drift (the jacket goes back to olive) faster than regenerating from scratch.

Upscaling and what it cannot do

Upscaling enlarges an image. Classic resizing stretches pixels and gets blurry. AI upscalers instead predict what detail "should" be there: sharper edges, skin texture, brick lines. For an illustration, that is fine. It polishes something that was invented anyway.

For anything presented as real, it is poison. The upscaler does not recover detail that the camera missed. It invents plausible detail. A blurry face becomes a sharp face that may not be the person's face. A smudged plate number becomes a crisp number that may be wrong.

Common mix-ups

  • Claim: AI enhancement reveals what was really in a blurry photo. What the evidence shows: It generates a likely-looking guess. TV crime shows were wrong about this long before AI, and they are still wrong.
  • Claim: If you used a reference image of a real person, the result is a photo of them. What the evidence shows: It is a synthetic depiction of them, and the rules in lessons 4 and 7 apply in full.
  • Claim: A fixed seed means a fixed character. What the evidence shows: A seed fixes the starting noise. Change the prompt even slightly and the face can change. Wording and references do more.

Reporting angle

When an image arrives as "enhanced" evidence in a local dispute (a zoning complaint, a crash, a sighting), ask the sender for the original file straight off the camera or phone, with its metadata intact. Compare sizes: if the "evidence" is 4096 pixels wide and the original is 800, something generated the difference. Ask which app processed it and whether it used AI enhancement. Many phone camera apps now apply AI processing by default, which is worth a sentence in your story if it affects what the picture can show.

Research angle

Check yourself

1. An illustration is right except the man's left hand has six fingers. What is the most efficient fix?

2. A square image needs a 16:9 version without losing the subject. Which technique fits?

3. What does a style sheet for an AI image series contain?

4. An AI upscaler turns a blurry 512-pixel crop of a license plate into a sharp 2048-pixel image. Can the plate number be trusted?

5. As of October 2026, Google's Veo 3.1 documentation says how many reference images can guide a video's subject appearance?

Terms in this lesson

Inpainting
Regenerating only a masked part of an image while keeping the rest unchanged.
Outpainting
Extending an image past its original edges with new generated content. Adobe calls its version Generative Expand.
Reference image
An image handed to the model as a visual target for a character, product or style, in addition to the text prompt.
Upscaling
Enlarging an image. AI upscalers fill in detail by prediction, which means some of that detail is invented.
Style sheet
A short document holding the exact prompt wording, palette and references for a series, reused for every image.

Full glossary

Sources