This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: rwBNMrNawQ_DQ4UhYDJVBqoIsHKpi6urhsw_0oPZivc
Cover

Your Own Animated AI Avatar

Written by @paperhouse | Published on 2023/3/8

TL;DR
Using Midjourney I created an image of a person. I had ChatGPT create a script. With the help of ElevenLabs I converted the script into spoken word and with D-ID I made the animation. Sounds simple, and it is.

For those of you who have been following me for a while, you know that I'm passionate about artificial intelligence (AI) and all the potential it holds. I've written several articles on it, ranging from ChatGPT to Wordtune and 174 AI Tools To Try. I'm constantly reading and experimenting in this domain. From small Python applications to help with article creation.

Lately, I've noticed a lot of content about how to create an animated avatar using AI. So, I thought I'd give it a shot!

Your Avatar

To get your avatar made, use a drawing AI app like DALL-E 2 or Midjourney

The image below was created with Midjourney:

Avatar created with Midjourney

To register for Midjourney, you will require Discord. If you don't have an account, make one first.

Then, click the Midjourney logo on the top left to access the 'newbie' channels.

Screenshot form Midjourney

From there type ‘/imagine’

Screenshot from Midjourney

Proceed with the prompt. Here you can indicate what Midjourney should create for you. This is the prompt I used:

Screenshot from Midjourney

Midjourney then asks you to accept the Terms of Service before giving you 4 images to choose from. You can edit those as well. I picked the one top-right.

Screenshot from Midjourney

Pick the one that looks best to you and save it!

Script for the Spoken Word

I used ChatGPT to create a script. I entered a prompt and it delivered this text below.

Screenshot from ChatGPT

Now, this piece of text has to transform into a spoken word audio file.

Spoken Word

Fear not, as I've got the solution - audibly record my text? No way! I'm not a fan of hearing my own voice, so that's off the table. But don't worry, ElevenLabs is here to save the day and make my life easier.

333 or 10,000

If you don’t register with ElevenLabs, you will have 333 characters at your disposal to convert into speech. I registered, so I have 10,000 characters to convert into speech.

Screenshot from ElevenLabs

As you can see, there's a bunch of voices to pick from. I chose the first one, and it read my text out loud. Copy what ChatGPT gave you into the text box at ElevenLabs and press that 'Generate' button. Once you do, you'll see a play icon on the bottom part of your screen. Just hit it, and you hear the text read out loud, and you can experiment with different voices! Have fun!

Screenshot from ElevenLabs

If you're thrilled with the text and the accompanying vocalizations, click that download button! Then, there's just one more step to complete this tale - getting the animation.

Create the Animation

For this, I used D-ID. This application is very easy to use.

In the left bar, click on ‘Create Video’

Screenshot from D-ID

In the next screen, you will add your avatar, the one you created with Midjourney, as a Presenter.

You do this by clicking ‘Add’ under the heading ‘Choose a presenter’

Screenshot from D-ID

You choose the file you want to upload and you’re done with the presenter.

We’ll keep on clicking. On the right side of your screen, you’ll see the option to upload Voice Audio.

Screenshot from D-ID

Click on ‘Upload your own voice’ and load the audio file you saved at the ElevenLabs step earlier.

If that went well, you can click on ‘Generate Video’ at the top right.

Screenshot from D-ID

It takes some time to generate your video.

Your Own Animated AI Avatar

https://youtu.be/b6fIbN2Ao4I?embedable=true

Sources (& Tips)


Also Published Here

[story continues]


Written by
@paperhouse
Data Engineer @AmsterdamPartn1, author of 'Twitter en Personal Branding', sharing stories about data, AI and tech.

Topics and
tags
artificial-intelligence|how-to|avatar|chatgpt|midjourney-ai|elevenlabs|d-id|video
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: rwBNMrNawQ_DQ4UhYDJVBqoIsHKpi6urhsw_0oPZivc