Video practice

Edit Finished Video with AI: Background, Color, Light

Edit a finished clip with AI: swap the background, recolor or remove an object, change the light and hide edit traces along the mask edge and in the grain.

17 min read9 promptsChecked November 12, 2026

Dark cover with the words Video editing and a caption about background, color, an unwanted object, light and the mask
Solistra image
Contents

Editing a finished clip works differently from a new generation: the motion, the angle and the duration already exist, and the model's job is to change one thing and leave everything else alone. This guide covers seven typical edits: replacing the background behind a person, recoloring an object, removing an unwanted object, changing the light, transferring a material from a reference, checking the mask edges and matching the grain on a repaired area. For each one you'll find a sample prompt, the signs of a failed take and a fallback editing technique for when the generative edit can't handle it.

How an edit request is built

The main rule is the same for every task: the request separates what changes from what has to stay. xAI's video editing documentation advises listing what should be preserved explicitly, so the rest of the scene changes less. In practice, the prompt has three parts: what to change, what it should become and what to keep. The last part almost always includes the face, the clothing, the angle, the framing, the pace of the motion, the duration and the original light.

The second rule is about scope. Pick a short section where the edit is clear to the model: a clean silhouette, the object separated from the background, no sudden exposure shift. If the editor supports a mask, limit the edit area with it and compare the result with a text-only edit.

TaskWhat to name in the promptWhat to keepWhat to check first
New backgroundThe background's material and tone, the light directionFace, hair, clothing, gesture, framingHair and shoulders at the widest phase of the gesture
RecolorThe object, the original and the new colorShape, highlights, texture, backgroundWhether the wall or the hands picked up the color
RemovalThe object together with its shadow, what's behind itCamera movement, neighboring objectsContinuity of the lines behind the object
LightOne source, its side, its softness, where the shadow fallsMotion, clothing, framingBrightness of a static wall
Material from a referenceOnly the property: color, sheenThe silhouette and the rigid shapeWhether folds appeared along the outline

Preparing the source

Before any edit, keep the original file on a separate track and make a working copy of only the segment you need. For a local edit, mark its boundaries at the start, the middle and the end. Choose a control detail outside the edit, such as a button or the corner of a frame on the wall. If it changes noticeably, the effect touched an area it shouldn't have.

Save one clean frame from before the operation. You need it for comparison, and when removing an object it sometimes serves as a ready-made background patch. Everything called a fallback technique below relies on exactly this source and clean frame.

Replacing the background behind a person

Take a medium shot where the person turns their shoulders slightly, and describe the new background together with the direction of the light on it. For the first test, choose a background close in brightness to the original: that makes it easier to spot if the model changed the skin tone along the way.

A woman's sharp profile against a calm studio background, the background replaced while her hair and shoulders keep their original outline
A woman's sharp profile against a calm studio background, the background replaced while her hair and shoulders keep their original outlineSolistra image
PromptA new wall behind the woman

Replace only the background with a muted burgundy textile wall. Preserve the woman's face, profile, hair, clothing, shoulder turn, timing and the original camera framing. Keep the subject's existing light and match the light direction on the new wall.

PromptThe same request, shorter

Replace only the background with a dark matte wall. Keep the face, hair, clothing, shoulder turn, duration and framing. The light on the person stays as in the original.

If the background sticks to the shoulder, reduce the range of motion or separate the person with a mask. If the skin color changes, bring the background back closer to the original brightness and ask separately to preserve the lighting on the person. A light halo around the hair is easiest to find against a colored backdrop. For comparison, pick a few static features on the clothing: they help you notice an unwanted edit even when the background itself looks good.

Fallback for difficult motion: replace the background by compositing with the original subject and handle the light separately, or trim the segment down to the part where the outline reads clearly.

Recoloring an object without losing texture

An accurate recolor changes the surface color and keeps the relief, the highlights and the shape. Start with an object that occupies its own area and doesn't blend with the background in color. Prepare a color sample without a complex pattern, name the material and list the parts that stay the same: the shadow, the background, the edge.

PromptPitcher in terracotta

Change only the glazed pitcher from pale beige to muted terracotta. Keep the handle shape, glaze highlights, surface texture and cast shadow. Preserve the background, camera and timing of the original clip.

Compare a moderate shade with a more saturated one. The saturated version tends to eat the volume: if the object goes flat, compare the light and dark areas and pick a calmer color. Judge the shade by the middle area of the surface. Highlights reflect the light source and are good for checking texture, not the base color.

