Ana Sayfa / Kod ve Scriptler / TrendBreaker AI - AI UGC Script Studio SaaS

TrendBreaker AI - AI UGC Script Studio SaaS

Her ürünü, puanlanmış ve politika kontrollü 3 video satış metnine ve çekim kılavuzlarına dönüştürün. Tam SaaS: planlar, Stripe, yönetici, marka.

  • Yayın tarihi19 Ekim 2026
  • Nerede çalışırNode.js 22, Node.js 24
  • VeritabanıPostgreSQL 15, PostgreSQL 16
  • Paket içeriği.css, .html, .ts, .tsx, .json, .svg, .sql, .md
  • Son güncelleme2 Kasım 2026
  • Canlı demoVar
TrendBreaker AI - AI UGC Script Studio SaaS

Overview

TrendBreaker AI 2.0 is a self-hosted AI script studio for TikTok Shop sellers, affiliate creators, UGC agencies and small brands who sell with short product videos - and a ready-to-run SaaS you can sell to them on day one.

THE PROBLEM Sellers need a fresh video every day, and most AI tools hand them a generic paragraph: no hook built for the first 3 seconds, no idea what to film, and claims that get videos pulled ("cures acne", "only 3 left", "link in bio"). TrendBreaker writes scripts a creator can film right away, and checks them against TikTok Shop's selling rules before they post.

HOW IT WORKS 1. Brief it: type the product and its key facts, scan up to 4 product photos, or paste a product link. The AI fills the product fields and marks what it saw versus what it guessed; the creator corrects them. 2. Pick the niche, sales goal, on-camera style, length (15-90 s), language and market. 3. Get 3 different scripts: a 3-second hook, a retention body, one call to action, a full teleprompter script and a phone-only shot guide that covers the whole video. 4. Each script gets a Viral Score and a Policy Shield. Then: Viral Pack, teleprompter, save, film.

WHAT'S INSIDE (v2.0) - TikTok Brain: the writing knowledge as validated, sourced data - 70 hook formulas, beat maps for 15-90 s, 5 sales frameworks, 4 on-camera personas, 8 niche playbooks, 13 market rule packs. - Product scan: up to 4 photos of one product in one scan, plus a product-link reader (bot-protected stores are never bypassed; the form keeps what the link itself says). Price is never extracted, on purpose. - Viral Score: an AI judge scores hook, retention, clarity, CTA, searchability and policy safety, with a reason for each, and fact-checks product claims against the brief. A low score gets one automatic rewrite, kept only if it scores better. It is an AI quality estimate, not a prediction of views or sales. - Policy Shield: two safety layers built from a written TikTok policy spec - a prompt guard, and a code sanitiser that rewrites or removes medical claims, guarantees, fake reviews, off-platform redirects and invented prices, deadlines, stock levels and product specs, in all 8 languages. Every change is listed on the card with its rule and policy section. It lowers the risk; it cannot guarantee a video is approved. - 13 markets (TH, US, UK, ES, MX, BR, ID, DE, FR, MY, PH, SG, SA) and 8 languages for the whole interface and the scripts: Thai, English, Spanish, Portuguese, Indonesian, German, French, Arabic (right-to-left). - Viral Pack: one tap per script for 5 alternative hooks, on-screen text per shot, a caption, hashtags, search keywords, a sound direction and cover text. - Learn from a video: upload a reference video (up to 90 s); the app copies its structure - hook type, beats, cut rhythm, CTA timing - never its words, and catches copied lines. The video is deleted after analysis. - Teleprompter: full-screen auto-scroll with speed, font size and mirror mode, keyboard shortcuts. - Saved scripts + results: a synced library; creators log views, watch time, likes and orders per post, and "Your best hooks" ranks the hook types that work for them - new scripts lean on those.

BUSINESS IN A BOX - Plans and credits: Free / Pro / Agency (Agency = 5 seats sharing one credit pool), credit cost per action - all editable in the admin, no code. - Stripe: Checkout, Customer Portal and a signed webhook. One command creates the products, prices, portal and webhook. Without Stripe keys everyone is simply on Free. - Admin dashboard: users, usage per day and per AI engine, failures, estimated AI cost, gold examples, a validated editor for the Brain packs, plans and white-label. - White-label: app name, logo, colours, default language and market, support email - from the admin, no code. - Demo mode: a test-card banner, a daily cap per account, one-tap demo logins (creator + read-only admin that sees only demo data) and a nightly reset - so you can run your own public demo safely.

RUNS ON FREE AI TIERS Google Gemini and Groq free tiers power the whole app while you build and test, and the engines fail over automatically: Gemini -> Groq vision -> (optional OpenAI) -> Groq text -> curated demo scripts. Free tiers have per-minute and per-day limits and get busy at peak times; for paying customers, switch to paid Gemini and/or Groq keys - same settings, no code change.

