Techniques

First and Last Frame AI Video: Animate a Photo

First and last frame AI video: when to start from text or a photo, how to check and crop the source, match the lighting and set the final frame of a clip.

23 min read10 promptsChecked November 12, 2026

Two frames with a paper boat, sailing down a canal at the start and resting by the rocks with a little flag at the end
Solistra image
Contents

When you upload a photo, the model gets a finished scene: the subject, the lighting, the composition. All that's left is to say what should happen. Add a last frame as well, and the model knows the ending too, so its job comes down to building motion from one picture to the other. This guide covers when it's worth starting from an image at all and when from text, which models can work with a pair of frames, how to check and crop the source before you run it, why the lighting in the photo and in the prompt has to match, how to prepare the final frame and how to animate an old photograph with care.

Text or an image as input

Before you prepare any frames, decide what's already been approved. A text start is good for exploring: the model proposes the composition, angle and layout on its own, and every new run gives you a new option. An image as input is what you want once you don't need more options: the angle is agreed, the color of the object is chosen, and you know where the subject sits in the frame.

If the text version keeps changing the shape of an object or the composition from run to run, and you need exactly that shape, prepare a source image and feed it in as the first frame. Then the prompt mostly describes the motion rather than the scene.

A good way to choose the mode is to run two tests of the same idea with the same criteria. Say, a coral lantern swinging gently in a brick arcade. In the text test, describe the place, the shape and the action. In the image test, leave only the motion. Compare which details change from start to finish and how many attempts it took to get a take you'd accept.

PromptText start to explore the composition

A coral lantern hangs in an empty brick arcade at dusk and swings gently. Warm light from the lantern falls on the arches, the rest of the arcade sinks into soft blue shadow. The camera stays still at eye level.

PromptThe same lantern from the approved frame

The same coral lantern swings once to frame right and settles. Preserve the approved lantern shape, framing, archway and dusk light. Keep the camera still.

A blank sheet and a finished frame of the coral lantern: the text start explores composition, the image holds the approved one
A blank sheet and a finished frame of the coral lantern: the text start explores composition, the image holds the approved oneSolistra image

Compare the source image with the first frame of the video straight away. If the shape of the object has already changed at the start, that's a sign to pick another model or a cleaner reference. And remember the flip side: an image carries everything into motion, defects included. If the source has a mistake, fix it first and only then run the animation with the same motion description.

Two ways to work with frames

First frame, or image to video. The image becomes the start of the clip. It works for bringing a portrait to life, showing a product in motion or continuing a finished illustration. The model invents the ending itself from the prompt.

First and last frame. You set both the start and the end. Kling describes this mode as a way to control the transition more precisely, and Google calls it interpolation. Use it when you need an exact final frame: a product in its packaging, a character in a specific pose, one object turning into another.

There's also a third option for complex stories. Grok Imagine 1.5 accepts up to four keyframes inside a clip, and according to its guide, Seedance 2.5 lets you set the order of several keyframes.

Opening frame of a character with a calm gaze
Final frame of the same character smiling
Opening and final frames of the same character: a calm gaze and a smileSolistra image

Which models can do this

The table is based on the developers' documentation as of the date it was checked. In Solistra, the launch form shows which modes a particular model supports.

ModelFirst frameFirst and last frameWhat matters
Kling 3.0YesYesThe frames should be similar, or you may get a cut
Veo 3.1YesYesChoose the photo closest to the first scene
Seedance 2.0 and 2.5YesYesThe first frame sets the format and the last one is cropped to match
Wan 3.0YesYesBest to leave the format on automatic
Hailuo 02YesYesThe API reference lists the frame pair mode only for this version
Hailuo 2.3YesNoFirst frame only
MiniMax H3YesYesYou can set one frame, two or none
Grok Imagine 1.5YesYesPlus up to four keyframes inside the clip

How to check and crop the first frame

A small preview forgives a lot. An extra handle on a mug, a blurry finger or a clipped edge of an object are barely visible in a thumbnail, but in motion such errors often get worse. That's why you check the first frame before the run, not after.

Check it at full size

Open the image at actual size and go through four points: the main object, the perspective, the hands and the edges of the frame. If the still source already shows a mistake, replace the image before generating. You can't fix it with text: the model sees pixels, not your intention.

