New

Odisey — our 30+ module microservice library is now live.

Explore Odisey
Back to Blog
AI & InnovationMarch 1, 2025

AI-Powered Video Production: Building Project S Studio

From script to publish in minutes. How we built an AI video production pipeline that handles thousands of concurrent renders.

Salesvex Product

Product Team

5 min read

A
Listen to Article

The promise of AI video production — create professional content in minutes without a production team — is straightforward. The engineering reality of delivering that promise at scale is not.

When we built Project S Studio, we started with a clear product goal: a creator with no video production experience should be able to produce a broadcast-quality 3-minute video from a script in under 10 minutes. That goal shaped every architectural decision we made.

The Pipeline Components

An AI video production pipeline has three distinct processing stages, each with different computational requirements and failure modes.

Stage 1 — Content Intelligence The user provides a script, topic, or URL. The content intelligence layer generates a structured production plan: which scenes to generate, what visuals accompany each section, pacing, tone, and b-roll requirements. This runs on our LLM infrastructure (we use Claude via Anthropic's API) and completes in 8-15 seconds for a 3-minute video script.

Stage 2 — Asset Generation The production plan triggers parallel asset generation: voice synthesis, background music selection, AI image/video clip generation, and text overlay rendering. This is the compute-heavy stage. A 3-minute video generates between 40 and 120 discrete assets depending on complexity.

Stage 3 — Assembly and Export Assets are assembled into a timeline, transitions are applied, and the final video is rendered and encoded for multiple output formats (1080p, vertical 9:16 for social, compressed web preview).

The total wall-clock time for this pipeline, end-to-end, averages 6.5 minutes for a standard 3-minute video. Our target was 10 minutes. We hit it, then worked to beat it.

The Parallel Processing Architecture

The naive implementation of this pipeline is sequential: generate assets one by one, then assemble. This is slow and fragile — if any single asset fails, the entire job fails.

We rebuilt around a DAG (directed acyclic graph) execution model where every asset generation task is an independent node with declared dependencies. Tasks with no dependencies run immediately and in parallel. Tasks that depend on earlier outputs wait only for those specific outputs, not for all prior tasks.

In practice: voice synthesis, background music selection, and the first batch of visual assets all start simultaneously after Stage 1 completes. A 3-minute video that requires 80 assets might have 60 of them generating concurrently within the first 30 seconds of Stage 2.

This parallel execution model reduced our median pipeline time by 62% compared to sequential processing.

Handling Concurrent Renders at Scale

Project S Studio processes thousands of concurrent video render jobs. The infrastructure challenge is that video rendering is GPU-intensive — you can't simply add more CPU cores to speed it up.

We run a heterogeneous GPU cluster across AWS (g4dn and g5 instances), with dynamic allocation based on job queue depth. A lightweight job (short video, few assets) runs on a single g4dn.xlarge. A heavy job (long video, complex visuals, multiple format exports) gets allocated to a g5.12xlarge.

The GPU allocation decisions happen at job intake, not at render time. When a user submits a production job, the system estimates resource requirements from the production plan and pre-allocates the appropriate instance class. This eliminates the latency of instance type switching mid-job.

Peak capacity currently: 3,400 concurrent render jobs. Queue depth exceeding this triggers automatic cluster scaling, which adds capacity in approximately 4 minutes.

The Quality Control Layer

AI-generated video has a consistent failure mode: it's technically functional but aesthetically wrong. Incorrect image-to-script alignment, audio sync drift, visual style inconsistency across scenes. These failures aren't errors — they're quality degradations that slip through standard error checking.

We built a quality control layer that runs automated checks before the user sees the output:

  • Audio-visual sync check: Verifies speech onset matches scene transitions within 200ms tolerance
  • Visual coherence scoring: Flags scenes where the generated visual doesn't match the script segment topic (using a lightweight CLIP model)
  • Style consistency check: Detects significant color grading or visual style shifts between consecutive scenes

QC failures don't fail the job — they trigger regeneration of the specific offending assets, not the entire video. The failed asset is regenerated with modified parameters, and the QC check reruns for that segment only.

This approach catches approximately 12% of assets on first generation, regenerating them before the user ever sees the output. The user's observable quality improvement is significant; the computational cost is a 15% average overhead on asset generation — worth the trade-off.

What's Next

The production pipeline we've built is capable. But the bigger opportunity is intelligence: a system that learns from creator feedback, improves its production plans over time, and eventually adapts its style automatically to match each creator's unique voice and aesthetic.

We're currently building feedback loops into every user interaction in Project S Studio — every edit a creator makes after generation is a signal. We're three months into training a production quality model on this feedback data. Early internal results suggest we can reduce manual editing time by an additional 40% for creators who use the platform consistently.

The goal: make the 10-minute video in 3 minutes. We're not there yet.

Current Metrics

  • 6.5 minutes average end-to-end production time (3-minute video)
  • 3,400 concurrent render capacity
  • 94.2% first-render acceptance rate (no QC regeneration needed)
  • 180,000 videos produced per month
AIVideoProduct

Try Salesvex

Explore the Salesvex enterprise software platform for free.