Erick Castillo

Full Stack Developer

Erick Castillo

Full Stack Developer

How I Built Video2Post: AI-Powered WordPress Plugin for News Automation

by | Jul 29, 2025 | Projects

How I Built Video2Post: Automating News Articles from Videos Using AI and WordPress

In the fast-paced newsroom where I work, speed and accuracy are everything. That’s why I developed Video2Post — a custom WordPress plugin that automatically transcribes video content, generates a news article using AI, and publishes it directly to our website. In this post, I’ll walk through what it does, how it works, and the impact it’s had on our publishing workflow.

What Problem Does Video2Post Solve?

Before this plugin, every news video required manual transcription and article writing — a tedious, time-consuming process that slowed us down significantly. Journalists would spend up to an hour processing each video story. Video2Post eliminates all of that with a few simple clicks.

Introducing the Video2Post Plugin

Video2Post is a WordPress plugin I custom-built that lets you batch upload video and image files, transcribe the videos with AssemblyAI, generate articles with OpenAI, and create new WordPress posts instantly. It’s particularly powerful for newsrooms handling sports, weather, or breaking stories.

Key Features

  • Batch Upload Interface: Upload multiple video/image pairs in one go.
  • AI Transcription: Accurately transcribes audio using AssemblyAI.
  • AI Article Generation: Generates full news articles via OpenAI based on transcripts.
  • Post Automation: Automatically publishes the post with a featured image, embedded video, and SEO-optimized content.
  • Special Handling for Sports & Weather: Shortcodes like [weather_video] and [sports_video] update dynamically.
  • Language & Length Settings: Choose Spanish or English and set article word counts.

How It Works

  1. The user uploads a batch of video and image files via the plugin’s admin interface.
  2. Each video is transcribed using AssemblyAI.
  3. The transcript is sent to OpenAI to generate an article based on preset length and language settings.
  4. The plugin pairs the video with its corresponding image, categorizes the post, and publishes it (or saves as draft).

Screenshots and Demo

I’ll be uploading screenshots and a short demo video to show the plugin in action:

  • Upload InterfaceVideo2Post - Dashboard - Quick ElementVideo2Post - Plugin Interface
  • Plugin SettingsVideo2Post - Plugin Settings
  • Demo

Behind the Code

Here are a few things I learned while building Video2Post:

  • Managing batch uploads and async processing in WordPress requires careful handling of file types and IDs.
  • Parsing AI responses and ensuring consistent formatting takes a lot of trial and error.
  • Shortcodes are a powerful way to dynamically update site content — especially for weather and sports updates.
  • Giving editors control over article length and language improves editorial trust in the AI output.

Tech Stack Used

  • WordPress (PHP, JS)
  • OpenAI GPT API for article generation
  • AssemblyAI API for transcription
  • Custom shortcode logic for embedding latest sports/weather content

Final Thoughts

Video2Post has been a game-changer for our newsroom. It saves hours of manual work each week and ensures articles get published faster, especially for time-sensitive content. This plugin reflects the kind of solutions I love building — smart, practical tools that solve real-world problems using modern technologies like AI and automation.

If you’re curious about the plugin’s capabilities or want to discuss a similar integration for your workflow, feel free to contact me.

For more articles on WordPress.