A good example is a photo of someone taking hold of a door handle. The fingers, the shape of the handle and the room for movement are what matter. If the fingers already merge with the door at the start, the model can build anything at all out of that. Make a copy of the source with a clearer grip and compare both runs on the first and middle frames.

PromptHand on a door handle

The visible hand gently turns the existing door handle and pauses. Preserve the original grip, the single handle, the door frame and the soft hallway light. The camera does not move.

If the frame will open the second shot in your edit, put it next to the end of the first shot. The size of the subject, the side the light comes from and the position of objects need to carry over from one to the other, or the cut will show, even if each clip is fine on its own.

Leave room for the gesture

A hand that's cropped in the source image deprives the model of information about how the gesture works. For sculpting, cooking or unboxing, start with a slightly wider shot. A moving object needs room on the side it's heading toward.

Trace the future path of both hands with your finger. If it crosses the edge of the frame, recompose the source first. Check separately whether the elbow will leave the frame on the lift. A gesture toward the camera is especially tricky: the object comes closer, the hands grow in apparent size, and halfway through the motion the boundaries of the first frame are no longer enough.

PromptA ceramic artist lifts a bowl

Medium shot with both hands fully visible. The ceramic artist in a linen apron lifts the bowl with both hands to chest height, holds it level for a beat, then lowers it onto the workbench. Soft daylight, static camera.

A ceramic artist in a linen apron: both hands and the whole bowl in frame, with room on the sides for the lift
A ceramic artist in a linen apron: both hands and the whole bowl in frame, with room on the sides for the liftSolistra image

If the model still clips the fingers, remove any automatic push in from the prompt and leave more room on the side of the active hand. A background landmark helps you tell the cause. If it grew in the frame, the model moved the camera closer on its own. If it didn't change, the path or an overly tight source is to blame. It's better to get a close-up later from a stable take you've picked than to ask the model for one on the first run.

Try out the final crop for publishing too. Without captions the frame may look roomy, but once you publish, a caption can cover an important part of the hand. Framing for vertical video is covered in detail in the guide to vertical video.

Format and resolution

Make the source image in the proportions you need for the clip from the start. Many models keep the proportions of the source, and with Grok Imagine, when you animate a photo, the clip's format equals the image's format. Kling notes that the quality of a video made from a photo depends heavily on the resolution of the source, so don't feed in a downscaled copy.

Lighting in the photo and in the prompt

If the light in the source falls from the left and the prompt asks for a bright source on the right, the model gets two conflicting instructions. The result is predictable: at the start of the motion the highlights jump to new places, the shadows hop and the brightness pulses. It's especially noticeable on faces, gloss and fabric.

Before you run it, find three things in the photo: the lit side, the direction of the cast shadow and the color of the reflections. Name the constant light source in the prompt once, and don't add the sun, a lamp and a light effect to it all at the same time. For the first test, animate only the material or the gesture, and leave the light where it was.

PromptMannequin with burgundy fabric

Soft window light comes from frame left and stays constant. A loose fold of the burgundy fabric moves slightly as the mannequin turns a few degrees. The shadow keeps falling to the right. The camera remains fixed.

A burgundy mannequin under a large soft light from the left: one source, with shadows and highlights falling consistently
A burgundy mannequin under a large soft light from the left: one source, with shadows and highlights falling consistentlySolistra image

Lighting also matters between neighboring shots. If a wide shot of someone at a workbench cuts to a close-up of their hands, the viewer should recognize the time of day and the side the window is on. Prepare a close-up source with a similar angle of light and neutral exposure, and judge the result on the same patch of skin and wood. Comparing different sides of an object hides a color shift that will become visible at the cut.

You can correct overall brightness that has drifted in the Video editor («Монтаж»). Shadows that have moved can't be fixed that way: rerun with less motion or a different source. Don't mix a change in the time of day with the action. If you need one, set a single smooth transition or edit separate shots together.

Last frame: how to set the ending

The end frame works as a target the model has to reach. The bigger the difference between the two pictures, the more transitions the model has to guess. So preparing a pair of frames comes down to leaving exactly one change between them.

  1. One format. Make both pictures in the same proportions. According to their documentation, Seedance and Hailuo 02 take the format of the first frame and crop the last one. The Seedance 2.5 guide warns that with different proportions the last frame may be stretched.
  2. Similar pictures. Kling recommends two closely related images on the same theme, so the transition over 5 seconds comes out smooth. A big difference can cause a change of shot instead of motion.
  3. The same character. The face, clothing and hairstyle should match. A convenient approach is to generate both frames with the same image model, changing only the pose or one detail. There's more in the guide to consistent characters.
  4. The same lighting and angle. If it's morning at the start and night at the end, the model will repaint the whole scene. Line up the bottom edge of the main object and its shadow in both frames.

