explaingit

anil-matcha/open-ai-ugc

Analysis updated 2026-07-18 · repo last pushed 2026-07-16

188JavaScriptAudience · pm founderComplexity · 3/5ActiveSetup · moderate

TLDR

A free, self-hostable web app that lets you create AI-generated video ads using AI actors, your own scripts, and uploaded images. It connects to external AI video services and includes built-in billing so agencies can charge clients.

Mindmap

mindmap
  root((repo))
    What it does
      AI actor video ads
      Script to video
      Vertical video output
    Tech stack
      Next.js
      JavaScript
      Stripe billing
      Database
    Use cases
      Freelancer ad creation
      Agency video service
      High-volume ad output
    Audience
      Marketers
      Content creators
      Agencies
    Key features
      Multiple AI models
      Bring your own images
      Self-hostable
      Credits billing system

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Create vertical video ads for TikTok or Instagram Reels using AI actors and your own script

USE CASE 2

Upload a product shot and actor face to generate a polished, customized ad in under a minute

USE CASE 3

Host the tool on your own website with your branding and charge clients for video generation using the built-in credits system

USE CASE 4

Switch between different AI video models for each video to compare results and find the best output

What is it built with?

Next.jsJavaScriptStripe

How does it compare?

anil-matcha/open-ai-ugcfeross/queue-microtaskgaearon/react-transform-catch-errors
Stars188189183
LanguageJavaScriptJavaScriptJavaScript
Last pushed2026-07-162023-11-302016-04-18
MaintenanceActiveDormantDormant
Setup difficultymoderateeasyeasy
Complexity3/51/52/5
Audiencepm founderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a Muapi.ai API key for AI video generation and a Stripe account for the billing and credits system.

The explanation does not specify a license, so terms of use are unclear.

In plain English

Open AI UGC is a free, open-source tool for creating user-generated content (UGC) video ads using AI actors. It serves as a budget-friendly alternative to paid platforms like Arcads and MakeUGC, which can cost hundreds of dollars a month. Instead of paying a steep subscription, you can use this project to paste a script, optionally upload a reference image of a face or product, pick an AI video model, and generate a vertical video ad ready for TikTok, Instagram Reels, or YouTube Shorts in under a minute. Under the hood, the project acts as a front-end studio that connects to a service called Muapi.ai, which handles the actual AI video generation. When you submit a request, the studio sends your script and images to one of several available AI models, like Google's Veo 3.1 or ByteDance's Seedance 2. Because rendering a video can take up to a couple of minutes, the system works in the background and automatically updates your dashboard when the video is finished processing and ready to view. This tool is built for marketers, content creators, and agencies who want to produce high-volume video ads without paying per-seat licensing fees or dealing with watermarks. For example, a freelancer could upload a specific product shot and an actor's face, write a script mentioning both, and generate a polished ad. A notable feature is that the project includes built-in Stripe billing and a credits system, meaning an agency could host the tool on their own website, add their own branding, and charge their clients for generating these videos. The project is designed to be self-hosted using modern web technologies like Next.js, and it integrates with a standard database to save user history. What stands out is its flexibility: you are not locked into a single AI model or a closed library of actors. You can bring your own images, switch between different AI models for each video, and customize the pricing or interface to fit your own business needs.

Copy-paste prompts

Prompt 1
I want to self-host Open AI UGC to let my agency clients generate AI video ads. Walk me through setting up the Next.js project, connecting a database, and configuring the Stripe credits billing system.
Prompt 2
Help me integrate Muapi.ai into a Next.js app so users can submit a script, upload a reference image, pick an AI video model like Veo or Seedance, and get back a vertical video ad.
Prompt 3
I am building a UGC video ad platform. Show me how to set up a background job that polls Muapi.ai for video rendering status and updates a dashboard when the video is ready.
Prompt 4
Explain how to add custom pricing tiers and a credits system to an existing Next.js app so I can charge users per AI-generated video using Stripe.

Frequently asked questions

What is open-ai-ugc?

A free, self-hostable web app that lets you create AI-generated video ads using AI actors, your own scripts, and uploaded images. It connects to external AI video services and includes built-in billing so agencies can charge clients.

What language is open-ai-ugc written in?

Mainly JavaScript. The stack also includes Next.js, JavaScript, Stripe.

Is open-ai-ugc actively maintained?

Active — commit in last 30 days (last push 2026-07-16).

What license does open-ai-ugc use?

The explanation does not specify a license, so terms of use are unclear.

How hard is open-ai-ugc to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is open-ai-ugc for?

Mainly pm founder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.