DEV Community

Cover image for I built an AI-powered Twitter Bot in 4 hours
Pradeep CE
Pradeep CE

Posted on

1

I built an AI-powered Twitter Bot in 4 hours

Coming off a busy day filled with client calls (I am a full-time freelancer / maker), I had a tiny idea: could I get AI to paint scenes from classic books?

I decided to see if it's possible for me to build something small around this idea. I copied a block of text from David Copperfield, pasted it into DALL-E, and found out it didn't work: it needed a more cohesive prompt.

So I put the block on text into GPT-3, and then had it generate the image prompt for me. I then copy-pasted this prompt onto DALL-E, and it worked surprisingly well! (image)

I thought spinning this into a Twitter bot would be fun, and did just that, while tweeting simultaneously :)

Image description

While this is just a fun little experiment, and essentially all I did was glorified plumbing — I know nothing about AI or ML, and this is just me integrating with different APIs — I would be delighted to hear what you think!

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post