How to Animate Only One Part of a Photo With AI and Keep the Rest Still

To animate only one part of a photo with AI, use the photo as the first frame and ask for one specific movement. Watch the result at the size you plan to share it. If the movement looks right but something else shifts, put the clip over the original photo and use a soft-edged mask to reveal just the moving area.

We tried this on a mug of coffee. The first take gave us a faint curl of steam and the word DAY stayed readable. We kept that take. Below is the exact prompt, followed by the one extra edit we made to freeze even the surface of the coffee.

Try the coffee steam prompt

In Runway, open Creative → Tool → Video. Select Gen-4 Turbo, upload the DAY mug starting image, choose 16:9 and 5 seconds, then paste this prompt:

Locked-off tripod shot. A thin wisp of steam rises slowly from the coffee and curls gently above the rim. The ceramic cup, its printed lettering, the spoon and the background remain still.

“Locked-off tripod shot” asks for a fixed camera. The next sentence tells the model where the motion starts and how it travels. For your own photo, name one moving detail and a visible landmark that should stay still, such as a shoreline or a window frame.

What moved in the first take?

Look just above the rim against the dark wall. The steam is easiest to see full screen. On a second viewing, follow the edge of the Y and the tip of the spoon. Neither visibly changed position. During playback we thought we saw a slight movement in the bubbles along the inside rim. For a natural coffee shot, we would happily use this version.

Test settings. One generation on November 30, 2026 (Tallinn time). The downloaded clip was 1280 × 720 at 24 fps. At Runway’s published Gen-4 Turbo rate of 5 credits per second, the expected cost was 25 credits. We did not verify an itemized charge. All the editing below uses that same take.

Should you keep the take, mask it or try again?

  • Keep it if the intended detail moves naturally and everything you care about looks steady at the final viewing size. This was enough for our coffee shot.
  • Mask it if you like the movement but need an exact, stationary label, face or background. A useful take with one wobbly letter is worth saving.
  • Try another take if the movement itself is wrong. If steam sinks into the cup or starts beside the handle, freezing the background will still leave you with the wrong steam.

How to keep the rest of the photo still

Starting frame with an ivory DAY mug, a spoon on the wood table and a thin wisp of steam against a dark wall.
Our ChatGPT-generated starting image. The straight edge of the table and the lettering give you two easy ways to spot unwanted movement.

Choose an image with clear space around the movement. In this photo the steam rises against a plain wall, so we can blend over the wall and leave the hard ceramic rim on the still layer. The photo and clip need the same framing. Toggle between them on the opening frame and check the rim and the table edge before you draw anything.

Grayscale steam mask with a white opening that widens upward and a black lower half covering the mug and table.
The actual mask from our edit. White reveals the video, black keeps the original photo, and the gray edges blend the two. The narrow end sits just above the cup.

We made the composite in FFmpeg. The steam follows exactly the same path in both clips because it comes from the same generation. In the edit, the coffee surface comes from the photograph for the full five seconds. Watch the masked version on YouTube and look at the bubbles near the rim. Open the full-size mask to inspect the boundary.

Recreate the mask in DaVinci Resolve

Here is a no-code way to reproduce the layer arrangement. In another editor, look for two video tracks, a shape mask and an adjustable soft edge.

  1. Make a 1280 × 720, 24 fps timeline. Put the starting photo on V1 and the downloaded video on V2. Align their starts and trim the photo to the clip length.
  2. Toggle the upper track on and off on the first frame. The cup rim and table edge should line up. Correct any scaling or crop difference before drawing the mask.
  3. Select the upper clip. On the Color page, use a Power Window to draw a shape around the steam’s full path. Keep its bottom edge just above the rim. Give the steam room on both sides.
  4. Right-click the node graph, choose Add Alpha Output and connect the node’s blue key output to it. Soften the sides of the window. Check that the steam is visible inside it and that the lower track supplies the cup.
  5. Play at normal speed, then inspect the rim at full size. If the wisp disappears abruptly, widen the window. If the bubbles move, raise the lower boundary. Export as an H.264 MP4.

If the whole upper clip still covers the photo, check the blue alpha connection. If the cup moves but the steam is frozen, the selection is inverted. Blackmagic shows how to connect the alpha output in its DaVinci Resolve 21 guide under “Resolve FX,” page 98.

What if the mask edge shows or the background drifts?

  • A bright outline appears above the cup. Check alignment before increasing the feather. Two slightly different rims will still look like two rims after blurring. Move the transition onto the plain wall.
  • The steam stops at an invisible line. Scrub to the frame where the plume spreads widest. Enlarge the mask there and keep its lower edge above the coffee.
  • The whole frame moves. A static mask can handle a little unwanted background motion while the steam stays attached to the rim. If the steam slides away from its source, revisit the camera movement or choose another take. See how to diagnose background warping.

Questions about animating part of a still image

Can I use this method for water, clouds or hair?

Look at what the moving detail will pass in front of. Ripples inside a pond have a natural boundary at the bank. Clouds can move above a fixed skyline. Hair crossing a face is harder because a moving strand may reveal skin that the original photo never showed. For a first portrait test, choose a loose strand against a plain background. These are starting ideas; our test covered the coffee shot.

What is the difference between a motion brush and a mask?

A motion brush guides the generator by marking where you want movement. A compositing mask works after generation and selects which parts of an existing video are visible. If you already have a good clip and only the label wobbles, you can fix the label in the edit without spending more generation credits.

Does the clip loop like a cinemagraph?

A cinemagraph repeats a small movement while the surrounding photograph stays still. Our five-second example demonstrates the isolation step. For a loop, play the end directly into the beginning and watch the shape of the plume across that join. Try a shorter section with matching shapes or a brief overlap. Playing the steam backward makes it travel down into the coffee. We did not test a seamless loop in this experiment.