MicrocosmWorks创新与构建数字宇宙
关于我们联系我们
MicrocosmWorks创新与构建数字宇宙

提供重要的IT解决方案。我们热衷于技术、安全,并通过可靠、创新的IT基础设施帮助企业成长。

[email protected]
+91 7011868196
New Delhi, India

AI增长中心

AI中心初创创新企业加速器

解决方案

所有解决方案健康与健身应用AI视频平台AI代理开发

资源

见解行业指南用例蓝图架构模式案例研究

公司

关于我们联系我们我们的工作

服务

数字咨询云基础设施SaaS 开发AI 开发视频技术
ERP 开发Zoho 定制Odoo 开发Salesforce 集成定制 CRM 开发
QuickBooks 集成物联网解决方案区块链开发
网络安全咨询IT 支持 - L3

© 2026 MicrocosmWorks. 保留所有权利。

隐私政策服务条款
返回项目列表
SaaS Development
Live
Web

Adstacker: AI 视频广告生成器

一个由 AI 驱动的 SaaS,可以将单个视频上传转换为数百种品牌广告变体——通过一个 Next.js Web 应用、一个管理仪表盘、一个 NestJS API、一个 Remotion 渲染服务和一个 BullMQ 生成工作器协同工作。实现自动化组合生成、GPU 加速渲染、多风格字幕、实时 WebSocket 进度以及由 Stripe 提供支持的订阅计费。

查看更多项目
17+
Technologies
11+
Key Features
Web
Platform
Adstacker: AI 视频广告生成器

核心功能

AI 组合引擎,生成所有 Hook x Body x CTA 组合6 种动画类型——淡入、上下滑动、缩放、打字机、弹跳6 种字幕风格——Hormozi、MrBeast、GaryVee、Abdal、TikTok Viral、Clean Corporate所有 4 种宽高比——9:16、16:9、1:1、4:5GPU 加速的 Remotion + FFmpeg 渲染带有并发控制的 BullMQ 异步作业队列

开发亮点

采用 Mongoose 和模块化 CRUD 的完整 NestJS 后端架构带有笛卡尔乘积生成的组合引擎具有 6 种动画类型的 Remotion 视频合成引擎带有并发控制的 BullMQ 生成管道实时 WebSocket 进度跟踪带有 webhook 驱动积分的 Stripe 订阅生命周期用于管理仪表盘的 MongoDB 聚合分析

技术栈

Next.jsReactTypeScriptTailwind CSSshadcn/uiNestJS 11MongooseMongoDBRedisBullMQRemotionFFmpegAWS S3WebSocketStripe

我们的贡献

后端架构

从零开始架构了完整的 NestJS 后端——包括 Mongoose schema、模块化 CRUD API、DTO 验证,以及将前端扁平数组转换为后端嵌入式文档的映射层。

组合引擎

构建了组合计算器引擎,它枚举所有有效的 Hook x Body x CTA x Subtitle 组合,并将每个组合作为一个独立的 BullMQ 作业入队。

视频渲染管道

开发了具有 6 种动画类型的 Remotion 组合(VideoComposition, HookOverlay, BodyOverlay, CtaOverlay),并在服务器启动时进行捆绑,以实现快速作业执行。

生成工作器

实现了 BullMQ 生成处理器:S3 下载、Remotion renderMedia()、FFmpeg 编码优化、缩略图生成、S3 上传和数据库更新,并包含错误处理和重试机制。

字幕系统

在 SubtitleRenderer.tsx 中构建了 6 种字幕渲染风格,涵盖了所有 4 种宽高比下的 Hormozi、Abdal、MrBeast、GaryVee、TikTok Viral 和 Clean Corporate 风格。

实时进度

集成了 WebSocket 网关,实现实时生成进度,并带有 SSE 备用方案,无需轮询即可在前端实现实时作业状态更新。

计费集成

实现了完整的 Stripe 订阅生命周期——包括结账会话、账单门户、带有原始主体和签名验证的 webhook 处理器、订阅时的信用分配以及每月信用重置 cron。

分享与下载系统

构建了分享与下载系统——基于 nanoid 的可分享令牌、无需身份验证的公共 S3 签名 URL 访问、链接撤销以及 Content-Disposition 下载头。