A handy practice example is a curtain and a sculpture. In the first frame the curtain is partly closed, in the second it's fully drawn back, and the sculpture and the direction of the shadow don't change. The prompt describes only the motion between them.

PromptA curtain reveals a sculpture

The curtain slides to the left at a steady pace, revealing the same ivory sculpture on its plinth. It settles fully open. Keep the camera and lighting fixed throughout.

The same goes for objects. If the ending should show a box with its lid pushed aside, the table, the base of the box and the side light match in both frames, and the lid stays visible at the end. In motion, the path of the lid matters, and in the final frame, the full shape of the object. Ask for a short pause on the approved position, since it'll come in handy in the edit.

PromptA box lid slides aside

The lid slides aside and reveals the same box contents. Preserve the camera, the box base and the side light. Finish on the approved open position and hold briefly.

If the transition turns into one picture dissolving into the other, bring the start and end shapes closer together and describe a physical motion. If the box changes size, check the crop of both frames. For a complex transformation, prepare an intermediate shot or build the action from two clips: the opening separately and the final look of the product separately, with a short pause at the cut.

How to write the prompt

For a first frame. Kling's formula for image to video is subject plus motion, and background plus motion if needed. The scene is already in the picture, so don't describe it again. Describe who does what, in order if there are several characters. The motion has to be plausible for that picture.

For a pair of frames. Describe the path from start to end: what changes, in what order and how the camera moves. The Seedance 2.5 guide recommends describing each frame separately rather than writing "images 1 and 2 are the first and last frames." Then give one continuous action and end with a sentence about what stays the same: the character, clothing, objects, camera direction.

Without a prompt. According to its documentation, Grok Imagine 1.5 accepts a pair of frames with no text, and the model fills in the motion itself. But a prompt almost always gives a more predictable result.

Choose an image that most closely resembles the first scene of the video you have in mind — Google, Veo
PromptA transition between two poses

First frame: a young woman looks into the camera with a calm face. Last frame: she laughs and covers her face with her hand. In between, she hears a joke from off camera, first raises her eyebrows in surprise, then starts to laugh and lifts her hand to her face. Keep her face, hairstyle, sweater and light background. The camera is static.

PromptA bud opens

First frame: a rose bud in a glass vase on a windowsill. Last frame: the same rose fully open. The bud slowly unfolds petal by petal, the window light does not change, the vase and the windowsill stay in place. Static camera, time lapse.

If the camera also needs to move between the frames, for example from a wide shot of a coffee shop through its window to a cup on a table, name the move directly: the camera passes through the glass and dollies in on the cup in one continuous shot. Camera move names are covered in the guide to camera movements.

Old photos: gentle animation

An archival photo calls for special care. Dust, creases and faded eyes can become part of the motion: the model will take a scratch for a wrinkle and a stain for a shadow. At the same time, aggressive retouching is just as risky, because it erases the features that make a person recognizable.

Here's the workflow. Scan the photo straight and keep the original scan untouched. Crop off the edges of the mat. On a working copy, remove only the defects that get in the way, first of all scratches that run across the face. Leave the natural texture of the paper. It helps to make two copies, one with a crease removed delicately and another with stronger smoothing, and compare the shape of the eyes and the chin on both before animating.

Keep the motion minimal: one blink, a light breath. Keep the original angle and framing. Run both copies with the same prompt and see which one holds the face more steadily.

PromptArchival portrait

A quiet archival portrait with one subtle blink and a small relaxed breath. Keep the person's facial structure, gaze, original lighting and framing. Preserve the gentle texture of the photograph. The camera remains still.

A vintage photograph next to a magnifying glass on a wooden table: before animation the photo is checked at full size
A vintage photograph next to a magnifying glass on a wooden table: before animation the photo is checked at full sizeSolistra image

If the face gets too smooth, the cause is usually retouching before the run, so go back to the gentler copy. If a defect only comes alive in motion, clean it up locally on the source. Keep your copies under clear names: when the animation amplifies a defect, it's easier to tell whether it came from the original or appeared during processing.

