How optim-ai/optimx---beta works
SkalX AI is a marketing automation platform combining AI-assisted creative production, brand research, ad-platform connections, analytics, and credit-based billing. A user-facing workflow begins in the creative studio, where users configure a brand and campaign, generate poster or video assets, and manage campaign work; the README also describes cross-platform publishing and analytics. The sampled poster service shows strategy, concept selection, and generation calls. Other product areas are retained based on the README and file tree; unsampled implementation details and links are omitted where evidence is unavailable.
Main entry points: engine-posters.ts Poster orchestration · VideoSessionPageClient.tsx Creative studio · auth.ts Meta connection · route.ts Campaign generation API
Components 23
Creative production
- Creative studio
app/web/src/components/creative-studio/VideoSessionPageClient.tsx - Poster workspace
app/web/src/components/creative-studio/PosterCreativeWorkspace.tsx - UGC setup
app/web/src/components/creative-studio/UgcSetup.tsx - Video workspace
app/web/src/components/creative-studio/VideoStudioWorkspace.tsx - Poster client
app/web/src/components/creative-studio/poster-engine-client.ts - Poster generation
lib/creative-studio/poster-generation/index.ts - Poster orchestration
lib/content-studio/engine-posters.ts - Campaign generation API
app/api/generate-campaign/route.ts - Commercial production
lib/creative-studio/commercial-production/pipeline.ts - Caption generation
app/api/generateCaption/route.ts - Prompt tools
app/api/enhancePrompt/route.ts
Marketing intelligence
- Brand audit
lib/audit/pipeline.ts - Brand kit
lib/brand-kit/server.ts - Meta analytics
lib/meta-ig/service.ts
Ad platforms
- Meta connection
integrations/meta/auth.ts - Instagram tools
integrations/meta/instagram.ts - Facebook tools
integrations/meta/facebook.ts - Google Ads client
googleAdsClient.ts
Accounts and billing
- Subscriptions and credits
database/models/Subscriptions.dao.ts - Payment webhook
lib/razorpay/webhook.service.ts
Data and storage
- Application database
database/schema.ts - Supabase storage
lib/ad-studio/storage.ts
Other components
- Marketer
Connections 22
- Marketer → Creative studio: creates campaigns
- Creative studio → Poster client: requests posters
app/web/src/components/creative-studio/poster-engine-client.ts - Poster client → Poster orchestration: calls poster APIs
- Poster orchestration → Brand kit: loads brand
lib/content-studio/engine-posters.ts - Poster orchestration → Poster generation: runs strategy and generation
lib/content-studio/engine-posters.ts - Marketer → Campaign generation API: requests campaign
- Campaign generation API → Subscriptions and credits: checks credits
app/api/generate-campaign/route.ts - Creative studio → Campaign generation API: starts generation
- UGC setup → Creative studio: configures UGC
app/web/src/components/creative-studio/VideoSessionPageClient.tsx - Video workspace → Commercial production: produces video
- Marketer → Brand audit: requests audit
- Marketer → Caption generation: requests captions
- Marketer → Prompt tools: refines prompts
- Marketer → Meta connection: connects accounts
- Meta connection → Instagram tools: authorizes access
- Meta connection → Facebook tools: authorizes access
- Marketer → Google Ads client: manages ads
- Meta analytics → Marketer: presents analytics
- Payment webhook → Subscriptions and credits: updates entitlements
lib/razorpay/webhook.service.ts - Poster orchestration → Supabase storage: stores assets
- Brand kit → Application database: reads brand data
lib/brand-kit/server.ts - Payment webhook → Application database: persists payments
lib/razorpay/webhook.service.ts