Breaking: Now you can turn images into video with ChatGPT!

 

How to do it? Use the new feature called Code Interpreter. See the steps below 👇

Step #1

We will be using the ChatGPT Code Interpreter model.

To enable it, go to Settings -> Beta Features -> Code Interpreter

It will be available to all ChatGPT plus users this week.

ChatGPT workflow for turning multiple images into a video.

Step #2

Select the “Code Interpreter” option from the dropdown menu.
Then, upload the image that you want to animate.
Images arranged into a video using ChatGPT and Code Interpreter.

Step #3

Choose the panoramic image you want to animate. A wide restaurant food photo works well because the video can move smoothly across the dishes while keeping the main subject visible. Upload the image to ChatGPT and describe the direction, aspect ratio, and movement you want.

Ask ChatGPT to pan from the centre to the right, return to the centre, move left, and finish in the middle. Clear instructions help create a smoother result. Explore these practical AI uses in digital marketing for more ideas.

Food spread with burgers, fries, fried chicken, pasta, salad, ice cream, corn, and drinks arranged against a dark background.

Step #4

Write a clear prompt that tells ChatGPT exactly how the image should move. Include the required video ratio, starting position, panning direction, frame step, and preferred output format. In this example, the image moves from the centre to the right, returns to the centre, pans left, and finishes in the middle.

Attach the panoramic image with the prompt and review the instructions before submitting. Precise directions reduce sudden jumps and help produce a smoother animation. You can also explore these ChatGPT prompts for digital marketing for more practical ideas.

ChatGPT prompt showing instructions to animate a panoramic food image into a smooth panning video.

Prompt:

This image is a panoramic shot.

Help me turn it into a video with aspect ratio 3:2, with the image filling the entire video (so the sides are cut off). The video should be centered in the middle of the image.

Then, pan the video smoothly (with no sudden jumps) as follows:

Start: Center –> Right –> Center –> Left –> Center: End

Use the imageio library to help you. Save the frames directly to a video file instead of into a list.

Use a frame step of 8 pixels. If necessary, crop the edges of the image so that the size of the image is divisible by the frame step.

Step #5

Hit Enter. After 30 seconds, ChatGPT will give you a download link for the video.

ChatGPT response showing the completed image-to-video animation and a download link for the generated video.

And that’s it!

How to modify the prompt:  

  1. To make the image smaller, tell GPT to resize it by 50%.  
  2. To pan the video from bottom to top, change the prompt to “Start: Bottom -> Center -> Top: End”  
  3. To make the video 2x faster, change the frame step from 8 to 16 pixels.

Annotated ChatGPT prompt showing three instructions for resizing a panoramic image, adding smooth panning, and setting the video frame step.

About The Author