OUR OWN TEST RESULTS The package includes a quality test (npm run eval) that runs the real pipeline. In our 10-brief test set (30 scripts, 1 Nov 2026) the AI judge averaged 82/100, and 0 policy violations were left after the safety checks. These are our own tests with our own AI judge, not a guarantee of views, sales or approval.

LIVE DEMO https://trendbreaker-ai.vercel... Click "Sign In", then "Demo creator" or "Demo admin (read-only)" - no sign-up. Payments on the demo are Stripe test mode (card 4242 4242 4242 4242). Demo data resets every night; each account has 10 generations a day.

WHAT YOU GET - Complete, un-minified Next.js 16 / TypeScript source code - Supabase SQL schema (tables, functions, row-level security), idempotent - re-run it after updates - Offline HTML documentation and a 40-page printable PDF manual: install, Supabase, Google sign-in, Stripe, Vercel / Railway / Docker, every environment variable, troubleshooting, FAQ - Dockerfile, .env.example (placeholders only), helper commands for the first admin, Stripe setup and demo accounts - The TikTok policy spec both safety layers are built from

TECH STACK Next.js 16 (App Router), React 19, TypeScript, Tailwind CSS 4, Vercel AI SDK 7, Zod 4, Supabase (Postgres, Auth, RLS), Stripe REST API, Google Gemini + Groq.

TRANSPARENCY - No licence keys, domain locks, obfus

Features

SCRIPT ENGINE - 3 different scripts per brief: 3-second hook, retention body, one CTA, full teleprompter script - Phone-only shot guide for every script, always covering the whole video - 15 / 20 / 30 / 60 / 90-second scripts; 8 niches x 5 sales goals x 4 on-camera styles - TikTok Brain: 70 hook formulas, beat maps, frameworks, personas, niche playbooks as validated data - Scripts about the situation and the problem when the brief has few product facts - never invented features

PRODUCT INPUT - Manual brief, up to 4 product photos per scan (drag & drop, paste, pick), or a product link - Scan marks seen vs guessed fields and its confidence; the creator corrects before generating - Price is never extracted; bot-protected stores are never bypassed

QUALITY & SAFETY - Viral Score: 6 scored dimensions with reasons (AI quality estimate) - Fact-check of product claims against the brief, one automatic rewrite for low scores - Policy Shield: prompt guard + code sanitiser, every change listed with its rule and policy section - Removes medical claims, guarantees, fake reviews, off-platform redirects, invented prices, deadlines, stock levels and specs - in all 8 languages - "Safe to post" / "Check before posting" badge and a before-you-post checklist - 13 market rule packs (TH, US, UK, ES, MX, BR, ID, DE, FR, MY, PH, SG, SA)

CREATOR TOOLS - Viral Pack: 5 hooks, on-screen text, caption, hashtags, keywords, sound direction, cover text - Learn from a video: copy a winning video's structure, never its words; video deleted after analysis - Teleprompter: auto-scroll, speed, font size, mirror mode, keyboard shortcuts - Saved scripts synced to the account; results tracking and "Your best hooks" - 8 languages for interface and scripts (including Thai and right-to-left Arabic); light and dark mode; works on phones

SAAS & BUSINESS - Free / Pro / Agency plans with credits per action; team seats on one credit pool - Stripe Checkout, Customer Portal and signed webhook; one-command Stripe setup; test mode first - Admin dashboard: usage, engines, failures, estimated AI cost, users, gold examples, Brain editor - White-label from the admin: name, logo, colours, default language and market, support email - Demo mode: test-card banner, daily cap, one-tap demo logins, read-only demo admin, nightly reset - Rate limits for guests and accounts on every AI action

AI ENGINES - Google Gemini + Groq free tiers, automatic failover, curated demo scripts if every engine is down - Optional paid OpenAI engine; switch to paid Gemini/Groq keys without code changes - Every generation answers within the 60-second server limit

Requirements

- Node.js 22.18 or newer, or Node.js 24 (recommended; Vercel builds on 24). Older versions stop with a version error.

- npm 10+ (the bundled lock file is for npm: use npm ci) - A Google Gemini API key (aistudio.google.com) - the free tier works for building and testing - A Groq API key (console.groq.com) - optional but recommended: the Viral Score, Viral Pack and backup engines run on it; free tier available - A Supabase project (free plan works) - needed for accounts, saved scripts, plans, credits and the admin. Without it the app runs in guest mode only. - A Stripe account - optional, only to sell plans; test mode works with no real charges - Hosting: Vercel, Railway, Docker on any VPS, or any Node.js host that runs npm run build / npm start. Note: Vercel's free Hobby plan is for non-commercial use - to run a paid SaaS, use Vercel Pro or another host. - Free AI tiers are for building, testing and a small audience; real customer traffic needs paid Gemini and/or Groq keys.