管理模块

开发了管理模块,利用 MongoDB 聚合管道实现仪表盘分析、时间序列图表数据、用户管理和订阅管理。

全面集成

主导了用户应用和管理面板的前后端全面集成——用实时 API 调用替换了所有模拟存储,连接了 WebSocket 进度,并端到端地验证了完整的用户旅程。

成果

广告变体: 单次上传生成数百种渲染: GPU 加速的 Remotion + FFmpeg样式覆盖: 6 种字幕样式 x 6 种动画 x 4 种宽高比架构: 五组件协同平台

项目特色

通过自动化组合生成、GPU 加速渲染和多风格字幕支持,将单个视频上传转换为数百种品牌广告变体——专为效果营销人员打造。

图库

Adstacker: AI 视频广告生成器 - Image 1
Adstacker: AI 视频广告生成器 - Image 2
Adstacker: AI 视频广告生成器 - Image 3
Adstacker: AI 视频广告生成器 - Image 4
Adstacker: AI 视频广告生成器 - Image 5
Adstacker: AI 视频广告生成器 - Image 6
Adstacker: AI 视频广告生成器 - Image 7
Adstacker: AI 视频广告生成器 - Image 8
Adstacker: AI 视频广告生成器 - Image 9
Adstacker: AI 视频广告生成器 - Image 10

有类似的项目想法?

让我们讨论如何以同样的专业水平和专注度来实现您的愿景。

联系我们查看更多项目
具有 SSE 备用方案的实时 WebSocket 进度
预签名 S3 直传云端上传
带有 webhook 驱动的积分的 Stripe 订阅计费
可撤销的公共视频分享链接
带有 MongoDB 聚合分析的管理仪表盘
Zod
Swagger
Adstacker: AI 视频广告生成器 - Image 11
Adstacker: AI 视频广告生成器 - Image 12
Adstacker: AI 视频广告生成器 - Image 13
Adstacker: AI 视频广告生成器 - Image 14
Adstacker: AI 视频广告生成器 - Image 15
Adstacker: AI 视频广告生成器 - Image 16

常见问题

MicrocosmWorks built the combination calculator engine that computes the Cartesian product of all Hook x Body x CTA x Subtitle permutations. Each input element (hooks, body segments, CTAs) is defined by the user, and the engine enumerates every valid combination, then enqueues each as an independent BullMQ job. This approach means a video with 5 hooks, 3 bodies, 4 CTAs, and 6 subtitle styles generates 360 unique ad variations automatically.

MicrocosmWorks implemented 6 subtitle rendering styles in Adstacker: Hormozi, MrBeast, GaryVee, Abdal, TikTok Viral, and Clean Corporate. Each style has distinct font, color, animation, and positioning characteristics matching the popular creator formats that performance marketers recognize. The SubtitleRenderer handles all 4 aspect ratios (9:16, 16:9, 1:1, 4:5) and 6 animation types (fade, slide-up, slide-down, scale, typewriter, bounce) within Remotion compositions.

MicrocosmWorks built the rendering pipeline using Remotion compositions bundled at server startup for fast job execution, combined with FFmpeg for encoding optimization. BullMQ manages the async job queue with configurable concurrency control, so multiple variations render in parallel across available GPU resources. Each job handles the full pipeline: S3 download, Remotion renderMedia, FFmpeg encoding, thumbnail generation, S3 upload, and database update, with error handling and automatic retries.

MicrocosmWorks integrated a WebSocket gateway that pushes real-time generation progress for every queued variation to the frontend, with SSE (Server-Sent Events) fallback for environments where WebSocket connections are unavailable. Users see live status updates for each variation including queued, processing, rendering percentage, and completed states. This eliminates the need for polling and provides immediate feedback on the generation pipeline status.

MicrocosmWorks implemented Stripe subscription billing with webhook-driven credit allocation. When a user subscribes or renews, the webhook handler allocates generation credits based on their plan tier. Each video variation generation consumes one credit, and a monthly cron job resets credit balances. The admin dashboard provides MongoDB aggregation analytics showing credit usage patterns, subscription revenue, and per-user consumption to inform pricing decisions.