Creating Your Own Deepfakes Without Coding Experience

Table of Contents

Deepfake Video Examples


Things you’ll need

  • A Google account
  • An image of what you want to animate
  • A video to extract the animation from
  • Some free time

Before starting

Sign in to your Google account

Connecting to the Google Colab

Creating your own deepfakes

(Step 1) Cloning the Repo

(Step 2) Change your directory

(Step 3) Mounting your Google drive folder on Colab

(Step 5) Create a folder called “first-order-model-motion” in your Google Drive

(Step 6) Loading your image and video

Just make sure that the ending of the path has the correct name, i.e. ‘…/your_image_file.png’ and ‘…/your_video_file.mp4’

(Step 7) Creating the model and loading the checkpoints

In the image above you see a square icon because I was already running it but you should see a play icon.

(Step 8) Creating the deepfake

(Step 9) Saving your deepfake


Using your own image

Using your own video

!ffmpeg -i /content/gdrive/My\ Drive/first-order-motion-model/my_video_file.mp4 -s 256x256 -c:a copy /content/gdrive/My\ Drive/first-order-motion-model/result.mp4

Video tutorials




Web developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Using GCP AutoML Vision to Predict Firearm Make/Model from Ballistic Images

ShareChat’s Content Processing Pipeline — ShareChat

learn R

Extractive Text Summarization using Contextual Embeddings

Introduction to CycleGANs

Introduction to Machine Learning and Deep Dive into Linear Regression

Simple Geometric Interpretation of SVM using Convex Hull

Leela Chess — Test40, Test50, and beyond

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alan Constantino

Alan Constantino

Web developer

More from Medium

Google Has Created an A.I. Job Interview Tool

A picture of a young man surfing on this laptop in a high-rise

“How to get a job in tech guide”, without trying to sell you something

GPT-3 tells you best coding courses

How does DownDetector work?