If the wall gets colored along with the pitcher, narrow the mask. When you need an exact shade, for a product for example, an ordinary masked color correction in the Solistra Video editor («Монтаж») is more reliable, and check the sample against the options that are actually available. More on shooting products is in the guide on product shots.

Removing an unwanted object

After removal, the model redraws the hidden background. That's easier to check on a plain floor than on a complex pattern or next to a moving person. Take a section where the object doesn't overlap the main subject, name the material of the wall and floor behind it and mark in advance the lines that should continue. Mark the edit area together with the object's shadow.

A folding chair against the wall of an empty corridor, to be removed together with its shadow
A folding chair against the wall of an empty corridor, to be removed together with its shadowSolistra image
PromptChair in a corridor

Remove the folding chair and its shadow from the corridor. Reconstruct the uninterrupted plaster wall and the straight floor seam. Preserve the original camera movement and light.

PromptBox by a tile seam

Remove the small box and its shadow. Reconstruct the straight tile seam and matte wall behind it. Keep the original camera motion, light and nearby subject unchanged.

Compare an edit of a short section with processing the whole clip. Watch the middle of the camera move, when more of the hidden background is revealed. It helps to place a short guide line along the seam: if the line breaks in only one place, reprocess that section and keep the frames that are already stable.

If a blotch pulses where the object used to be, drop in a clean background frame from the same clip. With strong camera movement you'll have to track the mask and keep the patch position in line with the perspective. Sometimes it's simpler to take a neighboring take where the object isn't in the part you need.

Changing the light without flicker

New light shows up on the face, the walls and the shadows all at once. Set the direction and softness of a single source and ask for the light level to stay constant throughout the shot. Take a segment without a sudden exposure shift and mark the light and dark sides of the face and one static landmark on the wall.

A woman lit by soft side light in a film studio set, the shadow falling smoothly across the right side of her face
A woman lit by soft side light in a film studio set, the shadow falling smoothly across the right side of her faceSolistra image
PromptSoft window light

Relight the portrait with a single soft window light from frame left. Shadows fall gently to the right side of the face. Keep the light direction, exposure and color stable while preserving the original gesture, framing and wardrobe.

Keep two tasks apart. Overall brightness is easier to fix with an ordinary correction in the edit. A generative move of the light source is needed when the shadows have to shift, and it's best judged by the shadow on the face. If the light jumps when the head turns, weaken the change or shorten the segment. If the background pulses separately from the subject, check stability against a static landmark, not against the frame's average brightness. And make sure the overall impression got warmer because of the light, not because of an accidental change in the color of the clothing.

Transferring a material from a reference

A photo of fabric tells the model the color and the character of the sheen, but it can also carry over the folds and the silhouette. That's why the prompt describes the property you want separately from the object's shape. Choose a close-up of the material with no other objects and no folds that resemble the object's outline. Feed it in as a reference if the editor supports that. More on reference roles is in the guide on references.

A ceramic bird and a separate swatch of burgundy satin, from which only the color and sheen are transferred
A ceramic bird and a separate swatch of burgundy satin, from which only the color and sheen are transferredSolistra image
PromptSatin sheen on ceramic

Use the reference for the burgundy satin sheen and color only. Apply that surface appearance to the ceramic bird while keeping its rigid silhouette, wing shape, edges and original movement.

Start with a small turn and compare a flat swatch with a folded one. If the wings turn into fabric, switch to a flatter section of the swatch and lower the effect strength if there's a setting for it. The silhouette is easy to compare on a small, high-contrast copy of the frame: a new fold shows along the edge even when the material looks great in close-up. Also check the highlight on areas with different curvature. If it behaves the same on a flat surface and on an edge, it looks like a pasted-on texture. When geometry matters more than styling, apply the color and the highlight as a separate layer.

Mask edges

A static mask may look precise on the first frame and lag behind during motion. Feathers, hair and the edge of sheer fabric are especially vulnerable. Mark a few frames with the object's extreme positions and temporarily show the mask over a contrasting backdrop.

PromptPaper bird on a plum background

Preserve the white paper bird and each thin feather edge. Replace only the background with even dark plum. Keep the original tilt, framing and rim light. The new background stays behind the shape.

Check on two backdrops. A dark one shows a light halo, a light one shows gaps and dirty edges. Compare a light feather and a harder edge at the start and at the maximum turn. If a fine detail disappears, expand the mask locally, not along the whole outline. If the background bleeds inside, check the feather width and the position of the frame during motion.