There's an ethical side too. Use only photos you have the rights to. Unknown details of the face, clothing and background that the model filled in are not documentary evidence. When you show the clip, make it clear that the motion was generated from an archival photo. Sometimes it's more honest to show the photo still and add only a shift in the light or a reframe.

How to check the result

Check not only the final clip but the path to it. First compare the prepared inputs as stills, then compare video frames at the same phase of motion. Don't confuse a difference in display scale with a change in the object itself: look at one outer edge and one inner detail. If both change together, it's a change of angle. If one disappears or changes proportions, look for the cause in the source or in the amplitude of the motion.

  • The first video frame matches the source. The shape of the object, the number of details and the hand's grip are the same as in the photo.
  • The path fits. From the grab to the stop, the fingers and the object stay visible, and at the top of the gesture the palms don't touch the edge.
  • The lighting is stable. In stills the shadow falls on one side, the highlights move with the shape, and the color of fabric and skin is preserved.
  • The ending matches the goal. The last frame matches the approved one in shape, lighting and layout, and the path to it makes physical sense.
  • The object doesn't change halfway. The middle phase of the transition is the trickiest, so watch it frame by frame.
  • The old photo is recognizable. The person looks like themselves in the source and after the blink, and the texture looks natural.

The order for checking a finished clip is described in the guide to video quality checks.

Common mistakes

SymptomLikely causeWhat to do
A cut or a dissolve instead of motionThe two frames are too differentLeave one change between the frames, prepare an intermediate shot
The last frame is cropped or stretchedDifferent frame proportionsPrepare both frames in the same format
Fingers get clipped halfway through the gestureA tight source or a push in in the promptWiden the frame, remove the push in
Highlights jump at the start of the clipThe light in the prompt conflicts with the light in the photoName the source that's already in the photo
An extra detail grows in motionA defect in the sourceFix the image before the run
An old portrait lost its likenessAggressive retouching or too much motionGo back to the gentle copy, keep one blink

Three more mistakes come up all the time. The first is describing the picture instead of the motion. The model already sees what's in the photo, so spend the prompt on the action. The second is impossible motion. Kling recommends describing what could happen in that picture, and a person sitting at a table won't break into a run without a change of scene. The third is a pair of frames in a model that can't handle one. Hailuo 2.3 accepts only a first frame, so for a pair use Hailuo 02, Kling 3.0 or another model from the table. And don't forget about duration: a flower opening or a change of pose takes time, so add seconds or reduce the difference between the frames.

How to try it in Solistra

Open Kling 3.0 in Video («Видео»), upload the first frame and the last one if you need it, then paste in your prompt. The price shows on the launch button before you press it. If you need keyframes inside the clip, take a look at Grok Imagine 1.5. Read more about the models in the guides to Kling and to Seedance.

Frequently asked questions

How do I animate a photo with AI without losing the face?

Feed the photo in as the first frame and describe only the motion in the prompt, without describing the scene again. Start with a small action: a turn of the head, a smile, a blink. Check the source at full size before the run, and at the end of the prompt list what stays the same: the face, hairstyle, clothing and background.

How is first and last frame mode different from image to video?

In image to video mode you set only the start, and the model invents the ending from the prompt. In frame pair mode you set the end too, and the model builds the transition between them. You need a pair when the final frame is approved in advance: the character's pose, an opened package, a flower in full bloom.

Why do I get a cut between the first and last frame?

Most often the frames are too different: another angle, different lighting or a different position of the character. The model can't come up with a plausible path and inserts a change of shot. Bring the frames closer together, leave one change between them and describe a physical motion from start to end in the prompt.

Can I turn a horizontal photo into a vertical video?

Many models keep the proportions of the source, so the clip will come out horizontal or get cropped. It's more reliable to prepare a vertical photo from the start, with room above the head and on the side of the motion, and then choose 9:16 in the settings.

How do I animate an old photograph gently?

Keep the original scan, remove only the scratches on the face in a copy, and leave the texture of the paper. Set one blink or a light breath with a static camera. When you show the clip, make it clear that the motion was generated, and don't present filled-in details as documentary.

Do I need a prompt if I've uploaded both frames?

According to its documentation, Grok Imagine 1.5 accepts a pair of frames with no text. But with a prompt the result is almost always more predictable: describe what changes and in what order, how the camera moves and what stays the same.

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