1つの動画アップロードを数百のブランド広告バリエーションに変換するAI搭載SaaS。Next.js Web App、Admin Dashboard、NestJS API、Remotionレンダーサービス、およびBullMQ生成ワーカー間で連携。自動組み合わせ生成、GPUアクセラレーションによるレンダリング、複数スタイルの字幕、リアルタイムのWebSocket進捗表示、Stripeによるサブスクリプション課金を実現します。

Mongooseスキーマ、モジュラーCRUD API、DTOバリデーション、およびフロントエンドのフラットな配列をバックエンドの埋め込みドキュメントに変換するマッピングレイヤーを含む、完全なNestJSバックエンドをゼロから設計しました。
有効なHook x Body x CTA x Subtitleのすべての組み合わせを列挙し、それぞれを独立したBullMQジョブとしてキューに入れる組み合わせ計算エンジンを構築しました。
6種類のアニメーションタイプを持つRemotionコンポジション(VideoComposition, HookOverlay, BodyOverlay, CtaOverlay)を開発し、ジョブの高速実行のためにサーバー起動時にバンドルしました。
エラー処理とリトライを含むBullMQ生成プロセッサを実装しました:S3ダウンロード、Remotion renderMedia()、FFmpegエンコーディング最適化、サムネイル生成、S3アップロード、およびDB更新。
Hormozi、Abdal、MrBeast、GaryVee、TikTok Viral、Clean Corporateの6種類の字幕レンダリングスタイルをSubtitleRenderer.tsxで構築し、全4アスペクト比に対応しました。
リアルタイムの生成進捗表示のためにWebSocketゲートウェイをSSEフォールバックとともに統合し、ポーリングなしでフロントエンドでのライブジョブステータス更新を可能にしました。
Stripeのサブスクリプションライフサイクル全体を実装しました — チェックアウトセッション、請求ポータル、生のボディと署名検証を備えたWebhookハンドラー、サブスクリプション時のクレジット割り当て、および毎月のクレジットリセットCronジョブ。
nanoidベースの共有可能トークン、認証なしの公開S3署名付きURLアクセス、リンクの取り消し、Content-Dispositionダウンロードヘッダーを含む共有およびダウンロードシステムを構築しました。
ダッシュボード分析、時系列チャートデータ、ユーザー管理、サブスクリプション管理のためのMongoDBアグリゲーションパイプラインを備えた管理モジュールを開発しました。
ユーザーアプリと管理パネル全体にわたる完全なフロントエンド・バックエンド統合を主導しました — すべてのモックストアをライブAPI呼び出しに置き換え、WebSocketによる進捗表示を接続し、完全なユーザー体験をエンドツーエンドで検証しました。
1つの動画アップロードから、自動組み合わせ生成、GPUアクセラレーションによるレンダリング、複数スタイルの字幕サポートを通じて、数百のブランド広告バリエーションに変換 — パフォーマンスマーケター向けに特別に構築されています。






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.