← Videos

The MAD GOAT jokes collection

Your AI is…

AI roasting AI. All in good fun.

A cartoon goat poking fun at artificial intelligence: the hallucinations, questionable math, lazy answers, and occasional attitude. The irony? AI helps write the jokes and delivers the punchlines.

This is a little AI-on-AI comedy, with a human deciding which jokes make the cut. Pick a Short from the playlist and let the goat do the talking.

The MAD GOAT cartoon goat

The voice is AI-generated. The animation is code. The sense of humor is still up for debate.

Watch the collection here, or open the full playlist on YouTube.
Open the full playlist on YouTube ↗

How the jokes are made

The production workflow is built and runs on an Ubuntu server on a Hostinger VPS. It calls the OpenAI APIs, creates the animation, renders the video, and uploads it to YouTube. n8n provides a simple interface for triggering the process and approving jokes through a custom API.

  1. Write the joke

    The workflow on the VPS calls OpenAI to develop a joke for the cartoon goat, ready for review.

  2. A human approves it

    I use n8n to review and approve the joke. That decision goes back to the VPS through the custom API.

  3. Give it a voice

    The approved text goes to OpenAI’s text-to-speech API, which returns a WAV audio file.

  4. Animate the goat

    Remotion uses JavaScript to animate the character and build the video around the voice recording.

  5. Render the video

    The VPS processes the animation, with FFmpeg encoding the visuals and audio into the finished video file.

  6. Upload to YouTube

    The workflow uses the YouTube API to upload the finished video automatically.

One workflow, different ways to run it

n8n is a convenient interface for a human, rather than the production engine. The custom API lets that interface trigger the workflow and pass back approvals while keeping its API credentials in n8n.

The same workflow can also be called programmatically, started directly on the VPS, or triggered with curl from a terminal. A schedule or a messaging tool such as Telegram could provide another way to trigger it. The production process stays on the VPS, whichever interface starts it.

The tools behind the goat

Each tool has a specific job, from writing and speaking to animation, hosting, security, and uploading.

Writing & voice

OpenAI

OpenAI develops the joke. Its text-to-speech API converts the approved script into spoken audio, saved as a WAV file for the video.

Explore the text-to-speech API ↗
Human interface

n8n

Here, n8n is a simple graphical interface for starting the process and approving jokes. It connects to the VPS through a custom API and securely handles that API’s credentials. The production workflow runs on the VPS.

Explore n8n ↗
Animation

Remotion

A framework for making videos with React and JavaScript. The rendering workflow uses a Remotion skill to animate the goat and assemble the video.

Explore Remotion ↗
Video encoding

FFmpeg

A collection of tools for processing audio and video. In this production process, it encodes the animated visuals and voice recording into the finished video.

Explore FFmpeg ↗
Hosted computing

Hostinger VPS

The virtual private server hosts the complete production workflow and its custom API. It runs the production scripts, calls external services, renders the videos, and handles uploads.

Explore Hostinger VPS ↗
Operating system

Ubuntu

The Linux operating system installed on the VPS. It provides the server environment for the scripts, animation tools, and video processing.

Explore Ubuntu Server ↗
Security layer

Cloudflare

Cloudflare provides security services for websites and applications. It adds a protective layer around this hosted setup.

Explore Cloudflare ↗
Automatic upload

YouTube API

The YouTube Data API lets software upload videos to an authorized channel. The workflow uses it to send the finished video directly to YouTube.

Explore the YouTube upload API ↗

AI writes it. AI voices it. JavaScript animates it.
A human still has to approve the joke.