# Viralshorts AI

> Self-hosted FastAPI pipeline for automated YouTube Shorts generation, rendering, and scheduled publishing.

Viralshorts AI is a paid AI agent skill on Agensi by Tired, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $30 (one-time purchase)
- Creator: [Tired](https://www.agensi.io/creators/tired)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/viralshorts-ai
- Tags: api, python, ffmpeg, youtube-api, automation, fastapi

## About this skill

Manual video creation for vertical platforms is slow and repetitive. This skill implements a self-hosted FastAPI factory that automates the entire pipeline from topic discovery to YouTube upload.

### What it does
- **Topic discovery** monitors public RSS feeds to find trending ideas.
- **Scripting and TTS** generates narrated scripts using ElevenLabs or eSpeak NG.
- **Video rendering** uses Pillow and FFmpeg to produce original 1080x1920 H.264/AAC media.
- **Quality gating** scores videos against a threshold to prevent low-quality uploads.
- **Automated publishing** handles Google OAuth and resumable uploads to YouTube via official APIs.
- **Telegram control** provides a remote interface for approvals, status checks, and manual triggers.

### How it works
1. **Environment setup** initializes the Python 3.12 environment and system dependencies like FFmpeg.
2. **Integration configuration** connects Google Cloud, Telegram, and optional AI providers via the web dashboard.
3. **Pipeline execution** triggers the generation process to create a draft video for review.
4. **Approval and scheduling** moves videos from a pending state to the publishing queue based on daily slot targets.

### Frameworks & tools
Built with FastAPI and Python. Uses FFmpeg and eSpeak NG for media processing. Integrates with the YouTube Data API v3, ElevenLabs, and Telegram Bot API. Supports Docker and Render for deployment.

### Why this beats prompting it yourself
Prompting an LLM only gives you text. This skill manages the infrastructure, file system, and API handshakes required to move from an idea to a rendered MP4 on a public channel. It handles the specific technical constraints of YouTube's quota system and resumable upload requirements.

### Use cases
- Automate a faceless YouTube channel with daily scheduled Shorts.
- Build a vertical video production line that requires human-in-the-loop Telegram approval.
- Create localized content by pairing RSS feeds with specific TTS voices.
- Deploy a private media server for bulk-generating social media assets.

### Known limitations
YouTube limits new API projects to roughly 6 uploads per day. Rendering is CPU-heavy and requires at least 1 GB RAM. Standard cloud hosting like Render requires persistent disks for media storage.

## Requires

- Python
- @hackerai/local
- Node.js
- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Viralshorts AI skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Viralshorts AI do?

Self-hosted FastAPI pipeline for automated YouTube Shorts generation, rendering, and scheduled publishing.

### Which AI agents support Viralshorts AI?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Viralshorts AI?

Connect your AI agent to Agensi through MCP, then ask it to use Viralshorts AI on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