If the mask holds steadily until the turn, split the clip into parts. For a tricky spot, fix a few keyframes by hand.

Grain on the repaired area

After a generative edit, the repaired area often gives itself away with a surface that's too clean. View the original and the edit at 100% and compare the grain on areas of equal brightness: a plain wall or the shadows work best, so the loss of texture isn't confused with a change in the light.

PromptMark on plaster

Remove the small mark on the wall while keeping the original plaster grain, wall color and soft light. Preserve the camera motion and avoid smoothing the repaired area.

There are two approaches: light grain on the repaired area only, or one shared texture layer for the whole scene at the final stage. If the local grain reveals the edge, bring the original and repaired layers to a similar texture and process the clip as a whole. If the new noise is coarser than the original, reduce its size and strength. Grain can't hide jumps in shape.

Check the fragment after the final compression. Grain that's too strong can break up into blocks, even though in the master it hides the edit boundary nicely. Checking the export is covered in detail in the guide on AI video quality.

How to check the result

The checking order is the same for every edit.

  1. Toggle between the source and the edit at the same zoom. First look at the edited area and its surroundings, then the whole clip at normal speed.
  2. Find the first phase where jitter, a halo or a double outline appears. Compare frames from the same phase of motion: on random frames, it's easy to mistake a difference in pose for an effect of the edit.
  3. If the edit depends on a mask, check the object's extreme positions.
  4. Make sure the duration, the action, the framing and the control detail outside the edit all match.
  5. Drop the segment back into place in the edit. If it looks good as a separate file but stands out at the cut, match the neighboring shots in brightness and texture.
  6. Export a short test before processing the whole series, and keep the master, the source and the settings.

Acceptance criteria by task: the new background stays behind the hair and clothing, the recolor didn't touch the background or the hands, the floor line behind the removed object is continuous, the shadows after relighting move smoothly with the shape of the face, the material from the reference didn't change the silhouette, the mask edge doesn't pulse, and the repaired spot doesn't stand out through either smoothness or noise. It's handy to log each observed defect and your next setting, as described in the guide on prompt iterations.

Common mistakes

  • Asking for a change without saying what to keep. The model changes the face, the light and the framing more freely when they aren't named.
  • Editing the whole clip at once. A long segment with complex motion more often gives you a sticky background and jittery patches. A short section with a clear silhouette is easier to check.
  • Removing an object without its shadow. The shadow stays on the floor and gives the edit away.
  • Matching color by the highlight. The highlight shows the light source, while the base color is visible on the middle area of the surface.
  • Using a folded reference. The swatch's folds carry over to the rigid object.
  • Checking the mask on the first frame. The edge lags on the turn, so look at the extreme positions.
  • Hiding defects with grain. Grain hides smoothness but not a jump in shape, and after compression it breaks into blocks itself.
  • Replacing the source with the result. Without the original there's nothing to compare the next attempt with and nothing to fill the background from.

Frequently asked questions

How do I change a video background with AI without ruining the person?

Describe the new background and the light on it, and in the same sentence list what stays: the face, the hair, the clothing, the gesture, the framing and the original light on the person. Start with a background close in brightness to the original and check the hair and shoulders at the widest phase of the motion.

How do I remove an unwanted object from a finished video?

Ask for the object to be removed together with its shadow and name what should appear in its place: a wall, a floor seam, tiles. Check the continuity of the lines in the middle of the camera move. If the spot jitters, drop in a clean background frame from the same clip or use a neighboring take.

Can I recolor an object in a video and keep its highlights and texture?

Yes, if the object occupies its own area. Name the material, the original and the new color, and ask to keep the shape, highlights, texture and background. For an exact product shade, an ordinary masked color correction is more reliable.

Why is there a halo around the hair after the edit?

The mask or the edit boundary can't keep up with fine strands. Look at the edge on a dark and a light backdrop, compare the feather width and expand the mask locally in the problem area.

Why does the repaired spot in my video look too smooth?

A generative edit often loses the source grain. Compare the texture on areas of equal brightness at 100%, add light grain to the repaired area or a shared layer to the whole scene, and check the result after export.

Which model should I use to edit a finished video in Solistra?

The Video («Видео») section has dedicated options for editing a finished clip, such as Grok Imagine Edit. The techniques in this guide work with any editing model: list what should be preserved and test a short segment before processing the whole scene.

Try it in Solistra

Sources and licenses

Text
Solistra text. Our own wording and prompt examples, quotes under 15 words
Images

Other images — Solistra image

Checked
November 12, 2026

Русская версия

Telegram