AI Bot for creating and posting AI generated cars.

You may have noticed a recent wave of blog posts featuring AI-generated cars. These posts are the result of an experiment: building an AI-powered bot system that automatically creates and shares this content.

To make this happen, I used Claude.ai. I asked it to design a system that could run on a Linux machine and generate AI-created car images and descriptions, then post them to both Facebook and my WordPress site. Claude recommended several AI image generation tools with usable APIs. I ended up choosing Stability AI for the image generation part. And then Claude really started to impress me.

First, Claude built a database using SQLite to keep track of the images and their descriptions. Then it assembled the components using Python, even providing the necessary Linux command lines to install everything. It generated bash commands that set up the folder structure and created all the Python files—no need for me to open a code editor at all.

The biggest challenge was getting the REST APIs to work. Both Facebook and WordPress had security requirements that took some effort to get right.

Once the system could post to Facebook and WordPress, I thought it would be nice to add a web interface. So I asked Claude if it could build one on localhost. That simple prompt was all it took—Claude used Flask, a lightweight Python web framework, and created both the server and the web page for me.

Flask web interface for posting car images.

The biggest issue I had was that with all of the code being generated I would reach the chat limit. This would mean that I would have to open a new chat and then upload the files that I was debugging. But I can see that AI is going to have a massive impact on software development. On the plus side, it is going to make code development super fast. I don’t think that the number of software engineers will decrease, but their jobs will change and we will see more software being written faster. On the negative side, there is going to be code written (like this example) that is never looked at by the engineers. I had AI build this entire application and never looked at a line of the code it wrote.

By the way, Facebook made me create a page in order to post images. That page is at https://www.facebook.com/profile.php?id=61576617745039

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *