Case study

# XeniClips: AI Video Shorts Generator

Turning one long video into a week of Shorts used to take an editor days. Code Xenix built XeniClips, an AI video platform that finds the best moments, edits them into vertical clips and publishes them across every major social platform, with a human approving every post.

**Industry**

AI, Media Technology, Social Media Marketing

**Published**

November 2026

**Updated**

November 2026

*How Code Xenix built an AI video platform that finds the best moments in long-form content, edits them into vertical Shorts and publishes them across YouTube, Instagram, Facebook and TikTok.*

## Project Overview

**Product** XeniClips: AI Shorts generation and multi-platform social publishing

**Industry** AI, Media Technology, Social Media Marketing

**Platform** Web application

**Our Role** Product specification, UX/UI design, frontend and backend development, AI and video processing pipeline, social platform integrations, cloud infrastructure

**Built For** Content teams, agencies, podcasters, educators and brands turning long videos into short-form content

## The Challenge

Short-form video is the fastest way to grow on social media, but producing it is relentless work. A single podcast episode, webinar or interview can contain a dozen great Shorts, yet finding and editing them by hand takes hours:

- **Scrubbing through hours of footage** to find the moments worth sharing.
- **Reframing landscape video** into vertical 9:16 without cutting off the speaker.
- **Writing and timing captions** for every clip.
- **Hunting for B-roll** and making sure it's properly licensed.
- **Uploading the same clip four times** to YouTube, Instagram, Facebook and TikTok, each with its own title, description and hashtags.
- **Tracking what went out where**, and what failed.

Most AI clipping tools solve part of this, but they treat AI output as final and leave publishing to the user. The goal for XeniClips: **automate the repetitive work while keeping editors in full control**, from the first upload to the published post.

## Our Approach

We began with a complete product and engineering specification covering requirements, architecture, data model, AI pipeline, publishing, security, operations and testing. Three principles shaped XeniClips:

1. **AI assists, humans decide.** AI ranks moments, drafts titles and captions and plans edits, but every clip is reviewable and editable, and nothing goes public without approval.
2. **Every step is traceable.** Each clip links back to the exact timestamps in its source video, and every job records its status, errors and cost.
3. **Built for real-world media.** Large files, mixed sources and failed imports are handled gracefully: one bad source never blocks the rest.

## The Solution

### Projects and Smart Presets

- Organise work into **projects** that can be renamed, archived and searched.
- Choose a **generation preset** (Podcast, Interview, Educational, Product Demo or General) to tune how AI picks moments.
- **Project templates** and team collaboration workflows for repeatable content series.

### Mixed-Source Ingestion

- Add **multiple sources in one batch**: upload local files, paste authorised URLs, or both at once.
- **Large-file uploads** go directly to secure cloud storage in chunks.
- Import from **authorised video URLs, cloud storage and supported video platforms** through official connectors.
- **Cloud drive connectors** for Google Drive, Dropbox and OneDrive.
- A live **source queue** shows each import's status, with duplicate removal and one-click retry. Successful sources keep processing even if another fails.

### AI Transcription and Speaker Detection

- **Accurate, timestamped transcription** in multiple languages.
- **Speaker detection**, with labels editors can correct.
- **Custom glossaries** for brand names, product terms and industry jargon.

### AI Clip Discovery

- XeniClips analyses every source and suggests **5 to 10 ranked clip candidates** per video by default (configurable).
- Each candidate is scored on **opening hook strength, self-contained meaning, information density, audio quality and ending quality**, with a clear score breakdown and rationale.
- **Scene detection and keyframe analysis** ensure clips start and end at natural cut points.
- **Duplicate moments are filtered out**, so the clip set stays varied.
- **Learning from your edits**: the ranking model improves based on which clips the team keeps, edits and publishes.

### AI Edit Plans

- For each clip, AI drafts a structured **edit plan**: title, hook, caption emphasis, B-roll suggestions and output settings.
- **Smart reframing** keeps speakers centred in vertical 9:16 video, with **multi-person face tracking** for interviews and panels.

### Review and Editing Studio

- Review ranked candidates side by side with the transcript.
- **Adjust clip boundaries, titles, captions and speaker labels** in seconds.
- Choose **caption styles**, logo templates and audio settings.
- A **multi-track timeline editor** for detailed edits.
- **Rerender only what changed**: fixing a caption never means re-transcribing the whole video.

### B-Roll and Stock Footage

- Search **licensed stock footage** from inside the editor, preview it and insert it.
- **Licence and attribution tracking**: every stock asset's source and licence is saved automatically.
- Access to **multiple premium stock libraries** with rights management.

### AI Voiceover and Dubbing

- Add **AI narration** for intros, explanations or translations.
- **Custom voice profiles** and a pronunciation dictionary for brand and product names.
- **AI dubbing** to translate Shorts into other languages for new audiences.

### Professional Rendering

- Broadcast-quality **1080 × 1920 vertical MP4** output (H.264 and AAC), at 30 fps by default.
- **Burned-in captions**, overlays, logo templates and a full audio mix.
- **Automatic quality validation**: no clip is marked ready until it passes playback and format checks.
- **GPU-accelerated encoding** and a growing library of templates.

### Multi-Platform Publishing

- Publish to **YouTube Shorts, Instagram Reels, Facebook Reels and TikTok** through their official APIs.
- Connect **multiple accounts** on each platform.
- **Customise titles, descriptions, hashtags and settings** for each platform and account.
- **Publish now or schedule** for later, in any timezone.
- A **content calendar** to plan posts across every channel.
- **Independent status for every post**: draft, awaiting approval, scheduled, uploading, processing, published or failed, with clear next steps when something needs attention.

### Approval Workflow

- **Human approval is required** before anything goes public.
- Every publication is re-checked before it runs, covering approval, account access, platform capability and media, so nothing posts by surprise.

### Analytics and Optimisation

- **Performance analytics** for every published Short across all platforms.
- **A/B testing** of titles, hooks and thumbnails.
- **Automatic optimisation** that recommends the best posting times and the clip styles that perform best.

### Team Roles

- **Administrator**: users, integrations, platform credentials, defaults, retention and budgets.
- **Producer / Editor**: projects, sources, clip review, editing, rendering and scheduling.
- **Reviewer / Publisher**: approving and publishing to authorised accounts.
- **Read-only viewer**: previews and publishing status only.

### Security and Privacy

- **Media is private by default**, with download links that expire.
- **Social account tokens never reach the browser** and are stored securely on the server.
- **Safe URL imports**: private networks, internal services and unsafe redirects are blocked, and every file is verified as real media before processing.
- A full **audit trail** of every import, edit, approval and post.
- **Configurable data retention** and budget controls for AI usage.

## Engineering Highlights

**A 12-stage AI pipeline.** Preprocessing, transcription, speaker detection, scene detection, candidate generation, AI scoring, de-duplication, edit planning, visual enrichment, narration, rendering and validation. Each stage is saved as it completes, so a failure resumes from where it stopped instead of starting over.

**Specialised worker fleets.** Separate queues for orchestration, transcription, analysis, rendering, publishing and maintenance, so heavy video encoding never slows down uploads or publishing.

**Schema-constrained AI.** Edit plans are produced as validated structured data, not free text, so AI output is always usable and predictable.

**Local speech recognition.** Transcription runs on our own infrastructure with faster-whisper, keeping costs low and media private.

**Swappable providers.** AI models, voices, stock libraries and social platforms sit behind adapters, so any provider can be replaced without rewriting the product.

**Reliable scheduling.** Scheduled posts are stored in the database as the source of truth, with per-platform rate limits and automatic retries for temporary failures.

**Full cost visibility.** Every job records its processing and AI cost, so the team always knows what each Short costs to produce.

## Technology Stack

Area Technology

Frontend React, TypeScript

Backend and API Python, Django, Django REST Framework

Background Processing Celery, Redis (dedicated queues per workload)

Database PostgreSQL

Video Processing FFmpeg, FFprobe, PySceneDetect

Speech-to-Text faster-whisper, speaker diarization (pyannote.audio)

AI Large language models for clip ranking, hooks and edit plans

Voiceover AI text-to-speech (ElevenLabs)

Stock Media Pexels and premium stock libraries

Social Platforms YouTube Data API, Instagram Graph API, Meta Reels API, TikTok Content Posting API

Storage S3-compatible object storage with signed URLs

Infrastructure Docker Compose, Nginx

Design Custom "Dark Performance" design system, built for creators

## The Outcome

- **From hours to minutes:** one long video becomes a set of ranked, ready-to-edit Shorts automatically.
- **Consistent, on-brand output:** vertical clips with styled captions, logos, B-roll and voiceover.
- **One upload, every platform:** publish or schedule to YouTube, Instagram, Facebook and TikTok from one place.
- **Editors stay in control:** every clip is reviewable, editable and approved before it goes live.
- **Nothing gets lost:** independent status tracking for every post, with clear explanations when something fails.
- **Smarter over time:** analytics and learning from editor choices improve every new batch of clips.
- **Safe and accountable:** private media, protected account tokens, licensed stock and a complete audit trail.

## Why It Matters

XeniClips shows what Code Xenix does best: combining AI, heavy media processing and complex third-party integrations into a product that is powerful and easy to trust. We didn't build an AI that posts on its own; we built an AI that makes a content team many times more productive, while keeping people in charge of what goes out under their name.

## Have a project like this in mind?

Let's build something great together. Reach out to our experts today.

---

Source: https://codexenix.com/case-studies/xeniclips/
